<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-CU3nIfL5.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">function aM(e,r){for(var t=0;t&lt;r.length;t++){const n=r[t];if(typeof n!=&quot;string&quot;&amp;&amp;!Array.isArray(n)){for(const o in n)if(o!==&quot;default&quot;&amp;&amp;!(o in e)){const s=Object.getOwnPropertyDescriptor(n,o);s&amp;&amp;Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=&gt;n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}))}(function(){const r=document.createElement(&quot;link&quot;).relList;if(r&amp;&amp;r.supports&amp;&amp;r.supports(&quot;modulepreload&quot;))return;for(const o of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))n(o);new MutationObserver(o=&gt;{for(const s of o)if(s.type===&quot;childList&quot;)for(const a of s.addedNodes)a.tagName===&quot;LINK&quot;&amp;&amp;a.rel===&quot;modulepreload&quot;&amp;&amp;n(a)}).observe(document,{childList:!0,subtree:!0});function t(o){const s={};return o.integrity&amp;&amp;(s.integrity=o.integrity),o.referrerPolicy&amp;&amp;(s.referrerPolicy=o.referrerPolicy),o.crossOrigin===&quot;use-credentials&quot;?s.credentials=&quot;include&quot;:o.crossOrigin===&quot;anonymous&quot;?s.credentials=&quot;omit&quot;:s.credentials=&quot;same-origin&quot;,s}function n(o){if(o.ep)return;o.ep=!0;const s=t(o);fetch(o.href,s)}})();var Gt=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 ts(e){return e&amp;&amp;e.__esModule&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;default&quot;)?e.default:e}var m0={exports:{}},Nc={},p0={exports:{}},Ht={};var Fw;function oM(){if(Fw)return Ht;Fw=1;var e=Symbol.for(&quot;react.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),o=Symbol.for(&quot;react.profiler&quot;),s=Symbol.for(&quot;react.provider&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),l=Symbol.for(&quot;react.suspense&quot;),i=Symbol.for(&quot;react.memo&quot;),c=Symbol.for(&quot;react.lazy&quot;),h=Symbol.iterator;function f(R){return R===null||typeof R!=&quot;object&quot;?null:(R=h&amp;&amp;R[h]||R[&quot;@@iterator&quot;],typeof R==&quot;function&quot;?R:null)}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function p(R,B,Y){this.props=R,this.context=B,this.refs=y,this.updater=Y||d}p.prototype.isReactComponent={},p.prototype.setState=function(R,B){if(typeof R!=&quot;object&quot;&amp;&amp;typeof R!=&quot;function&quot;&amp;&amp;R!=null)throw Error(&quot;setState(...): takes an object of state variables to update or a function which returns an object of state variables.&quot;);this.updater.enqueueSetState(this,R,B,&quot;setState&quot;)},p.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,&quot;forceUpdate&quot;)};function b(){}b.prototype=p.prototype;function x(R,B,Y){this.props=R,this.context=B,this.refs=y,this.updater=Y||d}var _=x.prototype=new b;_.constructor=x,v(_,p.prototype),_.isPureReactComponent=!0;var E=Array.isArray,M=Object.prototype.hasOwnProperty,D={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function L(R,B,Y){var Z,ne={},U=null,ee=null;if(B!=null)for(Z in B.ref!==void 0&amp;&amp;(ee=B.ref),B.key!==void 0&amp;&amp;(U=&quot;&quot;+B.key),B)M.call(B,Z)&amp;&amp;!W.hasOwnProperty(Z)&amp;&amp;(ne[Z]=B[Z]);var F=arguments.length-2;if(F===1)ne.children=Y;else if(1&lt;F){for(var P=Array(F),X=0;X&lt;F;X++)P[X]=arguments[X+2];ne.children=P}if(R&amp;&amp;R.defaultProps)for(Z in F=R.defaultProps,F)ne[Z]===void 0&amp;&amp;(ne[Z]=F[Z]);return{$$typeof:e,type:R,key:U,ref:ee,props:ne,_owner:D.current}}function V(R,B){return{$$typeof:e,type:R.type,key:B,ref:R.ref,props:R.props,_owner:R._owner}}function H(R){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.$$typeof===e}function K(R){var B={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+R.replace(/[=:]/g,function(Y){return B[Y]})}var z=/\/+/g;function O(R,B){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.key!=null?K(&quot;&quot;+R.key):B.toString(36)}function I(R,B,Y,Z,ne){var U=typeof R;(U===&quot;undefined&quot;||U===&quot;boolean&quot;)&amp;&amp;(R=null);var ee=!1;if(R===null)ee=!0;else switch(U){case&quot;string&quot;:case&quot;number&quot;:ee=!0;break;case&quot;object&quot;:switch(R.$$typeof){case e:case r:ee=!0}}if(ee)return ee=R,ne=ne(ee),R=Z===&quot;&quot;?&quot;.&quot;+O(ee,0):Z,E(ne)?(Y=&quot;&quot;,R!=null&amp;&amp;(Y=R.replace(z,&quot;$&amp;/&quot;)+&quot;/&quot;),I(ne,B,Y,&quot;&quot;,function(X){return X})):ne!=null&amp;&amp;(H(ne)&amp;&amp;(ne=V(ne,Y+(!ne.key||ee&amp;&amp;ee.key===ne.key?&quot;&quot;:(&quot;&quot;+ne.key).replace(z,&quot;$&amp;/&quot;)+&quot;/&quot;)+R)),B.push(ne)),1;if(ee=0,Z=Z===&quot;&quot;?&quot;.&quot;:Z+&quot;:&quot;,E(R))for(var F=0;F&lt;R.length;F++){U=R[F];var P=Z+O(U,F);ee+=I(U,B,Y,P,ne)}else if(P=f(R),typeof P==&quot;function&quot;)for(R=P.call(R),F=0;!(U=R.next()).done;)U=U.value,P=Z+O(U,F++),ee+=I(U,B,Y,P,ne);else if(U===&quot;object&quot;)throw B=String(R),Error(&quot;Objects are not valid as a React child (found: &quot;+(B===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(R).join(&quot;, &quot;)+&quot;}&quot;:B)+&quot;). If you meant to render a collection of children, use an array instead.&quot;);return ee}function C(R,B,Y){if(R==null)return R;var Z=[],ne=0;return I(R,Z,&quot;&quot;,&quot;&quot;,function(U){return B.call(Y,U,ne++)}),Z}function j(R){if(R._status===-1){var B=R._result;B=B(),B.then(function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=1,R._result=Y)},function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=2,R._result=Y)}),R._status===-1&amp;&amp;(R._status=0,R._result=B)}if(R._status===1)return R._result.default;throw R._result}var k={current:null},S={transition:null},N={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:S,ReactCurrentOwner:D};function T(){throw Error(&quot;act(...) is not supported in production builds of React.&quot;)}return Ht.Children={map:C,forEach:function(R,B,Y){C(R,function(){B.apply(this,arguments)},Y)},count:function(R){var B=0;return C(R,function(){B++}),B},toArray:function(R){return C(R,function(B){return B})||[]},only:function(R){if(!H(R))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return R}},Ht.Component=p,Ht.Fragment=t,Ht.Profiler=o,Ht.PureComponent=x,Ht.StrictMode=n,Ht.Suspense=l,Ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Ht.act=T,Ht.cloneElement=function(R,B,Y){if(R==null)throw Error(&quot;React.cloneElement(...): The argument must be a React element, but you passed &quot;+R+&quot;.&quot;);var Z=v({},R.props),ne=R.key,U=R.ref,ee=R._owner;if(B!=null){if(B.ref!==void 0&amp;&amp;(U=B.ref,ee=D.current),B.key!==void 0&amp;&amp;(ne=&quot;&quot;+B.key),R.type&amp;&amp;R.type.defaultProps)var F=R.type.defaultProps;for(P in B)M.call(B,P)&amp;&amp;!W.hasOwnProperty(P)&amp;&amp;(Z[P]=B[P]===void 0&amp;&amp;F!==void 0?F[P]:B[P])}var P=arguments.length-2;if(P===1)Z.children=Y;else if(1&lt;P){F=Array(P);for(var X=0;X&lt;P;X++)F[X]=arguments[X+2];Z.children=F}return{$$typeof:e,type:R.type,key:ne,ref:U,props:Z,_owner:ee}},Ht.createContext=function(R){return R={$$typeof:a,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:s,_context:R},R.Consumer=R},Ht.createElement=L,Ht.createFactory=function(R){var B=L.bind(null,R);return B.type=R,B},Ht.createRef=function(){return{current:null}},Ht.forwardRef=function(R){return{$$typeof:u,render:R}},Ht.isValidElement=H,Ht.lazy=function(R){return{$$typeof:c,_payload:{_status:-1,_result:R},_init:j}},Ht.memo=function(R,B){return{$$typeof:i,type:R,compare:B===void 0?null:B}},Ht.startTransition=function(R){var B=S.transition;S.transition={};try{R()}finally{S.transition=B}},Ht.unstable_act=T,Ht.useCallback=function(R,B){return k.current.useCallback(R,B)},Ht.useContext=function(R){return k.current.useContext(R)},Ht.useDebugValue=function(){},Ht.useDeferredValue=function(R){return k.current.useDeferredValue(R)},Ht.useEffect=function(R,B){return k.current.useEffect(R,B)},Ht.useId=function(){return k.current.useId()},Ht.useImperativeHandle=function(R,B,Y){return k.current.useImperativeHandle(R,B,Y)},Ht.useInsertionEffect=function(R,B){return k.current.useInsertionEffect(R,B)},Ht.useLayoutEffect=function(R,B){return k.current.useLayoutEffect(R,B)},Ht.useMemo=function(R,B){return k.current.useMemo(R,B)},Ht.useReducer=function(R,B,Y){return k.current.useReducer(R,B,Y)},Ht.useRef=function(R){return k.current.useRef(R)},Ht.useState=function(R){return k.current.useState(R)},Ht.useSyncExternalStore=function(R,B,Y){return k.current.useSyncExternalStore(R,B,Y)},Ht.useTransition=function(){return k.current.useTransition()},Ht.version=&quot;18.3.1&quot;,Ht}var Bw;function Il(){return Bw||(Bw=1,p0.exports=oM()),p0.exports}var zw;function lM(){if(zw)return Nc;zw=1;var e=Il(),r=Symbol.for(&quot;react.element&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function a(u,l,i){var c,h={},f=null,d=null;i!==void 0&amp;&amp;(f=&quot;&quot;+i),l.key!==void 0&amp;&amp;(f=&quot;&quot;+l.key),l.ref!==void 0&amp;&amp;(d=l.ref);for(c in l)n.call(l,c)&amp;&amp;!s.hasOwnProperty(c)&amp;&amp;(h[c]=l[c]);if(u&amp;&amp;u.defaultProps)for(c in l=u.defaultProps,l)h[c]===void 0&amp;&amp;(h[c]=l[c]);return{$$typeof:r,type:u,key:f,ref:d,props:h,_owner:o.current}}return Nc.Fragment=t,Nc.jsx=a,Nc.jsxs=a,Nc}var $w;function cM(){return $w||($w=1,m0.exports=lM()),m0.exports}var m=cM(),q=Il();const MS=ts(q),OS=aM({__proto__:null,default:MS},[q]);var Wd={},g0={exports:{}},Gn={},v0={exports:{}},y0={};var Uw;function uM(){return Uw||(Uw=1,(function(e){function r(S,N){var T=S.length;S.push(N);e:for(;0&lt;T;){var R=T-1&gt;&gt;&gt;1,B=S[R];if(0&lt;o(B,N))S[R]=N,S[T]=B,T=R;else break e}}function t(S){return S.length===0?null:S[0]}function n(S){if(S.length===0)return null;var N=S[0],T=S.pop();if(T!==N){S[0]=T;e:for(var R=0,B=S.length,Y=B&gt;&gt;&gt;1;R&lt;Y;){var Z=2*(R+1)-1,ne=S[Z],U=Z+1,ee=S[U];if(0&gt;o(ne,T))U&lt;B&amp;&amp;0&gt;o(ee,ne)?(S[R]=ee,S[U]=T,R=U):(S[R]=ne,S[Z]=T,R=Z);else if(U&lt;B&amp;&amp;0&gt;o(ee,T))S[R]=ee,S[U]=T,R=U;else break e}}return N}function o(S,N){var T=S.sortIndex-N.sortIndex;return T!==0?T:S.id-N.id}if(typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var l=[],i=[],c=1,h=null,f=3,d=!1,v=!1,y=!1,p=typeof setTimeout==&quot;function&quot;?setTimeout:null,b=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,x=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(i);N!==null;){if(N.callback===null)n(i);else if(N.startTime&lt;=S)n(i),N.sortIndex=N.expirationTime,r(l,N);else break;N=t(i)}}function E(S){if(y=!1,_(S),!v)if(t(l)!==null)v=!0,j(M);else{var N=t(i);N!==null&amp;&amp;k(E,N.startTime-S)}}function M(S,N){v=!1,y&amp;&amp;(y=!1,b(L),L=-1),d=!0;var T=f;try{for(_(N),h=t(l);h!==null&amp;&amp;(!(h.expirationTime&gt;N)||S&amp;&amp;!K());){var R=h.callback;if(typeof R==&quot;function&quot;){h.callback=null,f=h.priorityLevel;var B=R(h.expirationTime&lt;=N);N=e.unstable_now(),typeof B==&quot;function&quot;?h.callback=B:h===t(l)&amp;&amp;n(l),_(N)}else n(l);h=t(l)}if(h!==null)var Y=!0;else{var Z=t(i);Z!==null&amp;&amp;k(E,Z.startTime-N),Y=!1}return Y}finally{h=null,f=T,d=!1}}var D=!1,W=null,L=-1,V=5,H=-1;function K(){return!(e.unstable_now()-H&lt;V)}function z(){if(W!==null){var S=e.unstable_now();H=S;var N=!0;try{N=W(!0,S)}finally{N?O():(D=!1,W=null)}}else D=!1}var O;if(typeof x==&quot;function&quot;)O=function(){x(z)};else if(typeof MessageChannel&lt;&quot;u&quot;){var I=new MessageChannel,C=I.port2;I.port1.onmessage=z,O=function(){C.postMessage(null)}}else O=function(){p(z,0)};function j(S){W=S,D||(D=!0,O())}function k(S,N){L=p(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(){v||d||(v=!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;):V=0&lt;S?Math.floor(1e3/S):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return t(l)},e.unstable_next=function(S){switch(f){case 1:case 2:case 3:var N=3;break;default:N=f}var T=f;f=N;try{return S()}finally{f=T}},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 T=f;f=S;try{return N()}finally{f=T}},e.unstable_scheduleCallback=function(S,N,T){var R=e.unstable_now();switch(typeof T==&quot;object&quot;&amp;&amp;T!==null?(T=T.delay,T=typeof T==&quot;number&quot;&amp;&amp;0&lt;T?R+T:R):T=R,S){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=T+B,S={id:c++,callback:N,priorityLevel:S,startTime:T,expirationTime:B,sortIndex:-1},T&gt;R?(S.sortIndex=T,r(i,S),t(l)===null&amp;&amp;S===t(i)&amp;&amp;(y?(b(L),L=-1):y=!0,k(E,T-R))):(S.sortIndex=B,r(l,S),v||d||(v=!0,j(M))),S},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(S){var N=f;return function(){var T=f;f=N;try{return S.apply(this,arguments)}finally{f=T}}}})(y0)),y0}var Vw;function dM(){return Vw||(Vw=1,v0.exports=uM()),v0.exports}var qw;function fM(){if(qw)return Gn;qw=1;var e=Il(),r=dM();function t(g){for(var w=&quot;https://reactjs.org/docs/error-decoder.html?invariant=&quot;+g,A=1;A&lt;arguments.length;A++)w+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[A]);return&quot;Minified React error #&quot;+g+&quot;; visit &quot;+w+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}var n=new Set,o={};function s(g,w){a(g,w),a(g+&quot;Capture&quot;,w)}function a(g,w){for(o[g]=w,g=0;g&lt;w.length;g++)n.add(w[g])}var u=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),l=Object.prototype.hasOwnProperty,i=/^[: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]*$/,c={},h={};function f(g){return l.call(h,g)?!0:l.call(c,g)?!1:i.test(g)?h[g]=!0:(c[g]=!0,!1)}function d(g,w,A,$){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 $?!1:A!==null?!A.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!==&quot;data-&quot;&amp;&amp;g!==&quot;aria-&quot;);default:return!1}}function v(g,w,A,$){if(w===null||typeof w&gt;&quot;u&quot;||d(g,w,A,$))return!0;if($)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 y(g,w,A,$,G,J,oe){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=$,this.attributeNamespace=G,this.mustUseProperty=A,this.propertyName=g,this.type=w,this.sanitizeURL=J,this.removeEmptyString=oe}var p={};&quot;children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style&quot;.split(&quot; &quot;).forEach(function(g){p[g]=new y(g,0,!1,g,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(g){var w=g[0];p[w]=new y(w,1,!1,g[1],null,!1,!1)}),[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(function(g){p[g]=new y(g,2,!1,g.toLowerCase(),null,!1,!1)}),[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(function(g){p[g]=new y(g,2,!1,g,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(g){p[g]=new y(g,3,!1,g.toLowerCase(),null,!1,!1)}),[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(function(g){p[g]=new y(g,3,!0,g,null,!1,!1)}),[&quot;capture&quot;,&quot;download&quot;].forEach(function(g){p[g]=new y(g,4,!1,g,null,!1,!1)}),[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(function(g){p[g]=new y(g,6,!1,g,null,!1,!1)}),[&quot;rowSpan&quot;,&quot;start&quot;].forEach(function(g){p[g]=new y(g,5,!1,g.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(g){return g[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(g){var w=g.replace(b,x);p[w]=new y(w,1,!1,g,null,!1,!1)}),&quot;xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type&quot;.split(&quot; &quot;).forEach(function(g){var w=g.replace(b,x);p[w]=new y(w,1,!1,g,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)}),[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(function(g){var w=g.replace(b,x);p[w]=new y(w,1,!1,g,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)}),[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(function(g){p[g]=new y(g,1,!1,g.toLowerCase(),null,!1,!1)}),p.xlinkHref=new y(&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(g){p[g]=new y(g,1,!1,g.toLowerCase(),null,!0,!0)});function _(g,w,A,$){var G=p.hasOwnProperty(w)?p[w]:null;(G!==null?G.type!==0:$||!(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;(v(w,A,G,$)&amp;&amp;(A=null),$||G===null?f(w)&amp;&amp;(A===null?g.removeAttribute(w):g.setAttribute(w,&quot;&quot;+A)):G.mustUseProperty?g[G.propertyName]=A===null?G.type===3?!1:&quot;&quot;:A:(w=G.attributeName,$=G.attributeNamespace,A===null?g.removeAttribute(w):(G=G.type,A=G===3||G===4&amp;&amp;A===!0?&quot;&quot;:&quot;&quot;+A,$?g.setAttributeNS($,w,A):g.setAttribute(w,A))))}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for(&quot;react.element&quot;),D=Symbol.for(&quot;react.portal&quot;),W=Symbol.for(&quot;react.fragment&quot;),L=Symbol.for(&quot;react.strict_mode&quot;),V=Symbol.for(&quot;react.profiler&quot;),H=Symbol.for(&quot;react.provider&quot;),K=Symbol.for(&quot;react.context&quot;),z=Symbol.for(&quot;react.forward_ref&quot;),O=Symbol.for(&quot;react.suspense&quot;),I=Symbol.for(&quot;react.suspense_list&quot;),C=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(g){return g===null||typeof g!=&quot;object&quot;?null:(g=S&amp;&amp;g[S]||g[&quot;@@iterator&quot;],typeof g==&quot;function&quot;?g:null)}var T=Object.assign,R;function B(g){if(R===void 0)try{throw Error()}catch(A){var w=A.stack.trim().match(/\n( *(at )?)/);R=w&amp;&amp;w[1]||&quot;&quot;}return`
`+R+g}var Y=!1;function Z(g,w){if(!g||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(Ee){var $=Ee}Reflect.construct(g,[],w)}else{try{w.call()}catch(Ee){$=Ee}g.call(w.prototype)}else{try{throw Error()}catch(Ee){$=Ee}g()}}catch(Ee){if(Ee&amp;&amp;$&amp;&amp;typeof Ee.stack==&quot;string&quot;){for(var G=Ee.stack.split(`
`),J=$.stack.split(`
`),oe=G.length-1,pe=J.length-1;1&lt;=oe&amp;&amp;0&lt;=pe&amp;&amp;G[oe]!==J[pe];)pe--;for(;1&lt;=oe&amp;&amp;0&lt;=pe;oe--,pe--)if(G[oe]!==J[pe]){if(oe!==1||pe!==1)do if(oe--,pe--,0&gt;pe||G[oe]!==J[pe]){var be=`
`+G[oe].replace(&quot; at new &quot;,&quot; at &quot;);return g.displayName&amp;&amp;be.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(be=be.replace(&quot;&lt;anonymous&gt;&quot;,g.displayName)),be}while(1&lt;=oe&amp;&amp;0&lt;=pe);break}}}finally{Y=!1,Error.prepareStackTrace=A}return(g=g?g.displayName||g.name:&quot;&quot;)?B(g):&quot;&quot;}function ne(g){switch(g.tag){case 5:return B(g.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 g=Z(g.type,!1),g;case 11:return g=Z(g.type.render,!1),g;case 1:return g=Z(g.type,!0),g;default:return&quot;&quot;}}function U(g){if(g==null)return null;if(typeof g==&quot;function&quot;)return g.displayName||g.name||null;if(typeof g==&quot;string&quot;)return g;switch(g){case W:return&quot;Fragment&quot;;case D:return&quot;Portal&quot;;case V:return&quot;Profiler&quot;;case L:return&quot;StrictMode&quot;;case O:return&quot;Suspense&quot;;case I:return&quot;SuspenseList&quot;}if(typeof g==&quot;object&quot;)switch(g.$$typeof){case K:return(g.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case H:return(g._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case z:var w=g.render;return g=g.displayName,g||(g=w.displayName||w.name||&quot;&quot;,g=g!==&quot;&quot;?&quot;ForwardRef(&quot;+g+&quot;)&quot;:&quot;ForwardRef&quot;),g;case C:return w=g.displayName||null,w!==null?w:U(g.type)||&quot;Memo&quot;;case j:w=g._payload,g=g._init;try{return U(g(w))}catch{}}return null}function ee(g){var w=g.type;switch(g.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 g=w.render,g=g.displayName||g.name||&quot;&quot;,w.displayName||(g!==&quot;&quot;?&quot;ForwardRef(&quot;+g+&quot;)&quot;:&quot;ForwardRef&quot;);case 7:return&quot;Fragment&quot;;case 5:return w;case 4:return&quot;Portal&quot;;case 3:return&quot;Root&quot;;case 6:return&quot;Text&quot;;case 16:return U(w);case 8:return w===L?&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 F(g){switch(typeof g){case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return g;case&quot;object&quot;:return g;default:return&quot;&quot;}}function P(g){var w=g.type;return(g=g.nodeName)&amp;&amp;g.toLowerCase()===&quot;input&quot;&amp;&amp;(w===&quot;checkbox&quot;||w===&quot;radio&quot;)}function X(g){var w=P(g)?&quot;checked&quot;:&quot;value&quot;,A=Object.getOwnPropertyDescriptor(g.constructor.prototype,w),$=&quot;&quot;+g[w];if(!g.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(g,w,{configurable:!0,get:function(){return G.call(this)},set:function(oe){$=&quot;&quot;+oe,J.call(this,oe)}}),Object.defineProperty(g,w,{enumerable:A.enumerable}),{getValue:function(){return $},setValue:function(oe){$=&quot;&quot;+oe},stopTracking:function(){g._valueTracker=null,delete g[w]}}}}function re(g){g._valueTracker||(g._valueTracker=X(g))}function Q(g){if(!g)return!1;var w=g._valueTracker;if(!w)return!0;var A=w.getValue(),$=&quot;&quot;;return g&amp;&amp;($=P(g)?g.checked?&quot;true&quot;:&quot;false&quot;:g.value),g=$,g!==A?(w.setValue(g),!0):!1}function te(g){if(g=g||(typeof document&lt;&quot;u&quot;?document:void 0),typeof g&gt;&quot;u&quot;)return null;try{return g.activeElement||g.body}catch{return g.body}}function ae(g,w){var A=w.checked;return T({},w,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:A??g._wrapperState.initialChecked})}function ce(g,w){var A=w.defaultValue==null?&quot;&quot;:w.defaultValue,$=w.checked!=null?w.checked:w.defaultChecked;A=F(w.value!=null?w.value:A),g._wrapperState={initialChecked:$,initialValue:A,controlled:w.type===&quot;checkbox&quot;||w.type===&quot;radio&quot;?w.checked!=null:w.value!=null}}function he(g,w){w=w.checked,w!=null&amp;&amp;_(g,&quot;checked&quot;,w,!1)}function se(g,w){he(g,w);var A=F(w.value),$=w.type;if(A!=null)$===&quot;number&quot;?(A===0&amp;&amp;g.value===&quot;&quot;||g.value!=A)&amp;&amp;(g.value=&quot;&quot;+A):g.value!==&quot;&quot;+A&amp;&amp;(g.value=&quot;&quot;+A);else if($===&quot;submit&quot;||$===&quot;reset&quot;){g.removeAttribute(&quot;value&quot;);return}w.hasOwnProperty(&quot;value&quot;)?ie(g,w.type,A):w.hasOwnProperty(&quot;defaultValue&quot;)&amp;&amp;ie(g,w.type,F(w.defaultValue)),w.checked==null&amp;&amp;w.defaultChecked!=null&amp;&amp;(g.defaultChecked=!!w.defaultChecked)}function de(g,w,A){if(w.hasOwnProperty(&quot;value&quot;)||w.hasOwnProperty(&quot;defaultValue&quot;)){var $=w.type;if(!($!==&quot;submit&quot;&amp;&amp;$!==&quot;reset&quot;||w.value!==void 0&amp;&amp;w.value!==null))return;w=&quot;&quot;+g._wrapperState.initialValue,A||w===g.value||(g.value=w),g.defaultValue=w}A=g.name,A!==&quot;&quot;&amp;&amp;(g.name=&quot;&quot;),g.defaultChecked=!!g._wrapperState.initialChecked,A!==&quot;&quot;&amp;&amp;(g.name=A)}function ie(g,w,A){(w!==&quot;number&quot;||te(g.ownerDocument)!==g)&amp;&amp;(A==null?g.defaultValue=&quot;&quot;+g._wrapperState.initialValue:g.defaultValue!==&quot;&quot;+A&amp;&amp;(g.defaultValue=&quot;&quot;+A))}var me=Array.isArray;function ve(g,w,A,$){if(g=g.options,w){w={};for(var G=0;G&lt;A.length;G++)w[&quot;$&quot;+A[G]]=!0;for(A=0;A&lt;g.length;A++)G=w.hasOwnProperty(&quot;$&quot;+g[A].value),g[A].selected!==G&amp;&amp;(g[A].selected=G),G&amp;&amp;$&amp;&amp;(g[A].defaultSelected=!0)}else{for(A=&quot;&quot;+F(A),w=null,G=0;G&lt;g.length;G++){if(g[G].value===A){g[G].selected=!0,$&amp;&amp;(g[G].defaultSelected=!0);return}w!==null||g[G].disabled||(w=g[G])}w!==null&amp;&amp;(w.selected=!0)}}function ge(g,w){if(w.dangerouslySetInnerHTML!=null)throw Error(t(91));return T({},w,{value:void 0,defaultValue:void 0,children:&quot;&quot;+g._wrapperState.initialValue})}function le(g,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(me(A)){if(1&lt;A.length)throw Error(t(93));A=A[0]}w=A}w==null&amp;&amp;(w=&quot;&quot;),A=w}g._wrapperState={initialValue:F(A)}}function _e(g,w){var A=F(w.value),$=F(w.defaultValue);A!=null&amp;&amp;(A=&quot;&quot;+A,A!==g.value&amp;&amp;(g.value=A),w.defaultValue==null&amp;&amp;g.defaultValue!==A&amp;&amp;(g.defaultValue=A)),$!=null&amp;&amp;(g.defaultValue=&quot;&quot;+$)}function Se(g){var w=g.textContent;w===g._wrapperState.initialValue&amp;&amp;w!==&quot;&quot;&amp;&amp;w!==null&amp;&amp;(g.value=w)}function Oe(g){switch(g){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 Te(g,w){return g==null||g===&quot;http://www.w3.org/1999/xhtml&quot;?Oe(w):g===&quot;http://www.w3.org/2000/svg&quot;&amp;&amp;w===&quot;foreignObject&quot;?&quot;http://www.w3.org/1999/xhtml&quot;:g}var Ie,Ve=(function(g){return typeof MSApp&lt;&quot;u&quot;&amp;&amp;MSApp.execUnsafeLocalFunction?function(w,A,$,G){MSApp.execUnsafeLocalFunction(function(){return g(w,A,$,G)})}:g})(function(g,w){if(g.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;||&quot;innerHTML&quot;in g)g.innerHTML=w;else{for(Ie=Ie||document.createElement(&quot;div&quot;),Ie.innerHTML=&quot;&lt;svg&gt;&quot;+w.valueOf().toString()+&quot;&lt;/svg&gt;&quot;,w=Ie.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;w.firstChild;)g.appendChild(w.firstChild)}});function Ye(g,w){if(w){var A=g.firstChild;if(A&amp;&amp;A===g.lastChild&amp;&amp;A.nodeType===3){A.nodeValue=w;return}}g.textContent=w}var Ze={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},ct=[&quot;Webkit&quot;,&quot;ms&quot;,&quot;Moz&quot;,&quot;O&quot;];Object.keys(Ze).forEach(function(g){ct.forEach(function(w){w=w+g.charAt(0).toUpperCase()+g.substring(1),Ze[w]=Ze[g]})});function Ge(g,w,A){return w==null||typeof w==&quot;boolean&quot;||w===&quot;&quot;?&quot;&quot;:A||typeof w!=&quot;number&quot;||w===0||Ze.hasOwnProperty(g)&amp;&amp;Ze[g]?(&quot;&quot;+w).trim():w+&quot;px&quot;}function Be(g,w){g=g.style;for(var A in w)if(w.hasOwnProperty(A)){var $=A.indexOf(&quot;--&quot;)===0,G=Ge(A,w[A],$);A===&quot;float&quot;&amp;&amp;(A=&quot;cssFloat&quot;),$?g.setProperty(A,G):g[A]=G}}var Xe=T({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(g,w){if(w){if(Xe[g]&amp;&amp;(w.children!=null||w.dangerouslySetInnerHTML!=null))throw Error(t(137,g));if(w.dangerouslySetInnerHTML!=null){if(w.children!=null)throw Error(t(60));if(typeof w.dangerouslySetInnerHTML!=&quot;object&quot;||!(&quot;__html&quot;in w.dangerouslySetInnerHTML))throw Error(t(61))}if(w.style!=null&amp;&amp;typeof w.style!=&quot;object&quot;)throw Error(t(62))}}function Je(g,w){if(g.indexOf(&quot;-&quot;)===-1)return typeof w.is==&quot;string&quot;;switch(g){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 Mt=null;function Wt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&amp;&amp;(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var et=null,Tt=null,ut=null;function _t(g){if(g=dc(g)){if(typeof et!=&quot;function&quot;)throw Error(t(280));var w=g.stateNode;w&amp;&amp;(w=ad(w),et(g.stateNode,g.type,w))}}function Yt(g){Tt?ut?ut.push(g):ut=[g]:Tt=g}function Ut(){if(Tt){var g=Tt,w=ut;if(ut=Tt=null,_t(g),w)for(g=0;g&lt;w.length;g++)_t(w[g])}}function nt(g,w){return g(w)}function Pt(){}var Kt=!1;function wt(g,w,A){if(Kt)return g(w,A);Kt=!0;try{return nt(g,w,A)}finally{Kt=!1,(Tt!==null||ut!==null)&amp;&amp;(Pt(),Ut())}}function zt(g,w){var A=g.stateNode;if(A===null)return null;var $=ad(A);if($===null)return null;A=$[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;:($=!$.disabled)||(g=g.type,$=!(g===&quot;button&quot;||g===&quot;input&quot;||g===&quot;select&quot;||g===&quot;textarea&quot;)),g=!$;break e;default:g=!1}if(g)return null;if(A&amp;&amp;typeof A!=&quot;function&quot;)throw Error(t(231,w,typeof A));return A}var Dt=!1;if(u)try{var bt={};Object.defineProperty(bt,&quot;passive&quot;,{get:function(){Dt=!0}}),window.addEventListener(&quot;test&quot;,bt,bt),window.removeEventListener(&quot;test&quot;,bt,bt)}catch{Dt=!1}function ye(g,w,A,$,G,J,oe,pe,be){var Ee=Array.prototype.slice.call(arguments,3);try{w.apply(A,Ee)}catch(Le){this.onError(Le)}}var je=!1,Me=null,Ue=!1,mt=null,qe={onError:function(g){je=!0,Me=g}};function jt(g,w,A,$,G,J,oe,pe,be){je=!1,Me=null,ye.apply(qe,arguments)}function vt(g,w,A,$,G,J,oe,pe,be){if(jt.apply(this,arguments),je){if(je){var Ee=Me;je=!1,Me=null}else throw Error(t(198));Ue||(Ue=!0,mt=Ee)}}function it(g){var w=g,A=g;if(g.alternate)for(;w.return;)w=w.return;else{g=w;do w=g,(w.flags&amp;4098)!==0&amp;&amp;(A=w.return),g=w.return;while(g)}return w.tag===3?A:null}function kt(g){if(g.tag===13){var w=g.memoizedState;if(w===null&amp;&amp;(g=g.alternate,g!==null&amp;&amp;(w=g.memoizedState)),w!==null)return w.dehydrated}return null}function Ce(g){if(it(g)!==g)throw Error(t(188))}function dt(g){var w=g.alternate;if(!w){if(w=it(g),w===null)throw Error(t(188));return w!==g?null:g}for(var A=g,$=w;;){var G=A.return;if(G===null)break;var J=G.alternate;if(J===null){if($=G.return,$!==null){A=$;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===A)return Ce(G),g;if(J===$)return Ce(G),w;J=J.sibling}throw Error(t(188))}if(A.return!==$.return)A=G,$=J;else{for(var oe=!1,pe=G.child;pe;){if(pe===A){oe=!0,A=G,$=J;break}if(pe===$){oe=!0,$=G,A=J;break}pe=pe.sibling}if(!oe){for(pe=J.child;pe;){if(pe===A){oe=!0,A=J,$=G;break}if(pe===$){oe=!0,$=J,A=G;break}pe=pe.sibling}if(!oe)throw Error(t(189))}}if(A.alternate!==$)throw Error(t(190))}if(A.tag!==3)throw Error(t(188));return A.stateNode.current===A?g:w}function Lt(g){return g=dt(g),g!==null?It(g):null}function It(g){if(g.tag===5||g.tag===6)return g;for(g=g.child;g!==null;){var w=It(g);if(w!==null)return w;g=g.sibling}return null}var nr=r.unstable_scheduleCallback,cr=r.unstable_cancelCallback,qr=r.unstable_shouldYield,fe=r.unstable_requestPaint,we=r.unstable_now,Pe=r.unstable_getCurrentPriorityLevel,Re=r.unstable_ImmediatePriority,tt=r.unstable_UserBlockingPriority,$e=r.unstable_NormalPriority,He=r.unstable_LowPriority,Ft=r.unstable_IdlePriority,At=null,St=null;function ft(g){if(St&amp;&amp;typeof St.onCommitFiberRoot==&quot;function&quot;)try{St.onCommitFiberRoot(At,g,void 0,(g.current.flags&amp;128)===128)}catch{}}var Et=Math.clz32?Math.clz32:or,Vt=Math.log,Zt=Math.LN2;function or(g){return g&gt;&gt;&gt;=0,g===0?32:31-(Vt(g)/Zt|0)|0}var ur=64,Sr=4194304;function kr(g){switch(g&amp;-g){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 g&amp;4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return g&amp;130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return g}}function Un(g,w){var A=g.pendingLanes;if(A===0)return 0;var $=0,G=g.suspendedLanes,J=g.pingedLanes,oe=A&amp;268435455;if(oe!==0){var pe=oe&amp;~G;pe!==0?$=kr(pe):(J&amp;=oe,J!==0&amp;&amp;($=kr(J)))}else oe=A&amp;~G,oe!==0?$=kr(oe):J!==0&amp;&amp;($=kr(J));if($===0)return 0;if(w!==0&amp;&amp;w!==$&amp;&amp;(w&amp;G)===0&amp;&amp;(G=$&amp;-$,J=w&amp;-w,G&gt;=J||G===16&amp;&amp;(J&amp;4194240)!==0))return w;if(($&amp;4)!==0&amp;&amp;($|=A&amp;16),w=g.entangledLanes,w!==0)for(g=g.entanglements,w&amp;=$;0&lt;w;)A=31-Et(w),G=1&lt;&lt;A,$|=g[A],w&amp;=~G;return $}function ns(g,w){switch(g){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 is(g,w){for(var A=g.suspendedLanes,$=g.pingedLanes,G=g.expirationTimes,J=g.pendingLanes;0&lt;J;){var oe=31-Et(J),pe=1&lt;&lt;oe,be=G[oe];be===-1?((pe&amp;A)===0||(pe&amp;$)!==0)&amp;&amp;(G[oe]=ns(pe,w)):be&lt;=w&amp;&amp;(g.expiredLanes|=pe),J&amp;=~pe}}function ui(g){return g=g.pendingLanes&amp;-1073741825,g!==0?g:g&amp;1073741824?1073741824:0}function Xt(){var g=ur;return ur&lt;&lt;=1,(ur&amp;4194240)===0&amp;&amp;(ur=64),g}function qt(g){for(var w=[],A=0;31&gt;A;A++)w.push(g);return w}function fn(g,w,A){g.pendingLanes|=w,w!==536870912&amp;&amp;(g.suspendedLanes=0,g.pingedLanes=0),g=g.eventTimes,w=31-Et(w),g[w]=A}function di(g,w){var A=g.pendingLanes&amp;~w;g.pendingLanes=w,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&amp;=w,g.mutableReadLanes&amp;=w,g.entangledLanes&amp;=w,w=g.entanglements;var $=g.eventTimes;for(g=g.expirationTimes;0&lt;A;){var G=31-Et(A),J=1&lt;&lt;G;w[G]=0,$[G]=-1,g[G]=-1,A&amp;=~J}}function fi(g,w){var A=g.entangledLanes|=w;for(g=g.entanglements;A;){var $=31-Et(A),G=1&lt;&lt;$;G&amp;w|g[$]&amp;w&amp;&amp;(g[$]|=w),A&amp;=~G}}var Bt=0;function hn(g){return g&amp;=-g,1&lt;g?4&lt;g?(g&amp;268435455)!==0?16:536870912:4:1}var ti,hi,ss,mi,Vn,ks=!1,wn=[],Jr=null,en=null,Tn=null,Ri=new Map,_n=new Map,jn=[],Vm=&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 Wu(g,w){switch(g){case&quot;focusin&quot;:case&quot;focusout&quot;:Jr=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:en=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Tn=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:Ri.delete(w.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:_n.delete(w.pointerId)}}function Ua(g,w,A,$,G,J){return g===null||g.nativeEvent!==J?(g={blockedOn:w,domEventName:A,eventSystemFlags:$,nativeEvent:J,targetContainers:[G]},w!==null&amp;&amp;(w=dc(w),w!==null&amp;&amp;hi(w)),g):(g.eventSystemFlags|=$,w=g.targetContainers,G!==null&amp;&amp;w.indexOf(G)===-1&amp;&amp;w.push(G),g)}function qm(g,w,A,$,G){switch(w){case&quot;focusin&quot;:return Jr=Ua(Jr,g,w,A,$,G),!0;case&quot;dragenter&quot;:return en=Ua(en,g,w,A,$,G),!0;case&quot;mouseover&quot;:return Tn=Ua(Tn,g,w,A,$,G),!0;case&quot;pointerover&quot;:var J=G.pointerId;return Ri.set(J,Ua(Ri.get(J)||null,g,w,A,$,G)),!0;case&quot;gotpointercapture&quot;:return J=G.pointerId,_n.set(J,Ua(_n.get(J)||null,g,w,A,$,G)),!0}return!1}function Hu(g){var w=Ka(g.target);if(w!==null){var A=it(w);if(A!==null){if(w=A.tag,w===13){if(w=kt(A),w!==null){g.blockedOn=w,Vn(g.priority,function(){ss(A)});return}}else if(w===3&amp;&amp;A.stateNode.current.memoizedState.isDehydrated){g.blockedOn=A.tag===3?A.stateNode.containerInfo:null;return}}}g.blockedOn=null}function Do(g){if(g.blockedOn!==null)return!1;for(var w=g.targetContainers;0&lt;w.length;){var A=Ql(g.domEventName,g.eventSystemFlags,w[0],g.nativeEvent);if(A===null){A=g.nativeEvent;var $=new A.constructor(A.type,A);Mt=$,A.target.dispatchEvent($),Mt=null}else return w=dc(A),w!==null&amp;&amp;hi(w),g.blockedOn=A,!1;w.shift()}return!0}function Va(g,w,A){Do(g)&amp;&amp;A.delete(w)}function Wm(){ks=!1,Jr!==null&amp;&amp;Do(Jr)&amp;&amp;(Jr=null),en!==null&amp;&amp;Do(en)&amp;&amp;(en=null),Tn!==null&amp;&amp;Do(Tn)&amp;&amp;(Tn=null),Ri.forEach(Va),_n.forEach(Va)}function qa(g,w){g.blockedOn===w&amp;&amp;(g.blockedOn=null,ks||(ks=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Wm)))}function Wa(g){function w(G){return qa(G,g)}if(0&lt;wn.length){qa(wn[0],g);for(var A=1;A&lt;wn.length;A++){var $=wn[A];$.blockedOn===g&amp;&amp;($.blockedOn=null)}}for(Jr!==null&amp;&amp;qa(Jr,g),en!==null&amp;&amp;qa(en,g),Tn!==null&amp;&amp;qa(Tn,g),Ri.forEach(w),_n.forEach(w),A=0;A&lt;jn.length;A++)$=jn[A],$.blockedOn===g&amp;&amp;($.blockedOn=null);for(;0&lt;jn.length&amp;&amp;(A=jn[0],A.blockedOn===null);)Hu(A),A.blockedOn===null&amp;&amp;jn.shift()}var sa=E.ReactCurrentBatchConfig,Lo=!0;function Hm(g,w,A,$){var G=Bt,J=sa.transition;sa.transition=null;try{Bt=1,Zl(g,w,A,$)}finally{Bt=G,sa.transition=J}}function Yl(g,w,A,$){var G=Bt,J=sa.transition;sa.transition=null;try{Bt=4,Zl(g,w,A,$)}finally{Bt=G,sa.transition=J}}function Zl(g,w,A,$){if(Lo){var G=Ql(g,w,A,$);if(G===null)ip(g,w,$,Fo,A),Wu(g,$);else if(qm(G,g,w,A,$))$.stopPropagation();else if(Wu(g,$),w&amp;4&amp;&amp;-1&lt;Vm.indexOf(g)){for(;G!==null;){var J=dc(G);if(J!==null&amp;&amp;ti(J),J=Ql(g,w,A,$),J===null&amp;&amp;ip(g,w,$,Fo,A),J===G)break;G=J}G!==null&amp;&amp;$.stopPropagation()}else ip(g,w,$,null,A)}}var Fo=null;function Ql(g,w,A,$){if(Fo=null,g=Wt($),g=Ka(g),g!==null)if(w=it(g),w===null)g=null;else if(A=w.tag,A===13){if(g=kt(w),g!==null)return g;g=null}else if(A===3){if(w.stateNode.current.memoizedState.isDehydrated)return w.tag===3?w.stateNode.containerInfo:null;g=null}else w!==g&amp;&amp;(g=null);return Fo=g,null}function Ku(g){switch(g){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(Pe()){case Re:return 1;case tt:return 4;case $e:case He:return 16;case Ft:return 536870912;default:return 16}default:return 16}}var as=null,Jl=null,Bo=null;function Xu(){if(Bo)return Bo;var g,w=Jl,A=w.length,$,G=&quot;value&quot;in as?as.value:as.textContent,J=G.length;for(g=0;g&lt;A&amp;&amp;w[g]===G[g];g++);var oe=A-g;for($=1;$&lt;=oe&amp;&amp;w[A-$]===G[J-$];$++);return Bo=G.slice(g,1&lt;$?1-$:void 0)}function zo(g){var w=g.keyCode;return&quot;charCode&quot;in g?(g=g.charCode,g===0&amp;&amp;w===13&amp;&amp;(g=13)):g=w,g===10&amp;&amp;(g=13),32&lt;=g||g===13?g:0}function $o(){return!0}function Gu(){return!1}function dr(g){function w(A,$,G,J,oe){this._reactName=A,this._targetInst=G,this.type=$,this.nativeEvent=J,this.target=oe,this.currentTarget=null;for(var pe in g)g.hasOwnProperty(pe)&amp;&amp;(A=g[pe],this[pe]=A?A(J):J[pe]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?$o:Gu,this.isPropagationStopped=Gu,this}return T(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=$o)},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=$o)},persist:function(){},isPersistent:$o}),w}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Uo=dr(os),Ns=T({},os,{view:0,detail:0}),Yu=dr(Ns),ec,tc,Ha,Vo=T({},Ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Km,button:0,buttons:0,relatedTarget:function(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return&quot;movementX&quot;in g?g.movementX:(g!==Ha&amp;&amp;(Ha&amp;&amp;g.type===&quot;mousemove&quot;?(ec=g.screenX-Ha.screenX,tc=g.screenY-Ha.screenY):tc=ec=0,Ha=g),ec)},movementY:function(g){return&quot;movementY&quot;in g?g.movementY:tc}}),ue=dr(Vo),Ke=T({},Vo,{dataTransfer:0}),Ot=dr(Ke),Di=T({},Ns,{relatedTarget:0}),pi=dr(Di),qo=T({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),Zu=dr(qo),Qu=T({},os,{clipboardData:function(g){return&quot;clipboardData&quot;in g?g.clipboardData:window.clipboardData}}),zE=dr(Qu),$E=T({},os,{data:0}),E1=dr($E),UE={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;},VE={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;},qE={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function WE(g){var w=this.nativeEvent;return w.getModifierState?w.getModifierState(g):(g=qE[g])?!!w[g]:!1}function Km(){return WE}var HE=T({},Ns,{key:function(g){if(g.key){var w=UE[g.key]||g.key;if(w!==&quot;Unidentified&quot;)return w}return g.type===&quot;keypress&quot;?(g=zo(g),g===13?&quot;Enter&quot;:String.fromCharCode(g)):g.type===&quot;keydown&quot;||g.type===&quot;keyup&quot;?VE[g.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Km,charCode:function(g){return g.type===&quot;keypress&quot;?zo(g):0},keyCode:function(g){return g.type===&quot;keydown&quot;||g.type===&quot;keyup&quot;?g.keyCode:0},which:function(g){return g.type===&quot;keypress&quot;?zo(g):g.type===&quot;keydown&quot;||g.type===&quot;keyup&quot;?g.keyCode:0}}),KE=dr(HE),XE=T({},Vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),A1=dr(XE),GE=T({},Ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Km}),YE=dr(GE),ZE=T({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),QE=dr(ZE),JE=T({},Vo,{deltaX:function(g){return&quot;deltaX&quot;in g?g.deltaX:&quot;wheelDeltaX&quot;in g?-g.wheelDeltaX:0},deltaY:function(g){return&quot;deltaY&quot;in g?g.deltaY:&quot;wheelDeltaY&quot;in g?-g.wheelDeltaY:&quot;wheelDelta&quot;in g?-g.wheelDelta:0},deltaZ:0,deltaMode:0}),eA=dr(JE),tA=[9,13,27,32],Xm=u&amp;&amp;&quot;CompositionEvent&quot;in window,rc=null;u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(rc=document.documentMode);var rA=u&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!rc,M1=u&amp;&amp;(!Xm||rc&amp;&amp;8&lt;rc&amp;&amp;11&gt;=rc),O1=&quot; &quot;,T1=!1;function P1(g,w){switch(g){case&quot;keyup&quot;:return tA.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 I1(g){return g=g.detail,typeof g==&quot;object&quot;&amp;&amp;&quot;data&quot;in g?g.data:null}var Wo=!1;function nA(g,w){switch(g){case&quot;compositionend&quot;:return I1(w);case&quot;keypress&quot;:return w.which!==32?null:(T1=!0,O1);case&quot;textInput&quot;:return g=w.data,g===O1&amp;&amp;T1?null:g;default:return null}}function iA(g,w){if(Wo)return g===&quot;compositionend&quot;||!Xm&amp;&amp;P1(g,w)?(g=Xu(),Bo=Jl=as=null,Wo=!1,g):null;switch(g){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 M1&amp;&amp;w.locale!==&quot;ko&quot;?null:w.data;default:return null}}var sA={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 R1(g){var w=g&amp;&amp;g.nodeName&amp;&amp;g.nodeName.toLowerCase();return w===&quot;input&quot;?!!sA[g.type]:w===&quot;textarea&quot;}function D1(g,w,A,$){Yt($),w=nd(w,&quot;onChange&quot;),0&lt;w.length&amp;&amp;(A=new Uo(&quot;onChange&quot;,&quot;change&quot;,null,A,$),g.push({event:A,listeners:w}))}var nc=null,ic=null;function aA(g){e2(g,0)}function Ju(g){var w=Yo(g);if(Q(w))return g}function oA(g,w){if(g===&quot;change&quot;)return w}var L1=!1;if(u){var Gm;if(u){var Ym=&quot;oninput&quot;in document;if(!Ym){var F1=document.createElement(&quot;div&quot;);F1.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Ym=typeof F1.oninput==&quot;function&quot;}Gm=Ym}else Gm=!1;L1=Gm&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function B1(){nc&amp;&amp;(nc.detachEvent(&quot;onpropertychange&quot;,z1),ic=nc=null)}function z1(g){if(g.propertyName===&quot;value&quot;&amp;&amp;Ju(ic)){var w=[];D1(w,ic,g,Wt(g)),wt(aA,w)}}function lA(g,w,A){g===&quot;focusin&quot;?(B1(),nc=w,ic=A,nc.attachEvent(&quot;onpropertychange&quot;,z1)):g===&quot;focusout&quot;&amp;&amp;B1()}function cA(g){if(g===&quot;selectionchange&quot;||g===&quot;keyup&quot;||g===&quot;keydown&quot;)return Ju(ic)}function uA(g,w){if(g===&quot;click&quot;)return Ju(w)}function dA(g,w){if(g===&quot;input&quot;||g===&quot;change&quot;)return Ju(w)}function fA(g,w){return g===w&amp;&amp;(g!==0||1/g===1/w)||g!==g&amp;&amp;w!==w}var Li=typeof Object.is==&quot;function&quot;?Object.is:fA;function sc(g,w){if(Li(g,w))return!0;if(typeof g!=&quot;object&quot;||g===null||typeof w!=&quot;object&quot;||w===null)return!1;var A=Object.keys(g),$=Object.keys(w);if(A.length!==$.length)return!1;for($=0;$&lt;A.length;$++){var G=A[$];if(!l.call(w,G)||!Li(g[G],w[G]))return!1}return!0}function $1(g){for(;g&amp;&amp;g.firstChild;)g=g.firstChild;return g}function U1(g,w){var A=$1(g);g=0;for(var $;A;){if(A.nodeType===3){if($=g+A.textContent.length,g&lt;=w&amp;&amp;$&gt;=w)return{node:A,offset:w-g};g=$}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=$1(A)}}function V1(g,w){return g&amp;&amp;w?g===w?!0:g&amp;&amp;g.nodeType===3?!1:w&amp;&amp;w.nodeType===3?V1(g,w.parentNode):&quot;contains&quot;in g?g.contains(w):g.compareDocumentPosition?!!(g.compareDocumentPosition(w)&amp;16):!1:!1}function q1(){for(var g=window,w=te();w instanceof g.HTMLIFrameElement;){try{var A=typeof w.contentWindow.location.href==&quot;string&quot;}catch{A=!1}if(A)g=w.contentWindow;else break;w=te(g.document)}return w}function Zm(g){var w=g&amp;&amp;g.nodeName&amp;&amp;g.nodeName.toLowerCase();return w&amp;&amp;(w===&quot;input&quot;&amp;&amp;(g.type===&quot;text&quot;||g.type===&quot;search&quot;||g.type===&quot;tel&quot;||g.type===&quot;url&quot;||g.type===&quot;password&quot;)||w===&quot;textarea&quot;||g.contentEditable===&quot;true&quot;)}function hA(g){var w=q1(),A=g.focusedElem,$=g.selectionRange;if(w!==A&amp;&amp;A&amp;&amp;A.ownerDocument&amp;&amp;V1(A.ownerDocument.documentElement,A)){if($!==null&amp;&amp;Zm(A)){if(w=$.start,g=$.end,g===void 0&amp;&amp;(g=w),&quot;selectionStart&quot;in A)A.selectionStart=w,A.selectionEnd=Math.min(g,A.value.length);else if(g=(w=A.ownerDocument||document)&amp;&amp;w.defaultView||window,g.getSelection){g=g.getSelection();var G=A.textContent.length,J=Math.min($.start,G);$=$.end===void 0?J:Math.min($.end,G),!g.extend&amp;&amp;J&gt;$&amp;&amp;(G=$,$=J,J=G),G=U1(A,J);var oe=U1(A,$);G&amp;&amp;oe&amp;&amp;(g.rangeCount!==1||g.anchorNode!==G.node||g.anchorOffset!==G.offset||g.focusNode!==oe.node||g.focusOffset!==oe.offset)&amp;&amp;(w=w.createRange(),w.setStart(G.node,G.offset),g.removeAllRanges(),J&gt;$?(g.addRange(w),g.extend(oe.node,oe.offset)):(w.setEnd(oe.node,oe.offset),g.addRange(w)))}}for(w=[],g=A;g=g.parentNode;)g.nodeType===1&amp;&amp;w.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof A.focus==&quot;function&quot;&amp;&amp;A.focus(),A=0;A&lt;w.length;A++)g=w[A],g.element.scrollLeft=g.left,g.element.scrollTop=g.top}}var mA=u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Ho=null,Qm=null,ac=null,Jm=!1;function W1(g,w,A){var $=A.window===A?A.document:A.nodeType===9?A:A.ownerDocument;Jm||Ho==null||Ho!==te($)||($=Ho,&quot;selectionStart&quot;in $&amp;&amp;Zm($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&amp;&amp;$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),ac&amp;&amp;sc(ac,$)||(ac=$,$=nd(Qm,&quot;onSelect&quot;),0&lt;$.length&amp;&amp;(w=new Uo(&quot;onSelect&quot;,&quot;select&quot;,null,w,A),g.push({event:w,listeners:$}),w.target=Ho)))}function ed(g,w){var A={};return A[g.toLowerCase()]=w.toLowerCase(),A[&quot;Webkit&quot;+g]=&quot;webkit&quot;+w,A[&quot;Moz&quot;+g]=&quot;moz&quot;+w,A}var Ko={animationend:ed(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:ed(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:ed(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionend:ed(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},ep={},H1={};u&amp;&amp;(H1=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Ko.animationend.animation,delete Ko.animationiteration.animation,delete Ko.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Ko.transitionend.transition);function td(g){if(ep[g])return ep[g];if(!Ko[g])return g;var w=Ko[g],A;for(A in w)if(w.hasOwnProperty(A)&amp;&amp;A in H1)return ep[g]=w[A];return g}var K1=td(&quot;animationend&quot;),X1=td(&quot;animationiteration&quot;),G1=td(&quot;animationstart&quot;),Y1=td(&quot;transitionend&quot;),Z1=new Map,Q1=&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 aa(g,w){Z1.set(g,w),s(w,[g])}for(var tp=0;tp&lt;Q1.length;tp++){var rp=Q1[tp],pA=rp.toLowerCase(),gA=rp[0].toUpperCase()+rp.slice(1);aa(pA,&quot;on&quot;+gA)}aa(K1,&quot;onAnimationEnd&quot;),aa(X1,&quot;onAnimationIteration&quot;),aa(G1,&quot;onAnimationStart&quot;),aa(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),aa(&quot;focusin&quot;,&quot;onFocus&quot;),aa(&quot;focusout&quot;,&quot;onBlur&quot;),aa(Y1,&quot;onTransitionEnd&quot;),a(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),a(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),s(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),s(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),s(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),s(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),s(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),s(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var oc=&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;),vA=new Set(&quot;cancel close invalid load scroll toggle&quot;.split(&quot; &quot;).concat(oc));function J1(g,w,A){var $=g.type||&quot;unknown-event&quot;;g.currentTarget=A,vt($,w,void 0,g),g.currentTarget=null}function e2(g,w){w=(w&amp;4)!==0;for(var A=0;A&lt;g.length;A++){var $=g[A],G=$.event;$=$.listeners;e:{var J=void 0;if(w)for(var oe=$.length-1;0&lt;=oe;oe--){var pe=$[oe],be=pe.instance,Ee=pe.currentTarget;if(pe=pe.listener,be!==J&amp;&amp;G.isPropagationStopped())break e;J1(G,pe,Ee),J=be}else for(oe=0;oe&lt;$.length;oe++){if(pe=$[oe],be=pe.instance,Ee=pe.currentTarget,pe=pe.listener,be!==J&amp;&amp;G.isPropagationStopped())break e;J1(G,pe,Ee),J=be}}}if(Ue)throw g=mt,Ue=!1,mt=null,g}function mr(g,w){var A=w[up];A===void 0&amp;&amp;(A=w[up]=new Set);var $=g+&quot;__bubble&quot;;A.has($)||(t2(w,g,2,!1),A.add($))}function np(g,w,A){var $=0;w&amp;&amp;($|=4),t2(A,g,$,w)}var rd=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function lc(g){if(!g[rd]){g[rd]=!0,n.forEach(function(A){A!==&quot;selectionchange&quot;&amp;&amp;(vA.has(A)||np(A,!1,g),np(A,!0,g))});var w=g.nodeType===9?g:g.ownerDocument;w===null||w[rd]||(w[rd]=!0,np(&quot;selectionchange&quot;,!1,w))}}function t2(g,w,A,$){switch(Ku(w)){case 1:var G=Hm;break;case 4:G=Yl;break;default:G=Zl}A=G.bind(null,w,A,g),G=void 0,!Dt||w!==&quot;touchstart&quot;&amp;&amp;w!==&quot;touchmove&quot;&amp;&amp;w!==&quot;wheel&quot;||(G=!0),$?G!==void 0?g.addEventListener(w,A,{capture:!0,passive:G}):g.addEventListener(w,A,!0):G!==void 0?g.addEventListener(w,A,{passive:G}):g.addEventListener(w,A,!1)}function ip(g,w,A,$,G){var J=$;if((w&amp;1)===0&amp;&amp;(w&amp;2)===0&amp;&amp;$!==null)e:for(;;){if($===null)return;var oe=$.tag;if(oe===3||oe===4){var pe=$.stateNode.containerInfo;if(pe===G||pe.nodeType===8&amp;&amp;pe.parentNode===G)break;if(oe===4)for(oe=$.return;oe!==null;){var be=oe.tag;if((be===3||be===4)&amp;&amp;(be=oe.stateNode.containerInfo,be===G||be.nodeType===8&amp;&amp;be.parentNode===G))return;oe=oe.return}for(;pe!==null;){if(oe=Ka(pe),oe===null)return;if(be=oe.tag,be===5||be===6){$=J=oe;continue e}pe=pe.parentNode}}$=$.return}wt(function(){var Ee=J,Le=Wt(A),ze=[];e:{var De=Z1.get(g);if(De!==void 0){var st=Uo,ht=g;switch(g){case&quot;keypress&quot;:if(zo(A)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:st=KE;break;case&quot;focusin&quot;:ht=&quot;focus&quot;,st=pi;break;case&quot;focusout&quot;:ht=&quot;blur&quot;,st=pi;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:st=pi;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;:st=ue;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;:st=Ot;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:st=YE;break;case K1:case X1:case G1:st=Zu;break;case Y1:st=QE;break;case&quot;scroll&quot;:st=Yu;break;case&quot;wheel&quot;:st=eA;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:st=zE;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;:st=A1}var gt=(w&amp;4)!==0,Dr=!gt&amp;&amp;g===&quot;scroll&quot;,ke=gt?De!==null?De+&quot;Capture&quot;:null:De;gt=[];for(var xe=Ee,Ne;xe!==null;){Ne=xe;var We=Ne.stateNode;if(Ne.tag===5&amp;&amp;We!==null&amp;&amp;(Ne=We,ke!==null&amp;&amp;(We=zt(xe,ke),We!=null&amp;&amp;gt.push(cc(xe,We,Ne)))),Dr)break;xe=xe.return}0&lt;gt.length&amp;&amp;(De=new st(De,ht,null,A,Le),ze.push({event:De,listeners:gt}))}}if((w&amp;7)===0){e:{if(De=g===&quot;mouseover&quot;||g===&quot;pointerover&quot;,st=g===&quot;mouseout&quot;||g===&quot;pointerout&quot;,De&amp;&amp;A!==Mt&amp;&amp;(ht=A.relatedTarget||A.fromElement)&amp;&amp;(Ka(ht)||ht[Cs]))break e;if((st||De)&amp;&amp;(De=Le.window===Le?Le:(De=Le.ownerDocument)?De.defaultView||De.parentWindow:window,st?(ht=A.relatedTarget||A.toElement,st=Ee,ht=ht?Ka(ht):null,ht!==null&amp;&amp;(Dr=it(ht),ht!==Dr||ht.tag!==5&amp;&amp;ht.tag!==6)&amp;&amp;(ht=null)):(st=null,ht=Ee),st!==ht)){if(gt=ue,We=&quot;onMouseLeave&quot;,ke=&quot;onMouseEnter&quot;,xe=&quot;mouse&quot;,(g===&quot;pointerout&quot;||g===&quot;pointerover&quot;)&amp;&amp;(gt=A1,We=&quot;onPointerLeave&quot;,ke=&quot;onPointerEnter&quot;,xe=&quot;pointer&quot;),Dr=st==null?De:Yo(st),Ne=ht==null?De:Yo(ht),De=new gt(We,xe+&quot;leave&quot;,st,A,Le),De.target=Dr,De.relatedTarget=Ne,We=null,Ka(Le)===Ee&amp;&amp;(gt=new gt(ke,xe+&quot;enter&quot;,ht,A,Le),gt.target=Ne,gt.relatedTarget=Dr,We=gt),Dr=We,st&amp;&amp;ht)t:{for(gt=st,ke=ht,xe=0,Ne=gt;Ne;Ne=Xo(Ne))xe++;for(Ne=0,We=ke;We;We=Xo(We))Ne++;for(;0&lt;xe-Ne;)gt=Xo(gt),xe--;for(;0&lt;Ne-xe;)ke=Xo(ke),Ne--;for(;xe--;){if(gt===ke||ke!==null&amp;&amp;gt===ke.alternate)break t;gt=Xo(gt),ke=Xo(ke)}gt=null}else gt=null;st!==null&amp;&amp;r2(ze,De,st,gt,!1),ht!==null&amp;&amp;Dr!==null&amp;&amp;r2(ze,Dr,ht,gt,!0)}}e:{if(De=Ee?Yo(Ee):window,st=De.nodeName&amp;&amp;De.nodeName.toLowerCase(),st===&quot;select&quot;||st===&quot;input&quot;&amp;&amp;De.type===&quot;file&quot;)var yt=oA;else if(R1(De))if(L1)yt=dA;else{yt=cA;var Nt=lA}else(st=De.nodeName)&amp;&amp;st.toLowerCase()===&quot;input&quot;&amp;&amp;(De.type===&quot;checkbox&quot;||De.type===&quot;radio&quot;)&amp;&amp;(yt=uA);if(yt&amp;&amp;(yt=yt(g,Ee))){D1(ze,yt,A,Le);break e}Nt&amp;&amp;Nt(g,De,Ee),g===&quot;focusout&quot;&amp;&amp;(Nt=De._wrapperState)&amp;&amp;Nt.controlled&amp;&amp;De.type===&quot;number&quot;&amp;&amp;ie(De,&quot;number&quot;,De.value)}switch(Nt=Ee?Yo(Ee):window,g){case&quot;focusin&quot;:(R1(Nt)||Nt.contentEditable===&quot;true&quot;)&amp;&amp;(Ho=Nt,Qm=Ee,ac=null);break;case&quot;focusout&quot;:ac=Qm=Ho=null;break;case&quot;mousedown&quot;:Jm=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:Jm=!1,W1(ze,A,Le);break;case&quot;selectionchange&quot;:if(mA)break;case&quot;keydown&quot;:case&quot;keyup&quot;:W1(ze,A,Le)}var Ct;if(Xm)e:{switch(g){case&quot;compositionstart&quot;:var Rt=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Rt=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Rt=&quot;onCompositionUpdate&quot;;break e}Rt=void 0}else Wo?P1(g,A)&amp;&amp;(Rt=&quot;onCompositionEnd&quot;):g===&quot;keydown&quot;&amp;&amp;A.keyCode===229&amp;&amp;(Rt=&quot;onCompositionStart&quot;);Rt&amp;&amp;(M1&amp;&amp;A.locale!==&quot;ko&quot;&amp;&amp;(Wo||Rt!==&quot;onCompositionStart&quot;?Rt===&quot;onCompositionEnd&quot;&amp;&amp;Wo&amp;&amp;(Ct=Xu()):(as=Le,Jl=&quot;value&quot;in as?as.value:as.textContent,Wo=!0)),Nt=nd(Ee,Rt),0&lt;Nt.length&amp;&amp;(Rt=new E1(Rt,g,null,A,Le),ze.push({event:Rt,listeners:Nt}),Ct?Rt.data=Ct:(Ct=I1(A),Ct!==null&amp;&amp;(Rt.data=Ct)))),(Ct=rA?nA(g,A):iA(g,A))&amp;&amp;(Ee=nd(Ee,&quot;onBeforeInput&quot;),0&lt;Ee.length&amp;&amp;(Le=new E1(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,A,Le),ze.push({event:Le,listeners:Ee}),Le.data=Ct))}e2(ze,w)})}function cc(g,w,A){return{instance:g,listener:w,currentTarget:A}}function nd(g,w){for(var A=w+&quot;Capture&quot;,$=[];g!==null;){var G=g,J=G.stateNode;G.tag===5&amp;&amp;J!==null&amp;&amp;(G=J,J=zt(g,A),J!=null&amp;&amp;$.unshift(cc(g,J,G)),J=zt(g,w),J!=null&amp;&amp;$.push(cc(g,J,G))),g=g.return}return $}function Xo(g){if(g===null)return null;do g=g.return;while(g&amp;&amp;g.tag!==5);return g||null}function r2(g,w,A,$,G){for(var J=w._reactName,oe=[];A!==null&amp;&amp;A!==$;){var pe=A,be=pe.alternate,Ee=pe.stateNode;if(be!==null&amp;&amp;be===$)break;pe.tag===5&amp;&amp;Ee!==null&amp;&amp;(pe=Ee,G?(be=zt(A,J),be!=null&amp;&amp;oe.unshift(cc(A,be,pe))):G||(be=zt(A,J),be!=null&amp;&amp;oe.push(cc(A,be,pe)))),A=A.return}oe.length!==0&amp;&amp;g.push({event:w,listeners:oe})}var yA=/\r\n?/g,bA=/\u0000|\uFFFD/g;function n2(g){return(typeof g==&quot;string&quot;?g:&quot;&quot;+g).replace(yA,`
`).replace(bA,&quot;&quot;)}function id(g,w,A){if(w=n2(w),n2(g)!==w&amp;&amp;A)throw Error(t(425))}function sd(){}var sp=null,ap=null;function op(g,w){return g===&quot;textarea&quot;||g===&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 lp=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,xA=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,i2=typeof Promise==&quot;function&quot;?Promise:void 0,wA=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof i2&lt;&quot;u&quot;?function(g){return i2.resolve(null).then(g).catch(_A)}:lp;function _A(g){setTimeout(function(){throw g})}function cp(g,w){var A=w,$=0;do{var G=A.nextSibling;if(g.removeChild(A),G&amp;&amp;G.nodeType===8)if(A=G.data,A===&quot;/$&quot;){if($===0){g.removeChild(G),Wa(w);return}$--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$?&quot;&amp;&amp;A!==&quot;$!&quot;||$++;A=G}while(A);Wa(w)}function oa(g){for(;g!=null;g=g.nextSibling){var w=g.nodeType;if(w===1||w===3)break;if(w===8){if(w=g.data,w===&quot;$&quot;||w===&quot;$!&quot;||w===&quot;$?&quot;)break;if(w===&quot;/$&quot;)return null}}return g}function s2(g){g=g.previousSibling;for(var w=0;g;){if(g.nodeType===8){var A=g.data;if(A===&quot;$&quot;||A===&quot;$!&quot;||A===&quot;$?&quot;){if(w===0)return g;w--}else A===&quot;/$&quot;&amp;&amp;w++}g=g.previousSibling}return null}var Go=Math.random().toString(36).slice(2),ls=&quot;__reactFiber$&quot;+Go,uc=&quot;__reactProps$&quot;+Go,Cs=&quot;__reactContainer$&quot;+Go,up=&quot;__reactEvents$&quot;+Go,jA=&quot;__reactListeners$&quot;+Go,SA=&quot;__reactHandles$&quot;+Go;function Ka(g){var w=g[ls];if(w)return w;for(var A=g.parentNode;A;){if(w=A[Cs]||A[ls]){if(A=w.alternate,w.child!==null||A!==null&amp;&amp;A.child!==null)for(g=s2(g);g!==null;){if(A=g[ls])return A;g=s2(g)}return w}g=A,A=g.parentNode}return null}function dc(g){return g=g[ls]||g[Cs],!g||g.tag!==5&amp;&amp;g.tag!==6&amp;&amp;g.tag!==13&amp;&amp;g.tag!==3?null:g}function Yo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(t(33))}function ad(g){return g[uc]||null}var dp=[],Zo=-1;function la(g){return{current:g}}function pr(g){0&gt;Zo||(g.current=dp[Zo],dp[Zo]=null,Zo--)}function fr(g,w){Zo++,dp[Zo]=g.current,g.current=w}var ca={},Sn=la(ca),qn=la(!1),Xa=ca;function Qo(g,w){var A=g.type.contextTypes;if(!A)return ca;var $=g.stateNode;if($&amp;&amp;$.__reactInternalMemoizedUnmaskedChildContext===w)return $.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in A)G[J]=w[J];return $&amp;&amp;(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=w,g.__reactInternalMemoizedMaskedChildContext=G),G}function Wn(g){return g=g.childContextTypes,g!=null}function od(){pr(qn),pr(Sn)}function a2(g,w,A){if(Sn.current!==ca)throw Error(t(168));fr(Sn,w),fr(qn,A)}function o2(g,w,A){var $=g.stateNode;if(w=w.childContextTypes,typeof $.getChildContext!=&quot;function&quot;)return A;$=$.getChildContext();for(var G in $)if(!(G in w))throw Error(t(108,ee(g)||&quot;Unknown&quot;,G));return T({},A,$)}function ld(g){return g=(g=g.stateNode)&amp;&amp;g.__reactInternalMemoizedMergedChildContext||ca,Xa=Sn.current,fr(Sn,g),fr(qn,qn.current),!0}function l2(g,w,A){var $=g.stateNode;if(!$)throw Error(t(169));A?(g=o2(g,w,Xa),$.__reactInternalMemoizedMergedChildContext=g,pr(qn),pr(Sn),fr(Sn,g)):pr(qn),fr(qn,A)}var Es=null,cd=!1,fp=!1;function c2(g){Es===null?Es=[g]:Es.push(g)}function kA(g){cd=!0,c2(g)}function ua(){if(!fp&amp;&amp;Es!==null){fp=!0;var g=0,w=Bt;try{var A=Es;for(Bt=1;g&lt;A.length;g++){var $=A[g];do $=$(!0);while($!==null)}Es=null,cd=!1}catch(G){throw Es!==null&amp;&amp;(Es=Es.slice(g+1)),nr(Re,ua),G}finally{Bt=w,fp=!1}}return null}var Jo=[],el=0,ud=null,dd=0,gi=[],vi=0,Ga=null,As=1,Ms=&quot;&quot;;function Ya(g,w){Jo[el++]=dd,Jo[el++]=ud,ud=g,dd=w}function u2(g,w,A){gi[vi++]=As,gi[vi++]=Ms,gi[vi++]=Ga,Ga=g;var $=As;g=Ms;var G=32-Et($)-1;$&amp;=~(1&lt;&lt;G),A+=1;var J=32-Et(w)+G;if(30&lt;J){var oe=G-G%5;J=($&amp;(1&lt;&lt;oe)-1).toString(32),$&gt;&gt;=oe,G-=oe,As=1&lt;&lt;32-Et(w)+G|A&lt;&lt;G|$,Ms=J+g}else As=1&lt;&lt;J|A&lt;&lt;G|$,Ms=g}function hp(g){g.return!==null&amp;&amp;(Ya(g,1),u2(g,1,0))}function mp(g){for(;g===ud;)ud=Jo[--el],Jo[el]=null,dd=Jo[--el],Jo[el]=null;for(;g===Ga;)Ga=gi[--vi],gi[vi]=null,Ms=gi[--vi],gi[vi]=null,As=gi[--vi],gi[vi]=null}var ri=null,ni=null,br=!1,Fi=null;function d2(g,w){var A=wi(5,null,null,0);A.elementType=&quot;DELETED&quot;,A.stateNode=w,A.return=g,w=g.deletions,w===null?(g.deletions=[A],g.flags|=16):w.push(A)}function f2(g,w){switch(g.tag){case 5:var A=g.type;return w=w.nodeType!==1||A.toLowerCase()!==w.nodeName.toLowerCase()?null:w,w!==null?(g.stateNode=w,ri=g,ni=oa(w.firstChild),!0):!1;case 6:return w=g.pendingProps===&quot;&quot;||w.nodeType!==3?null:w,w!==null?(g.stateNode=w,ri=g,ni=null,!0):!1;case 13:return w=w.nodeType!==8?null:w,w!==null?(A=Ga!==null?{id:As,overflow:Ms}:null,g.memoizedState={dehydrated:w,treeContext:A,retryLane:1073741824},A=wi(18,null,null,0),A.stateNode=w,A.return=g,g.child=A,ri=g,ni=null,!0):!1;default:return!1}}function pp(g){return(g.mode&amp;1)!==0&amp;&amp;(g.flags&amp;128)===0}function gp(g){if(br){var w=ni;if(w){var A=w;if(!f2(g,w)){if(pp(g))throw Error(t(418));w=oa(A.nextSibling);var $=ri;w&amp;&amp;f2(g,w)?d2($,A):(g.flags=g.flags&amp;-4097|2,br=!1,ri=g)}}else{if(pp(g))throw Error(t(418));g.flags=g.flags&amp;-4097|2,br=!1,ri=g}}}function h2(g){for(g=g.return;g!==null&amp;&amp;g.tag!==5&amp;&amp;g.tag!==3&amp;&amp;g.tag!==13;)g=g.return;ri=g}function fd(g){if(g!==ri)return!1;if(!br)return h2(g),br=!0,!1;var w;if((w=g.tag!==3)&amp;&amp;!(w=g.tag!==5)&amp;&amp;(w=g.type,w=w!==&quot;head&quot;&amp;&amp;w!==&quot;body&quot;&amp;&amp;!op(g.type,g.memoizedProps)),w&amp;&amp;(w=ni)){if(pp(g))throw m2(),Error(t(418));for(;w;)d2(g,w),w=oa(w.nextSibling)}if(h2(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(t(317));e:{for(g=g.nextSibling,w=0;g;){if(g.nodeType===8){var A=g.data;if(A===&quot;/$&quot;){if(w===0){ni=oa(g.nextSibling);break e}w--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$!&quot;&amp;&amp;A!==&quot;$?&quot;||w++}g=g.nextSibling}ni=null}}else ni=ri?oa(g.stateNode.nextSibling):null;return!0}function m2(){for(var g=ni;g;)g=oa(g.nextSibling)}function tl(){ni=ri=null,br=!1}function vp(g){Fi===null?Fi=[g]:Fi.push(g)}var NA=E.ReactCurrentBatchConfig;function fc(g,w,A){if(g=A.ref,g!==null&amp;&amp;typeof g!=&quot;function&quot;&amp;&amp;typeof g!=&quot;object&quot;){if(A._owner){if(A=A._owner,A){if(A.tag!==1)throw Error(t(309));var $=A.stateNode}if(!$)throw Error(t(147,g));var G=$,J=&quot;&quot;+g;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(oe){var pe=G.refs;oe===null?delete pe[J]:pe[J]=oe},w._stringRef=J,w)}if(typeof g!=&quot;string&quot;)throw Error(t(284));if(!A._owner)throw Error(t(290,g))}return g}function hd(g,w){throw g=Object.prototype.toString.call(w),Error(t(31,g===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(w).join(&quot;, &quot;)+&quot;}&quot;:g))}function p2(g){var w=g._init;return w(g._payload)}function g2(g){function w(ke,xe){if(g){var Ne=ke.deletions;Ne===null?(ke.deletions=[xe],ke.flags|=16):Ne.push(xe)}}function A(ke,xe){if(!g)return null;for(;xe!==null;)w(ke,xe),xe=xe.sibling;return null}function $(ke,xe){for(ke=new Map;xe!==null;)xe.key!==null?ke.set(xe.key,xe):ke.set(xe.index,xe),xe=xe.sibling;return ke}function G(ke,xe){return ke=ya(ke,xe),ke.index=0,ke.sibling=null,ke}function J(ke,xe,Ne){return ke.index=Ne,g?(Ne=ke.alternate,Ne!==null?(Ne=Ne.index,Ne&lt;xe?(ke.flags|=2,xe):Ne):(ke.flags|=2,xe)):(ke.flags|=1048576,xe)}function oe(ke){return g&amp;&amp;ke.alternate===null&amp;&amp;(ke.flags|=2),ke}function pe(ke,xe,Ne,We){return xe===null||xe.tag!==6?(xe=l0(Ne,ke.mode,We),xe.return=ke,xe):(xe=G(xe,Ne),xe.return=ke,xe)}function be(ke,xe,Ne,We){var yt=Ne.type;return yt===W?Le(ke,xe,Ne.props.children,We,Ne.key):xe!==null&amp;&amp;(xe.elementType===yt||typeof yt==&quot;object&quot;&amp;&amp;yt!==null&amp;&amp;yt.$$typeof===j&amp;&amp;p2(yt)===xe.type)?(We=G(xe,Ne.props),We.ref=fc(ke,xe,Ne),We.return=ke,We):(We=Ld(Ne.type,Ne.key,Ne.props,null,ke.mode,We),We.ref=fc(ke,xe,Ne),We.return=ke,We)}function Ee(ke,xe,Ne,We){return xe===null||xe.tag!==4||xe.stateNode.containerInfo!==Ne.containerInfo||xe.stateNode.implementation!==Ne.implementation?(xe=c0(Ne,ke.mode,We),xe.return=ke,xe):(xe=G(xe,Ne.children||[]),xe.return=ke,xe)}function Le(ke,xe,Ne,We,yt){return xe===null||xe.tag!==7?(xe=io(Ne,ke.mode,We,yt),xe.return=ke,xe):(xe=G(xe,Ne),xe.return=ke,xe)}function ze(ke,xe,Ne){if(typeof xe==&quot;string&quot;&amp;&amp;xe!==&quot;&quot;||typeof xe==&quot;number&quot;)return xe=l0(&quot;&quot;+xe,ke.mode,Ne),xe.return=ke,xe;if(typeof xe==&quot;object&quot;&amp;&amp;xe!==null){switch(xe.$$typeof){case M:return Ne=Ld(xe.type,xe.key,xe.props,null,ke.mode,Ne),Ne.ref=fc(ke,null,xe),Ne.return=ke,Ne;case D:return xe=c0(xe,ke.mode,Ne),xe.return=ke,xe;case j:var We=xe._init;return ze(ke,We(xe._payload),Ne)}if(me(xe)||N(xe))return xe=io(xe,ke.mode,Ne,null),xe.return=ke,xe;hd(ke,xe)}return null}function De(ke,xe,Ne,We){var yt=xe!==null?xe.key:null;if(typeof Ne==&quot;string&quot;&amp;&amp;Ne!==&quot;&quot;||typeof Ne==&quot;number&quot;)return yt!==null?null:pe(ke,xe,&quot;&quot;+Ne,We);if(typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null){switch(Ne.$$typeof){case M:return Ne.key===yt?be(ke,xe,Ne,We):null;case D:return Ne.key===yt?Ee(ke,xe,Ne,We):null;case j:return yt=Ne._init,De(ke,xe,yt(Ne._payload),We)}if(me(Ne)||N(Ne))return yt!==null?null:Le(ke,xe,Ne,We,null);hd(ke,Ne)}return null}function st(ke,xe,Ne,We,yt){if(typeof We==&quot;string&quot;&amp;&amp;We!==&quot;&quot;||typeof We==&quot;number&quot;)return ke=ke.get(Ne)||null,pe(xe,ke,&quot;&quot;+We,yt);if(typeof We==&quot;object&quot;&amp;&amp;We!==null){switch(We.$$typeof){case M:return ke=ke.get(We.key===null?Ne:We.key)||null,be(xe,ke,We,yt);case D:return ke=ke.get(We.key===null?Ne:We.key)||null,Ee(xe,ke,We,yt);case j:var Nt=We._init;return st(ke,xe,Ne,Nt(We._payload),yt)}if(me(We)||N(We))return ke=ke.get(Ne)||null,Le(xe,ke,We,yt,null);hd(xe,We)}return null}function ht(ke,xe,Ne,We){for(var yt=null,Nt=null,Ct=xe,Rt=xe=0,nn=null;Ct!==null&amp;&amp;Rt&lt;Ne.length;Rt++){Ct.index&gt;Rt?(nn=Ct,Ct=null):nn=Ct.sibling;var Jt=De(ke,Ct,Ne[Rt],We);if(Jt===null){Ct===null&amp;&amp;(Ct=nn);break}g&amp;&amp;Ct&amp;&amp;Jt.alternate===null&amp;&amp;w(ke,Ct),xe=J(Jt,xe,Rt),Nt===null?yt=Jt:Nt.sibling=Jt,Nt=Jt,Ct=nn}if(Rt===Ne.length)return A(ke,Ct),br&amp;&amp;Ya(ke,Rt),yt;if(Ct===null){for(;Rt&lt;Ne.length;Rt++)Ct=ze(ke,Ne[Rt],We),Ct!==null&amp;&amp;(xe=J(Ct,xe,Rt),Nt===null?yt=Ct:Nt.sibling=Ct,Nt=Ct);return br&amp;&amp;Ya(ke,Rt),yt}for(Ct=$(ke,Ct);Rt&lt;Ne.length;Rt++)nn=st(Ct,ke,Rt,Ne[Rt],We),nn!==null&amp;&amp;(g&amp;&amp;nn.alternate!==null&amp;&amp;Ct.delete(nn.key===null?Rt:nn.key),xe=J(nn,xe,Rt),Nt===null?yt=nn:Nt.sibling=nn,Nt=nn);return g&amp;&amp;Ct.forEach(function(ba){return w(ke,ba)}),br&amp;&amp;Ya(ke,Rt),yt}function gt(ke,xe,Ne,We){var yt=N(Ne);if(typeof yt!=&quot;function&quot;)throw Error(t(150));if(Ne=yt.call(Ne),Ne==null)throw Error(t(151));for(var Nt=yt=null,Ct=xe,Rt=xe=0,nn=null,Jt=Ne.next();Ct!==null&amp;&amp;!Jt.done;Rt++,Jt=Ne.next()){Ct.index&gt;Rt?(nn=Ct,Ct=null):nn=Ct.sibling;var ba=De(ke,Ct,Jt.value,We);if(ba===null){Ct===null&amp;&amp;(Ct=nn);break}g&amp;&amp;Ct&amp;&amp;ba.alternate===null&amp;&amp;w(ke,Ct),xe=J(ba,xe,Rt),Nt===null?yt=ba:Nt.sibling=ba,Nt=ba,Ct=nn}if(Jt.done)return A(ke,Ct),br&amp;&amp;Ya(ke,Rt),yt;if(Ct===null){for(;!Jt.done;Rt++,Jt=Ne.next())Jt=ze(ke,Jt.value,We),Jt!==null&amp;&amp;(xe=J(Jt,xe,Rt),Nt===null?yt=Jt:Nt.sibling=Jt,Nt=Jt);return br&amp;&amp;Ya(ke,Rt),yt}for(Ct=$(ke,Ct);!Jt.done;Rt++,Jt=Ne.next())Jt=st(Ct,ke,Rt,Jt.value,We),Jt!==null&amp;&amp;(g&amp;&amp;Jt.alternate!==null&amp;&amp;Ct.delete(Jt.key===null?Rt:Jt.key),xe=J(Jt,xe,Rt),Nt===null?yt=Jt:Nt.sibling=Jt,Nt=Jt);return g&amp;&amp;Ct.forEach(function(sM){return w(ke,sM)}),br&amp;&amp;Ya(ke,Rt),yt}function Dr(ke,xe,Ne,We){if(typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null&amp;&amp;Ne.type===W&amp;&amp;Ne.key===null&amp;&amp;(Ne=Ne.props.children),typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null){switch(Ne.$$typeof){case M:e:{for(var yt=Ne.key,Nt=xe;Nt!==null;){if(Nt.key===yt){if(yt=Ne.type,yt===W){if(Nt.tag===7){A(ke,Nt.sibling),xe=G(Nt,Ne.props.children),xe.return=ke,ke=xe;break e}}else if(Nt.elementType===yt||typeof yt==&quot;object&quot;&amp;&amp;yt!==null&amp;&amp;yt.$$typeof===j&amp;&amp;p2(yt)===Nt.type){A(ke,Nt.sibling),xe=G(Nt,Ne.props),xe.ref=fc(ke,Nt,Ne),xe.return=ke,ke=xe;break e}A(ke,Nt);break}else w(ke,Nt);Nt=Nt.sibling}Ne.type===W?(xe=io(Ne.props.children,ke.mode,We,Ne.key),xe.return=ke,ke=xe):(We=Ld(Ne.type,Ne.key,Ne.props,null,ke.mode,We),We.ref=fc(ke,xe,Ne),We.return=ke,ke=We)}return oe(ke);case D:e:{for(Nt=Ne.key;xe!==null;){if(xe.key===Nt)if(xe.tag===4&amp;&amp;xe.stateNode.containerInfo===Ne.containerInfo&amp;&amp;xe.stateNode.implementation===Ne.implementation){A(ke,xe.sibling),xe=G(xe,Ne.children||[]),xe.return=ke,ke=xe;break e}else{A(ke,xe);break}else w(ke,xe);xe=xe.sibling}xe=c0(Ne,ke.mode,We),xe.return=ke,ke=xe}return oe(ke);case j:return Nt=Ne._init,Dr(ke,xe,Nt(Ne._payload),We)}if(me(Ne))return ht(ke,xe,Ne,We);if(N(Ne))return gt(ke,xe,Ne,We);hd(ke,Ne)}return typeof Ne==&quot;string&quot;&amp;&amp;Ne!==&quot;&quot;||typeof Ne==&quot;number&quot;?(Ne=&quot;&quot;+Ne,xe!==null&amp;&amp;xe.tag===6?(A(ke,xe.sibling),xe=G(xe,Ne),xe.return=ke,ke=xe):(A(ke,xe),xe=l0(Ne,ke.mode,We),xe.return=ke,ke=xe),oe(ke)):A(ke,xe)}return Dr}var rl=g2(!0),v2=g2(!1),md=la(null),pd=null,nl=null,yp=null;function bp(){yp=nl=pd=null}function xp(g){var w=md.current;pr(md),g._currentValue=w}function wp(g,w,A){for(;g!==null;){var $=g.alternate;if((g.childLanes&amp;w)!==w?(g.childLanes|=w,$!==null&amp;&amp;($.childLanes|=w)):$!==null&amp;&amp;($.childLanes&amp;w)!==w&amp;&amp;($.childLanes|=w),g===A)break;g=g.return}}function il(g,w){pd=g,yp=nl=null,g=g.dependencies,g!==null&amp;&amp;g.firstContext!==null&amp;&amp;((g.lanes&amp;w)!==0&amp;&amp;(Hn=!0),g.firstContext=null)}function yi(g){var w=g._currentValue;if(yp!==g)if(g={context:g,memoizedValue:w,next:null},nl===null){if(pd===null)throw Error(t(308));nl=g,pd.dependencies={lanes:0,firstContext:g}}else nl=nl.next=g;return w}var Za=null;function _p(g){Za===null?Za=[g]:Za.push(g)}function y2(g,w,A,$){var G=w.interleaved;return G===null?(A.next=A,_p(w)):(A.next=G.next,G.next=A),w.interleaved=A,Os(g,$)}function Os(g,w){g.lanes|=w;var A=g.alternate;for(A!==null&amp;&amp;(A.lanes|=w),A=g,g=g.return;g!==null;)g.childLanes|=w,A=g.alternate,A!==null&amp;&amp;(A.childLanes|=w),A=g,g=g.return;return A.tag===3?A.stateNode:null}var da=!1;function jp(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function b2(g,w){g=g.updateQueue,w.updateQueue===g&amp;&amp;(w.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function Ts(g,w){return{eventTime:g,lane:w,tag:0,payload:null,callback:null,next:null}}function fa(g,w,A){var $=g.updateQueue;if($===null)return null;if($=$.shared,(Qt&amp;2)!==0){var G=$.pending;return G===null?w.next=w:(w.next=G.next,G.next=w),$.pending=w,Os(g,A)}return G=$.interleaved,G===null?(w.next=w,_p($)):(w.next=G.next,G.next=w),$.interleaved=w,Os(g,A)}function gd(g,w,A){if(w=w.updateQueue,w!==null&amp;&amp;(w=w.shared,(A&amp;4194240)!==0)){var $=w.lanes;$&amp;=g.pendingLanes,A|=$,w.lanes=A,fi(g,A)}}function x2(g,w){var A=g.updateQueue,$=g.alternate;if($!==null&amp;&amp;($=$.updateQueue,A===$)){var G=null,J=null;if(A=A.firstBaseUpdate,A!==null){do{var oe={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};J===null?G=J=oe:J=J.next=oe,A=A.next}while(A!==null);J===null?G=J=w:J=J.next=w}else G=J=w;A={baseState:$.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:$.shared,effects:$.effects},g.updateQueue=A;return}g=A.lastBaseUpdate,g===null?A.firstBaseUpdate=w:g.next=w,A.lastBaseUpdate=w}function vd(g,w,A,$){var G=g.updateQueue;da=!1;var J=G.firstBaseUpdate,oe=G.lastBaseUpdate,pe=G.shared.pending;if(pe!==null){G.shared.pending=null;var be=pe,Ee=be.next;be.next=null,oe===null?J=Ee:oe.next=Ee,oe=be;var Le=g.alternate;Le!==null&amp;&amp;(Le=Le.updateQueue,pe=Le.lastBaseUpdate,pe!==oe&amp;&amp;(pe===null?Le.firstBaseUpdate=Ee:pe.next=Ee,Le.lastBaseUpdate=be))}if(J!==null){var ze=G.baseState;oe=0,Le=Ee=be=null,pe=J;do{var De=pe.lane,st=pe.eventTime;if(($&amp;De)===De){Le!==null&amp;&amp;(Le=Le.next={eventTime:st,lane:0,tag:pe.tag,payload:pe.payload,callback:pe.callback,next:null});e:{var ht=g,gt=pe;switch(De=w,st=A,gt.tag){case 1:if(ht=gt.payload,typeof ht==&quot;function&quot;){ze=ht.call(st,ze,De);break e}ze=ht;break e;case 3:ht.flags=ht.flags&amp;-65537|128;case 0:if(ht=gt.payload,De=typeof ht==&quot;function&quot;?ht.call(st,ze,De):ht,De==null)break e;ze=T({},ze,De);break e;case 2:da=!0}}pe.callback!==null&amp;&amp;pe.lane!==0&amp;&amp;(g.flags|=64,De=G.effects,De===null?G.effects=[pe]:De.push(pe))}else st={eventTime:st,lane:De,tag:pe.tag,payload:pe.payload,callback:pe.callback,next:null},Le===null?(Ee=Le=st,be=ze):Le=Le.next=st,oe|=De;if(pe=pe.next,pe===null){if(pe=G.shared.pending,pe===null)break;De=pe,pe=De.next,De.next=null,G.lastBaseUpdate=De,G.shared.pending=null}}while(!0);if(Le===null&amp;&amp;(be=ze),G.baseState=be,G.firstBaseUpdate=Ee,G.lastBaseUpdate=Le,w=G.shared.interleaved,w!==null){G=w;do oe|=G.lane,G=G.next;while(G!==w)}else J===null&amp;&amp;(G.shared.lanes=0);eo|=oe,g.lanes=oe,g.memoizedState=ze}}function w2(g,w,A){if(g=w.effects,w.effects=null,g!==null)for(w=0;w&lt;g.length;w++){var $=g[w],G=$.callback;if(G!==null){if($.callback=null,$=A,typeof G!=&quot;function&quot;)throw Error(t(191,G));G.call($)}}}var hc={},cs=la(hc),mc=la(hc),pc=la(hc);function Qa(g){if(g===hc)throw Error(t(174));return g}function Sp(g,w){switch(fr(pc,w),fr(mc,g),fr(cs,hc),g=w.nodeType,g){case 9:case 11:w=(w=w.documentElement)?w.namespaceURI:Te(null,&quot;&quot;);break;default:g=g===8?w.parentNode:w,w=g.namespaceURI||null,g=g.tagName,w=Te(w,g)}pr(cs),fr(cs,w)}function sl(){pr(cs),pr(mc),pr(pc)}function _2(g){Qa(pc.current);var w=Qa(cs.current),A=Te(w,g.type);w!==A&amp;&amp;(fr(mc,g),fr(cs,A))}function kp(g){mc.current===g&amp;&amp;(pr(cs),pr(mc))}var Nr=la(0);function yd(g){for(var w=g;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===g)break;for(;w.sibling===null;){if(w.return===null||w.return===g)return null;w=w.return}w.sibling.return=w.return,w=w.sibling}return null}var Np=[];function Cp(){for(var g=0;g&lt;Np.length;g++)Np[g]._workInProgressVersionPrimary=null;Np.length=0}var bd=E.ReactCurrentDispatcher,Ep=E.ReactCurrentBatchConfig,Ja=0,Cr=null,Wr=null,tn=null,xd=!1,gc=!1,vc=0,CA=0;function kn(){throw Error(t(321))}function Ap(g,w){if(w===null)return!1;for(var A=0;A&lt;w.length&amp;&amp;A&lt;g.length;A++)if(!Li(g[A],w[A]))return!1;return!0}function Mp(g,w,A,$,G,J){if(Ja=J,Cr=w,w.memoizedState=null,w.updateQueue=null,w.lanes=0,bd.current=g===null||g.memoizedState===null?OA:TA,g=A($,G),gc){J=0;do{if(gc=!1,vc=0,25&lt;=J)throw Error(t(301));J+=1,tn=Wr=null,w.updateQueue=null,bd.current=PA,g=A($,G)}while(gc)}if(bd.current=jd,w=Wr!==null&amp;&amp;Wr.next!==null,Ja=0,tn=Wr=Cr=null,xd=!1,w)throw Error(t(300));return g}function Op(){var g=vc!==0;return vc=0,g}function us(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tn===null?Cr.memoizedState=tn=g:tn=tn.next=g,tn}function bi(){if(Wr===null){var g=Cr.alternate;g=g!==null?g.memoizedState:null}else g=Wr.next;var w=tn===null?Cr.memoizedState:tn.next;if(w!==null)tn=w,Wr=g;else{if(g===null)throw Error(t(310));Wr=g,g={memoizedState:Wr.memoizedState,baseState:Wr.baseState,baseQueue:Wr.baseQueue,queue:Wr.queue,next:null},tn===null?Cr.memoizedState=tn=g:tn=tn.next=g}return tn}function yc(g,w){return typeof w==&quot;function&quot;?w(g):w}function Tp(g){var w=bi(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=g;var $=Wr,G=$.baseQueue,J=A.pending;if(J!==null){if(G!==null){var oe=G.next;G.next=J.next,J.next=oe}$.baseQueue=G=J,A.pending=null}if(G!==null){J=G.next,$=$.baseState;var pe=oe=null,be=null,Ee=J;do{var Le=Ee.lane;if((Ja&amp;Le)===Le)be!==null&amp;&amp;(be=be.next={lane:0,action:Ee.action,hasEagerState:Ee.hasEagerState,eagerState:Ee.eagerState,next:null}),$=Ee.hasEagerState?Ee.eagerState:g($,Ee.action);else{var ze={lane:Le,action:Ee.action,hasEagerState:Ee.hasEagerState,eagerState:Ee.eagerState,next:null};be===null?(pe=be=ze,oe=$):be=be.next=ze,Cr.lanes|=Le,eo|=Le}Ee=Ee.next}while(Ee!==null&amp;&amp;Ee!==J);be===null?oe=$:be.next=pe,Li($,w.memoizedState)||(Hn=!0),w.memoizedState=$,w.baseState=oe,w.baseQueue=be,A.lastRenderedState=$}if(g=A.interleaved,g!==null){G=g;do J=G.lane,Cr.lanes|=J,eo|=J,G=G.next;while(G!==g)}else G===null&amp;&amp;(A.lanes=0);return[w.memoizedState,A.dispatch]}function Pp(g){var w=bi(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=g;var $=A.dispatch,G=A.pending,J=w.memoizedState;if(G!==null){A.pending=null;var oe=G=G.next;do J=g(J,oe.action),oe=oe.next;while(oe!==G);Li(J,w.memoizedState)||(Hn=!0),w.memoizedState=J,w.baseQueue===null&amp;&amp;(w.baseState=J),A.lastRenderedState=J}return[J,$]}function j2(){}function S2(g,w){var A=Cr,$=bi(),G=w(),J=!Li($.memoizedState,G);if(J&amp;&amp;($.memoizedState=G,Hn=!0),$=$.queue,Ip(C2.bind(null,A,$,g),[g]),$.getSnapshot!==w||J||tn!==null&amp;&amp;tn.memoizedState.tag&amp;1){if(A.flags|=2048,bc(9,N2.bind(null,A,$,G,w),void 0,null),rn===null)throw Error(t(349));(Ja&amp;30)!==0||k2(A,w,G)}return G}function k2(g,w,A){g.flags|=16384,g={getSnapshot:w,value:A},w=Cr.updateQueue,w===null?(w={lastEffect:null,stores:null},Cr.updateQueue=w,w.stores=[g]):(A=w.stores,A===null?w.stores=[g]:A.push(g))}function N2(g,w,A,$){w.value=A,w.getSnapshot=$,E2(w)&amp;&amp;A2(g)}function C2(g,w,A){return A(function(){E2(w)&amp;&amp;A2(g)})}function E2(g){var w=g.getSnapshot;g=g.value;try{var A=w();return!Li(g,A)}catch{return!0}}function A2(g){var w=Os(g,1);w!==null&amp;&amp;Ui(w,g,1,-1)}function M2(g){var w=us();return typeof g==&quot;function&quot;&amp;&amp;(g=g()),w.memoizedState=w.baseState=g,g={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yc,lastRenderedState:g},w.queue=g,g=g.dispatch=MA.bind(null,Cr,g),[w.memoizedState,g]}function bc(g,w,A,$){return g={tag:g,create:w,destroy:A,deps:$,next:null},w=Cr.updateQueue,w===null?(w={lastEffect:null,stores:null},Cr.updateQueue=w,w.lastEffect=g.next=g):(A=w.lastEffect,A===null?w.lastEffect=g.next=g:($=A.next,A.next=g,g.next=$,w.lastEffect=g)),g}function O2(){return bi().memoizedState}function wd(g,w,A,$){var G=us();Cr.flags|=g,G.memoizedState=bc(1|w,A,void 0,$===void 0?null:$)}function _d(g,w,A,$){var G=bi();$=$===void 0?null:$;var J=void 0;if(Wr!==null){var oe=Wr.memoizedState;if(J=oe.destroy,$!==null&amp;&amp;Ap($,oe.deps)){G.memoizedState=bc(w,A,J,$);return}}Cr.flags|=g,G.memoizedState=bc(1|w,A,J,$)}function T2(g,w){return wd(8390656,8,g,w)}function Ip(g,w){return _d(2048,8,g,w)}function P2(g,w){return _d(4,2,g,w)}function I2(g,w){return _d(4,4,g,w)}function R2(g,w){if(typeof w==&quot;function&quot;)return g=g(),w(g),function(){w(null)};if(w!=null)return g=g(),w.current=g,function(){w.current=null}}function D2(g,w,A){return A=A!=null?A.concat([g]):null,_d(4,4,R2.bind(null,w,g),A)}function Rp(){}function L2(g,w){var A=bi();w=w===void 0?null:w;var $=A.memoizedState;return $!==null&amp;&amp;w!==null&amp;&amp;Ap(w,$[1])?$[0]:(A.memoizedState=[g,w],g)}function F2(g,w){var A=bi();w=w===void 0?null:w;var $=A.memoizedState;return $!==null&amp;&amp;w!==null&amp;&amp;Ap(w,$[1])?$[0]:(g=g(),A.memoizedState=[g,w],g)}function B2(g,w,A){return(Ja&amp;21)===0?(g.baseState&amp;&amp;(g.baseState=!1,Hn=!0),g.memoizedState=A):(Li(A,w)||(A=Xt(),Cr.lanes|=A,eo|=A,g.baseState=!0),w)}function EA(g,w){var A=Bt;Bt=A!==0&amp;&amp;4&gt;A?A:4,g(!0);var $=Ep.transition;Ep.transition={};try{g(!1),w()}finally{Bt=A,Ep.transition=$}}function z2(){return bi().memoizedState}function AA(g,w,A){var $=ga(g);if(A={lane:$,action:A,hasEagerState:!1,eagerState:null,next:null},$2(g))U2(w,A);else if(A=y2(g,w,A,$),A!==null){var G=In();Ui(A,g,$,G),V2(A,w,$)}}function MA(g,w,A){var $=ga(g),G={lane:$,action:A,hasEagerState:!1,eagerState:null,next:null};if($2(g))U2(w,G);else{var J=g.alternate;if(g.lanes===0&amp;&amp;(J===null||J.lanes===0)&amp;&amp;(J=w.lastRenderedReducer,J!==null))try{var oe=w.lastRenderedState,pe=J(oe,A);if(G.hasEagerState=!0,G.eagerState=pe,Li(pe,oe)){var be=w.interleaved;be===null?(G.next=G,_p(w)):(G.next=be.next,be.next=G),w.interleaved=G;return}}catch{}A=y2(g,w,G,$),A!==null&amp;&amp;(G=In(),Ui(A,g,$,G),V2(A,w,$))}}function $2(g){var w=g.alternate;return g===Cr||w!==null&amp;&amp;w===Cr}function U2(g,w){gc=xd=!0;var A=g.pending;A===null?w.next=w:(w.next=A.next,A.next=w),g.pending=w}function V2(g,w,A){if((A&amp;4194240)!==0){var $=w.lanes;$&amp;=g.pendingLanes,A|=$,w.lanes=A,fi(g,A)}}var jd={readContext:yi,useCallback:kn,useContext:kn,useEffect:kn,useImperativeHandle:kn,useInsertionEffect:kn,useLayoutEffect:kn,useMemo:kn,useReducer:kn,useRef:kn,useState:kn,useDebugValue:kn,useDeferredValue:kn,useTransition:kn,useMutableSource:kn,useSyncExternalStore:kn,useId:kn,unstable_isNewReconciler:!1},OA={readContext:yi,useCallback:function(g,w){return us().memoizedState=[g,w===void 0?null:w],g},useContext:yi,useEffect:T2,useImperativeHandle:function(g,w,A){return A=A!=null?A.concat([g]):null,wd(4194308,4,R2.bind(null,w,g),A)},useLayoutEffect:function(g,w){return wd(4194308,4,g,w)},useInsertionEffect:function(g,w){return wd(4,2,g,w)},useMemo:function(g,w){var A=us();return w=w===void 0?null:w,g=g(),A.memoizedState=[g,w],g},useReducer:function(g,w,A){var $=us();return w=A!==void 0?A(w):w,$.memoizedState=$.baseState=w,g={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:g,lastRenderedState:w},$.queue=g,g=g.dispatch=AA.bind(null,Cr,g),[$.memoizedState,g]},useRef:function(g){var w=us();return g={current:g},w.memoizedState=g},useState:M2,useDebugValue:Rp,useDeferredValue:function(g){return us().memoizedState=g},useTransition:function(){var g=M2(!1),w=g[0];return g=EA.bind(null,g[1]),us().memoizedState=g,[w,g]},useMutableSource:function(){},useSyncExternalStore:function(g,w,A){var $=Cr,G=us();if(br){if(A===void 0)throw Error(t(407));A=A()}else{if(A=w(),rn===null)throw Error(t(349));(Ja&amp;30)!==0||k2($,w,A)}G.memoizedState=A;var J={value:A,getSnapshot:w};return G.queue=J,T2(C2.bind(null,$,J,g),[g]),$.flags|=2048,bc(9,N2.bind(null,$,J,A,w),void 0,null),A},useId:function(){var g=us(),w=rn.identifierPrefix;if(br){var A=Ms,$=As;A=($&amp;~(1&lt;&lt;32-Et($)-1)).toString(32)+A,w=&quot;:&quot;+w+&quot;R&quot;+A,A=vc++,0&lt;A&amp;&amp;(w+=&quot;H&quot;+A.toString(32)),w+=&quot;:&quot;}else A=CA++,w=&quot;:&quot;+w+&quot;r&quot;+A.toString(32)+&quot;:&quot;;return g.memoizedState=w},unstable_isNewReconciler:!1},TA={readContext:yi,useCallback:L2,useContext:yi,useEffect:Ip,useImperativeHandle:D2,useInsertionEffect:P2,useLayoutEffect:I2,useMemo:F2,useReducer:Tp,useRef:O2,useState:function(){return Tp(yc)},useDebugValue:Rp,useDeferredValue:function(g){var w=bi();return B2(w,Wr.memoizedState,g)},useTransition:function(){var g=Tp(yc)[0],w=bi().memoizedState;return[g,w]},useMutableSource:j2,useSyncExternalStore:S2,useId:z2,unstable_isNewReconciler:!1},PA={readContext:yi,useCallback:L2,useContext:yi,useEffect:Ip,useImperativeHandle:D2,useInsertionEffect:P2,useLayoutEffect:I2,useMemo:F2,useReducer:Pp,useRef:O2,useState:function(){return Pp(yc)},useDebugValue:Rp,useDeferredValue:function(g){var w=bi();return Wr===null?w.memoizedState=g:B2(w,Wr.memoizedState,g)},useTransition:function(){var g=Pp(yc)[0],w=bi().memoizedState;return[g,w]},useMutableSource:j2,useSyncExternalStore:S2,useId:z2,unstable_isNewReconciler:!1};function Bi(g,w){if(g&amp;&amp;g.defaultProps){w=T({},w),g=g.defaultProps;for(var A in g)w[A]===void 0&amp;&amp;(w[A]=g[A]);return w}return w}function Dp(g,w,A,$){w=g.memoizedState,A=A($,w),A=A==null?w:T({},w,A),g.memoizedState=A,g.lanes===0&amp;&amp;(g.updateQueue.baseState=A)}var Sd={isMounted:function(g){return(g=g._reactInternals)?it(g)===g:!1},enqueueSetState:function(g,w,A){g=g._reactInternals;var $=In(),G=ga(g),J=Ts($,G);J.payload=w,A!=null&amp;&amp;(J.callback=A),w=fa(g,J,G),w!==null&amp;&amp;(Ui(w,g,G,$),gd(w,g,G))},enqueueReplaceState:function(g,w,A){g=g._reactInternals;var $=In(),G=ga(g),J=Ts($,G);J.tag=1,J.payload=w,A!=null&amp;&amp;(J.callback=A),w=fa(g,J,G),w!==null&amp;&amp;(Ui(w,g,G,$),gd(w,g,G))},enqueueForceUpdate:function(g,w){g=g._reactInternals;var A=In(),$=ga(g),G=Ts(A,$);G.tag=2,w!=null&amp;&amp;(G.callback=w),w=fa(g,G,$),w!==null&amp;&amp;(Ui(w,g,$,A),gd(w,g,$))}};function q2(g,w,A,$,G,J,oe){return g=g.stateNode,typeof g.shouldComponentUpdate==&quot;function&quot;?g.shouldComponentUpdate($,J,oe):w.prototype&amp;&amp;w.prototype.isPureReactComponent?!sc(A,$)||!sc(G,J):!0}function W2(g,w,A){var $=!1,G=ca,J=w.contextType;return typeof J==&quot;object&quot;&amp;&amp;J!==null?J=yi(J):(G=Wn(w)?Xa:Sn.current,$=w.contextTypes,J=($=$!=null)?Qo(g,G):ca),w=new w(A,J),g.memoizedState=w.state!==null&amp;&amp;w.state!==void 0?w.state:null,w.updater=Sd,g.stateNode=w,w._reactInternals=g,$&amp;&amp;(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=G,g.__reactInternalMemoizedMaskedChildContext=J),w}function H2(g,w,A,$){g=w.state,typeof w.componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.componentWillReceiveProps(A,$),typeof w.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.UNSAFE_componentWillReceiveProps(A,$),w.state!==g&amp;&amp;Sd.enqueueReplaceState(w,w.state,null)}function Lp(g,w,A,$){var G=g.stateNode;G.props=A,G.state=g.memoizedState,G.refs={},jp(g);var J=w.contextType;typeof J==&quot;object&quot;&amp;&amp;J!==null?G.context=yi(J):(J=Wn(w)?Xa:Sn.current,G.context=Qo(g,J)),G.state=g.memoizedState,J=w.getDerivedStateFromProps,typeof J==&quot;function&quot;&amp;&amp;(Dp(g,w,J,A),G.state=g.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;Sd.enqueueReplaceState(G,G.state,null),vd(g,A,G,$),G.state=g.memoizedState),typeof G.componentDidMount==&quot;function&quot;&amp;&amp;(g.flags|=4194308)}function al(g,w){try{var A=&quot;&quot;,$=w;do A+=ne($),$=$.return;while($);var G=A}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:g,source:w,stack:G,digest:null}}function Fp(g,w,A){return{value:g,source:null,stack:A??null,digest:w??null}}function Bp(g,w){try{console.error(w.value)}catch(A){setTimeout(function(){throw A})}}var IA=typeof WeakMap==&quot;function&quot;?WeakMap:Map;function K2(g,w,A){A=Ts(-1,A),A.tag=3,A.payload={element:null};var $=w.value;return A.callback=function(){Od||(Od=!0,e0=$),Bp(g,w)},A}function X2(g,w,A){A=Ts(-1,A),A.tag=3;var $=g.type.getDerivedStateFromError;if(typeof $==&quot;function&quot;){var G=w.value;A.payload=function(){return $(G)},A.callback=function(){Bp(g,w)}}var J=g.stateNode;return J!==null&amp;&amp;typeof J.componentDidCatch==&quot;function&quot;&amp;&amp;(A.callback=function(){Bp(g,w),typeof $!=&quot;function&quot;&amp;&amp;(ma===null?ma=new Set([this]):ma.add(this));var oe=w.stack;this.componentDidCatch(w.value,{componentStack:oe!==null?oe:&quot;&quot;})}),A}function G2(g,w,A){var $=g.pingCache;if($===null){$=g.pingCache=new IA;var G=new Set;$.set(w,G)}else G=$.get(w),G===void 0&amp;&amp;(G=new Set,$.set(w,G));G.has(A)||(G.add(A),g=XA.bind(null,g,w,A),w.then(g,g))}function Y2(g){do{var w;if((w=g.tag===13)&amp;&amp;(w=g.memoizedState,w=w!==null?w.dehydrated!==null:!0),w)return g;g=g.return}while(g!==null);return null}function Z2(g,w,A,$,G){return(g.mode&amp;1)===0?(g===w?g.flags|=65536:(g.flags|=128,A.flags|=131072,A.flags&amp;=-52805,A.tag===1&amp;&amp;(A.alternate===null?A.tag=17:(w=Ts(-1,1),w.tag=2,fa(A,w,1))),A.lanes|=1),g):(g.flags|=65536,g.lanes=G,g)}var RA=E.ReactCurrentOwner,Hn=!1;function Pn(g,w,A,$){w.child=g===null?v2(w,null,A,$):rl(w,g.child,A,$)}function Q2(g,w,A,$,G){A=A.render;var J=w.ref;return il(w,G),$=Mp(g,w,A,$,J,G),A=Op(),g!==null&amp;&amp;!Hn?(w.updateQueue=g.updateQueue,w.flags&amp;=-2053,g.lanes&amp;=~G,Ps(g,w,G)):(br&amp;&amp;A&amp;&amp;hp(w),w.flags|=1,Pn(g,w,$,G),w.child)}function J2(g,w,A,$,G){if(g===null){var J=A.type;return typeof J==&quot;function&quot;&amp;&amp;!o0(J)&amp;&amp;J.defaultProps===void 0&amp;&amp;A.compare===null&amp;&amp;A.defaultProps===void 0?(w.tag=15,w.type=J,ew(g,w,J,$,G)):(g=Ld(A.type,null,$,w,w.mode,G),g.ref=w.ref,g.return=w,w.child=g)}if(J=g.child,(g.lanes&amp;G)===0){var oe=J.memoizedProps;if(A=A.compare,A=A!==null?A:sc,A(oe,$)&amp;&amp;g.ref===w.ref)return Ps(g,w,G)}return w.flags|=1,g=ya(J,$),g.ref=w.ref,g.return=w,w.child=g}function ew(g,w,A,$,G){if(g!==null){var J=g.memoizedProps;if(sc(J,$)&amp;&amp;g.ref===w.ref)if(Hn=!1,w.pendingProps=$=J,(g.lanes&amp;G)!==0)(g.flags&amp;131072)!==0&amp;&amp;(Hn=!0);else return w.lanes=g.lanes,Ps(g,w,G)}return zp(g,w,A,$,G)}function tw(g,w,A){var $=w.pendingProps,G=$.children,J=g!==null?g.memoizedState:null;if($.mode===&quot;hidden&quot;)if((w.mode&amp;1)===0)w.memoizedState={baseLanes:0,cachePool:null,transitions:null},fr(ll,ii),ii|=A;else{if((A&amp;1073741824)===0)return g=J!==null?J.baseLanes|A:A,w.lanes=w.childLanes=1073741824,w.memoizedState={baseLanes:g,cachePool:null,transitions:null},w.updateQueue=null,fr(ll,ii),ii|=g,null;w.memoizedState={baseLanes:0,cachePool:null,transitions:null},$=J!==null?J.baseLanes:A,fr(ll,ii),ii|=$}else J!==null?($=J.baseLanes|A,w.memoizedState=null):$=A,fr(ll,ii),ii|=$;return Pn(g,w,G,A),w.child}function rw(g,w){var A=w.ref;(g===null&amp;&amp;A!==null||g!==null&amp;&amp;g.ref!==A)&amp;&amp;(w.flags|=512,w.flags|=2097152)}function zp(g,w,A,$,G){var J=Wn(A)?Xa:Sn.current;return J=Qo(w,J),il(w,G),A=Mp(g,w,A,$,J,G),$=Op(),g!==null&amp;&amp;!Hn?(w.updateQueue=g.updateQueue,w.flags&amp;=-2053,g.lanes&amp;=~G,Ps(g,w,G)):(br&amp;&amp;$&amp;&amp;hp(w),w.flags|=1,Pn(g,w,A,G),w.child)}function nw(g,w,A,$,G){if(Wn(A)){var J=!0;ld(w)}else J=!1;if(il(w,G),w.stateNode===null)Nd(g,w),W2(w,A,$),Lp(w,A,$,G),$=!0;else if(g===null){var oe=w.stateNode,pe=w.memoizedProps;oe.props=pe;var be=oe.context,Ee=A.contextType;typeof Ee==&quot;object&quot;&amp;&amp;Ee!==null?Ee=yi(Ee):(Ee=Wn(A)?Xa:Sn.current,Ee=Qo(w,Ee));var Le=A.getDerivedStateFromProps,ze=typeof Le==&quot;function&quot;||typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;;ze||typeof oe.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof oe.componentWillReceiveProps!=&quot;function&quot;||(pe!==$||be!==Ee)&amp;&amp;H2(w,oe,$,Ee),da=!1;var De=w.memoizedState;oe.state=De,vd(w,$,oe,G),be=w.memoizedState,pe!==$||De!==be||qn.current||da?(typeof Le==&quot;function&quot;&amp;&amp;(Dp(w,A,Le,$),be=w.memoizedState),(pe=da||q2(w,A,pe,$,De,be,Ee))?(ze||typeof oe.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof oe.componentWillMount!=&quot;function&quot;||(typeof oe.componentWillMount==&quot;function&quot;&amp;&amp;oe.componentWillMount(),typeof oe.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;oe.UNSAFE_componentWillMount()),typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308)):(typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),w.memoizedProps=$,w.memoizedState=be),oe.props=$,oe.state=be,oe.context=Ee,$=pe):(typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),$=!1)}else{oe=w.stateNode,b2(g,w),pe=w.memoizedProps,Ee=w.type===w.elementType?pe:Bi(w.type,pe),oe.props=Ee,ze=w.pendingProps,De=oe.context,be=A.contextType,typeof be==&quot;object&quot;&amp;&amp;be!==null?be=yi(be):(be=Wn(A)?Xa:Sn.current,be=Qo(w,be));var st=A.getDerivedStateFromProps;(Le=typeof st==&quot;function&quot;||typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof oe.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof oe.componentWillReceiveProps!=&quot;function&quot;||(pe!==ze||De!==be)&amp;&amp;H2(w,oe,$,be),da=!1,De=w.memoizedState,oe.state=De,vd(w,$,oe,G);var ht=w.memoizedState;pe!==ze||De!==ht||qn.current||da?(typeof st==&quot;function&quot;&amp;&amp;(Dp(w,A,st,$),ht=w.memoizedState),(Ee=da||q2(w,A,Ee,$,De,ht,be)||!1)?(Le||typeof oe.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof oe.componentWillUpdate!=&quot;function&quot;||(typeof oe.componentWillUpdate==&quot;function&quot;&amp;&amp;oe.componentWillUpdate($,ht,be),typeof oe.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;oe.UNSAFE_componentWillUpdate($,ht,be)),typeof oe.componentDidUpdate==&quot;function&quot;&amp;&amp;(w.flags|=4),typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(w.flags|=1024)):(typeof oe.componentDidUpdate!=&quot;function&quot;||pe===g.memoizedProps&amp;&amp;De===g.memoizedState||(w.flags|=4),typeof oe.getSnapshotBeforeUpdate!=&quot;function&quot;||pe===g.memoizedProps&amp;&amp;De===g.memoizedState||(w.flags|=1024),w.memoizedProps=$,w.memoizedState=ht),oe.props=$,oe.state=ht,oe.context=be,$=Ee):(typeof oe.componentDidUpdate!=&quot;function&quot;||pe===g.memoizedProps&amp;&amp;De===g.memoizedState||(w.flags|=4),typeof oe.getSnapshotBeforeUpdate!=&quot;function&quot;||pe===g.memoizedProps&amp;&amp;De===g.memoizedState||(w.flags|=1024),$=!1)}return $p(g,w,A,$,J,G)}function $p(g,w,A,$,G,J){rw(g,w);var oe=(w.flags&amp;128)!==0;if(!$&amp;&amp;!oe)return G&amp;&amp;l2(w,A,!1),Ps(g,w,J);$=w.stateNode,RA.current=w;var pe=oe&amp;&amp;typeof A.getDerivedStateFromError!=&quot;function&quot;?null:$.render();return w.flags|=1,g!==null&amp;&amp;oe?(w.child=rl(w,g.child,null,J),w.child=rl(w,null,pe,J)):Pn(g,w,pe,J),w.memoizedState=$.state,G&amp;&amp;l2(w,A,!0),w.child}function iw(g){var w=g.stateNode;w.pendingContext?a2(g,w.pendingContext,w.pendingContext!==w.context):w.context&amp;&amp;a2(g,w.context,!1),Sp(g,w.containerInfo)}function sw(g,w,A,$,G){return tl(),vp(G),w.flags|=256,Pn(g,w,A,$),w.child}var Up={dehydrated:null,treeContext:null,retryLane:0};function Vp(g){return{baseLanes:g,cachePool:null,transitions:null}}function aw(g,w,A){var $=w.pendingProps,G=Nr.current,J=!1,oe=(w.flags&amp;128)!==0,pe;if((pe=oe)||(pe=g!==null&amp;&amp;g.memoizedState===null?!1:(G&amp;2)!==0),pe?(J=!0,w.flags&amp;=-129):(g===null||g.memoizedState!==null)&amp;&amp;(G|=1),fr(Nr,G&amp;1),g===null)return gp(w),g=w.memoizedState,g!==null&amp;&amp;(g=g.dehydrated,g!==null)?((w.mode&amp;1)===0?w.lanes=1:g.data===&quot;$!&quot;?w.lanes=8:w.lanes=1073741824,null):(oe=$.children,g=$.fallback,J?($=w.mode,J=w.child,oe={mode:&quot;hidden&quot;,children:oe},($&amp;1)===0&amp;&amp;J!==null?(J.childLanes=0,J.pendingProps=oe):J=Fd(oe,$,0,null),g=io(g,$,A,null),J.return=w,g.return=w,J.sibling=g,w.child=J,w.child.memoizedState=Vp(A),w.memoizedState=Up,g):qp(w,oe));if(G=g.memoizedState,G!==null&amp;&amp;(pe=G.dehydrated,pe!==null))return DA(g,w,oe,$,pe,G,A);if(J){J=$.fallback,oe=w.mode,G=g.child,pe=G.sibling;var be={mode:&quot;hidden&quot;,children:$.children};return(oe&amp;1)===0&amp;&amp;w.child!==G?($=w.child,$.childLanes=0,$.pendingProps=be,w.deletions=null):($=ya(G,be),$.subtreeFlags=G.subtreeFlags&amp;14680064),pe!==null?J=ya(pe,J):(J=io(J,oe,A,null),J.flags|=2),J.return=w,$.return=w,$.sibling=J,w.child=$,$=J,J=w.child,oe=g.child.memoizedState,oe=oe===null?Vp(A):{baseLanes:oe.baseLanes|A,cachePool:null,transitions:oe.transitions},J.memoizedState=oe,J.childLanes=g.childLanes&amp;~A,w.memoizedState=Up,$}return J=g.child,g=J.sibling,$=ya(J,{mode:&quot;visible&quot;,children:$.children}),(w.mode&amp;1)===0&amp;&amp;($.lanes=A),$.return=w,$.sibling=null,g!==null&amp;&amp;(A=w.deletions,A===null?(w.deletions=[g],w.flags|=16):A.push(g)),w.child=$,w.memoizedState=null,$}function qp(g,w){return w=Fd({mode:&quot;visible&quot;,children:w},g.mode,0,null),w.return=g,g.child=w}function kd(g,w,A,$){return $!==null&amp;&amp;vp($),rl(w,g.child,null,A),g=qp(w,w.pendingProps.children),g.flags|=2,w.memoizedState=null,g}function DA(g,w,A,$,G,J,oe){if(A)return w.flags&amp;256?(w.flags&amp;=-257,$=Fp(Error(t(422))),kd(g,w,oe,$)):w.memoizedState!==null?(w.child=g.child,w.flags|=128,null):(J=$.fallback,G=w.mode,$=Fd({mode:&quot;visible&quot;,children:$.children},G,0,null),J=io(J,G,oe,null),J.flags|=2,$.return=w,J.return=w,$.sibling=J,w.child=$,(w.mode&amp;1)!==0&amp;&amp;rl(w,g.child,null,oe),w.child.memoizedState=Vp(oe),w.memoizedState=Up,J);if((w.mode&amp;1)===0)return kd(g,w,oe,null);if(G.data===&quot;$!&quot;){if($=G.nextSibling&amp;&amp;G.nextSibling.dataset,$)var pe=$.dgst;return $=pe,J=Error(t(419)),$=Fp(J,$,void 0),kd(g,w,oe,$)}if(pe=(oe&amp;g.childLanes)!==0,Hn||pe){if($=rn,$!==null){switch(oe&amp;-oe){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;($.suspendedLanes|oe))!==0?0:G,G!==0&amp;&amp;G!==J.retryLane&amp;&amp;(J.retryLane=G,Os(g,G),Ui($,g,G,-1))}return a0(),$=Fp(Error(t(421))),kd(g,w,oe,$)}return G.data===&quot;$?&quot;?(w.flags|=128,w.child=g.child,w=GA.bind(null,g),G._reactRetry=w,null):(g=J.treeContext,ni=oa(G.nextSibling),ri=w,br=!0,Fi=null,g!==null&amp;&amp;(gi[vi++]=As,gi[vi++]=Ms,gi[vi++]=Ga,As=g.id,Ms=g.overflow,Ga=w),w=qp(w,$.children),w.flags|=4096,w)}function ow(g,w,A){g.lanes|=w;var $=g.alternate;$!==null&amp;&amp;($.lanes|=w),wp(g.return,w,A)}function Wp(g,w,A,$,G){var J=g.memoizedState;J===null?g.memoizedState={isBackwards:w,rendering:null,renderingStartTime:0,last:$,tail:A,tailMode:G}:(J.isBackwards=w,J.rendering=null,J.renderingStartTime=0,J.last=$,J.tail=A,J.tailMode=G)}function lw(g,w,A){var $=w.pendingProps,G=$.revealOrder,J=$.tail;if(Pn(g,w,$.children,A),$=Nr.current,($&amp;2)!==0)$=$&amp;1|2,w.flags|=128;else{if(g!==null&amp;&amp;(g.flags&amp;128)!==0)e:for(g=w.child;g!==null;){if(g.tag===13)g.memoizedState!==null&amp;&amp;ow(g,A,w);else if(g.tag===19)ow(g,A,w);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===w)break e;for(;g.sibling===null;){if(g.return===null||g.return===w)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}$&amp;=1}if(fr(Nr,$),(w.mode&amp;1)===0)w.memoizedState=null;else switch(G){case&quot;forwards&quot;:for(A=w.child,G=null;A!==null;)g=A.alternate,g!==null&amp;&amp;yd(g)===null&amp;&amp;(G=A),A=A.sibling;A=G,A===null?(G=w.child,w.child=null):(G=A.sibling,A.sibling=null),Wp(w,!1,G,A,J);break;case&quot;backwards&quot;:for(A=null,G=w.child,w.child=null;G!==null;){if(g=G.alternate,g!==null&amp;&amp;yd(g)===null){w.child=G;break}g=G.sibling,G.sibling=A,A=G,G=g}Wp(w,!0,A,null,J);break;case&quot;together&quot;:Wp(w,!1,null,null,void 0);break;default:w.memoizedState=null}return w.child}function Nd(g,w){(w.mode&amp;1)===0&amp;&amp;g!==null&amp;&amp;(g.alternate=null,w.alternate=null,w.flags|=2)}function Ps(g,w,A){if(g!==null&amp;&amp;(w.dependencies=g.dependencies),eo|=w.lanes,(A&amp;w.childLanes)===0)return null;if(g!==null&amp;&amp;w.child!==g.child)throw Error(t(153));if(w.child!==null){for(g=w.child,A=ya(g,g.pendingProps),w.child=A,A.return=w;g.sibling!==null;)g=g.sibling,A=A.sibling=ya(g,g.pendingProps),A.return=w;A.sibling=null}return w.child}function LA(g,w,A){switch(w.tag){case 3:iw(w),tl();break;case 5:_2(w);break;case 1:Wn(w.type)&amp;&amp;ld(w);break;case 4:Sp(w,w.stateNode.containerInfo);break;case 10:var $=w.type._context,G=w.memoizedProps.value;fr(md,$._currentValue),$._currentValue=G;break;case 13:if($=w.memoizedState,$!==null)return $.dehydrated!==null?(fr(Nr,Nr.current&amp;1),w.flags|=128,null):(A&amp;w.child.childLanes)!==0?aw(g,w,A):(fr(Nr,Nr.current&amp;1),g=Ps(g,w,A),g!==null?g.sibling:null);fr(Nr,Nr.current&amp;1);break;case 19:if($=(A&amp;w.childLanes)!==0,(g.flags&amp;128)!==0){if($)return lw(g,w,A);w.flags|=128}if(G=w.memoizedState,G!==null&amp;&amp;(G.rendering=null,G.tail=null,G.lastEffect=null),fr(Nr,Nr.current),$)break;return null;case 22:case 23:return w.lanes=0,tw(g,w,A)}return Ps(g,w,A)}var cw,Hp,uw,dw;cw=function(g,w){for(var A=w.child;A!==null;){if(A.tag===5||A.tag===6)g.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}},Hp=function(){},uw=function(g,w,A,$){var G=g.memoizedProps;if(G!==$){g=w.stateNode,Qa(cs.current);var J=null;switch(A){case&quot;input&quot;:G=ae(g,G),$=ae(g,$),J=[];break;case&quot;select&quot;:G=T({},G,{value:void 0}),$=T({},$,{value:void 0}),J=[];break;case&quot;textarea&quot;:G=ge(g,G),$=ge(g,$),J=[];break;default:typeof G.onClick!=&quot;function&quot;&amp;&amp;typeof $.onClick==&quot;function&quot;&amp;&amp;(g.onclick=sd)}rt(A,$);var oe;A=null;for(Ee in G)if(!$.hasOwnProperty(Ee)&amp;&amp;G.hasOwnProperty(Ee)&amp;&amp;G[Ee]!=null)if(Ee===&quot;style&quot;){var pe=G[Ee];for(oe in pe)pe.hasOwnProperty(oe)&amp;&amp;(A||(A={}),A[oe]=&quot;&quot;)}else Ee!==&quot;dangerouslySetInnerHTML&quot;&amp;&amp;Ee!==&quot;children&quot;&amp;&amp;Ee!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Ee!==&quot;suppressHydrationWarning&quot;&amp;&amp;Ee!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(Ee)?J||(J=[]):(J=J||[]).push(Ee,null));for(Ee in $){var be=$[Ee];if(pe=G?.[Ee],$.hasOwnProperty(Ee)&amp;&amp;be!==pe&amp;&amp;(be!=null||pe!=null))if(Ee===&quot;style&quot;)if(pe){for(oe in pe)!pe.hasOwnProperty(oe)||be&amp;&amp;be.hasOwnProperty(oe)||(A||(A={}),A[oe]=&quot;&quot;);for(oe in be)be.hasOwnProperty(oe)&amp;&amp;pe[oe]!==be[oe]&amp;&amp;(A||(A={}),A[oe]=be[oe])}else A||(J||(J=[]),J.push(Ee,A)),A=be;else Ee===&quot;dangerouslySetInnerHTML&quot;?(be=be?be.__html:void 0,pe=pe?pe.__html:void 0,be!=null&amp;&amp;pe!==be&amp;&amp;(J=J||[]).push(Ee,be)):Ee===&quot;children&quot;?typeof be!=&quot;string&quot;&amp;&amp;typeof be!=&quot;number&quot;||(J=J||[]).push(Ee,&quot;&quot;+be):Ee!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Ee!==&quot;suppressHydrationWarning&quot;&amp;&amp;(o.hasOwnProperty(Ee)?(be!=null&amp;&amp;Ee===&quot;onScroll&quot;&amp;&amp;mr(&quot;scroll&quot;,g),J||pe===be||(J=[])):(J=J||[]).push(Ee,be))}A&amp;&amp;(J=J||[]).push(&quot;style&quot;,A);var Ee=J;(w.updateQueue=Ee)&amp;&amp;(w.flags|=4)}},dw=function(g,w,A,$){A!==$&amp;&amp;(w.flags|=4)};function xc(g,w){if(!br)switch(g.tailMode){case&quot;hidden&quot;:w=g.tail;for(var A=null;w!==null;)w.alternate!==null&amp;&amp;(A=w),w=w.sibling;A===null?g.tail=null:A.sibling=null;break;case&quot;collapsed&quot;:A=g.tail;for(var $=null;A!==null;)A.alternate!==null&amp;&amp;($=A),A=A.sibling;$===null?w||g.tail===null?g.tail=null:g.tail.sibling=null:$.sibling=null}}function Nn(g){var w=g.alternate!==null&amp;&amp;g.alternate.child===g.child,A=0,$=0;if(w)for(var G=g.child;G!==null;)A|=G.lanes|G.childLanes,$|=G.subtreeFlags&amp;14680064,$|=G.flags&amp;14680064,G.return=g,G=G.sibling;else for(G=g.child;G!==null;)A|=G.lanes|G.childLanes,$|=G.subtreeFlags,$|=G.flags,G.return=g,G=G.sibling;return g.subtreeFlags|=$,g.childLanes=A,w}function FA(g,w,A){var $=w.pendingProps;switch(mp(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nn(w),null;case 1:return Wn(w.type)&amp;&amp;od(),Nn(w),null;case 3:return $=w.stateNode,sl(),pr(qn),pr(Sn),Cp(),$.pendingContext&amp;&amp;($.context=$.pendingContext,$.pendingContext=null),(g===null||g.child===null)&amp;&amp;(fd(w)?w.flags|=4:g===null||g.memoizedState.isDehydrated&amp;&amp;(w.flags&amp;256)===0||(w.flags|=1024,Fi!==null&amp;&amp;(n0(Fi),Fi=null))),Hp(g,w),Nn(w),null;case 5:kp(w);var G=Qa(pc.current);if(A=w.type,g!==null&amp;&amp;w.stateNode!=null)uw(g,w,A,$,G),g.ref!==w.ref&amp;&amp;(w.flags|=512,w.flags|=2097152);else{if(!$){if(w.stateNode===null)throw Error(t(166));return Nn(w),null}if(g=Qa(cs.current),fd(w)){$=w.stateNode,A=w.type;var J=w.memoizedProps;switch($[ls]=w,$[uc]=J,g=(w.mode&amp;1)!==0,A){case&quot;dialog&quot;:mr(&quot;cancel&quot;,$),mr(&quot;close&quot;,$);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:mr(&quot;load&quot;,$);break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;oc.length;G++)mr(oc[G],$);break;case&quot;source&quot;:mr(&quot;error&quot;,$);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:mr(&quot;error&quot;,$),mr(&quot;load&quot;,$);break;case&quot;details&quot;:mr(&quot;toggle&quot;,$);break;case&quot;input&quot;:ce($,J),mr(&quot;invalid&quot;,$);break;case&quot;select&quot;:$._wrapperState={wasMultiple:!!J.multiple},mr(&quot;invalid&quot;,$);break;case&quot;textarea&quot;:le($,J),mr(&quot;invalid&quot;,$)}rt(A,J),G=null;for(var oe in J)if(J.hasOwnProperty(oe)){var pe=J[oe];oe===&quot;children&quot;?typeof pe==&quot;string&quot;?$.textContent!==pe&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;id($.textContent,pe,g),G=[&quot;children&quot;,pe]):typeof pe==&quot;number&quot;&amp;&amp;$.textContent!==&quot;&quot;+pe&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;id($.textContent,pe,g),G=[&quot;children&quot;,&quot;&quot;+pe]):o.hasOwnProperty(oe)&amp;&amp;pe!=null&amp;&amp;oe===&quot;onScroll&quot;&amp;&amp;mr(&quot;scroll&quot;,$)}switch(A){case&quot;input&quot;:re($),de($,J,!0);break;case&quot;textarea&quot;:re($),Se($);break;case&quot;select&quot;:case&quot;option&quot;:break;default:typeof J.onClick==&quot;function&quot;&amp;&amp;($.onclick=sd)}$=G,w.updateQueue=$,$!==null&amp;&amp;(w.flags|=4)}else{oe=G.nodeType===9?G:G.ownerDocument,g===&quot;http://www.w3.org/1999/xhtml&quot;&amp;&amp;(g=Oe(A)),g===&quot;http://www.w3.org/1999/xhtml&quot;?A===&quot;script&quot;?(g=oe.createElement(&quot;div&quot;),g.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,g=g.removeChild(g.firstChild)):typeof $.is==&quot;string&quot;?g=oe.createElement(A,{is:$.is}):(g=oe.createElement(A),A===&quot;select&quot;&amp;&amp;(oe=g,$.multiple?oe.multiple=!0:$.size&amp;&amp;(oe.size=$.size))):g=oe.createElementNS(g,A),g[ls]=w,g[uc]=$,cw(g,w,!1,!1),w.stateNode=g;e:{switch(oe=Je(A,$),A){case&quot;dialog&quot;:mr(&quot;cancel&quot;,g),mr(&quot;close&quot;,g),G=$;break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:mr(&quot;load&quot;,g),G=$;break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;oc.length;G++)mr(oc[G],g);G=$;break;case&quot;source&quot;:mr(&quot;error&quot;,g),G=$;break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:mr(&quot;error&quot;,g),mr(&quot;load&quot;,g),G=$;break;case&quot;details&quot;:mr(&quot;toggle&quot;,g),G=$;break;case&quot;input&quot;:ce(g,$),G=ae(g,$),mr(&quot;invalid&quot;,g);break;case&quot;option&quot;:G=$;break;case&quot;select&quot;:g._wrapperState={wasMultiple:!!$.multiple},G=T({},$,{value:void 0}),mr(&quot;invalid&quot;,g);break;case&quot;textarea&quot;:le(g,$),G=ge(g,$),mr(&quot;invalid&quot;,g);break;default:G=$}rt(A,G),pe=G;for(J in pe)if(pe.hasOwnProperty(J)){var be=pe[J];J===&quot;style&quot;?Be(g,be):J===&quot;dangerouslySetInnerHTML&quot;?(be=be?be.__html:void 0,be!=null&amp;&amp;Ve(g,be)):J===&quot;children&quot;?typeof be==&quot;string&quot;?(A!==&quot;textarea&quot;||be!==&quot;&quot;)&amp;&amp;Ye(g,be):typeof be==&quot;number&quot;&amp;&amp;Ye(g,&quot;&quot;+be):J!==&quot;suppressContentEditableWarning&quot;&amp;&amp;J!==&quot;suppressHydrationWarning&quot;&amp;&amp;J!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(J)?be!=null&amp;&amp;J===&quot;onScroll&quot;&amp;&amp;mr(&quot;scroll&quot;,g):be!=null&amp;&amp;_(g,J,be,oe))}switch(A){case&quot;input&quot;:re(g),de(g,$,!1);break;case&quot;textarea&quot;:re(g),Se(g);break;case&quot;option&quot;:$.value!=null&amp;&amp;g.setAttribute(&quot;value&quot;,&quot;&quot;+F($.value));break;case&quot;select&quot;:g.multiple=!!$.multiple,J=$.value,J!=null?ve(g,!!$.multiple,J,!1):$.defaultValue!=null&amp;&amp;ve(g,!!$.multiple,$.defaultValue,!0);break;default:typeof G.onClick==&quot;function&quot;&amp;&amp;(g.onclick=sd)}switch(A){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:$=!!$.autoFocus;break e;case&quot;img&quot;:$=!0;break e;default:$=!1}}$&amp;&amp;(w.flags|=4)}w.ref!==null&amp;&amp;(w.flags|=512,w.flags|=2097152)}return Nn(w),null;case 6:if(g&amp;&amp;w.stateNode!=null)dw(g,w,g.memoizedProps,$);else{if(typeof $!=&quot;string&quot;&amp;&amp;w.stateNode===null)throw Error(t(166));if(A=Qa(pc.current),Qa(cs.current),fd(w)){if($=w.stateNode,A=w.memoizedProps,$[ls]=w,(J=$.nodeValue!==A)&amp;&amp;(g=ri,g!==null))switch(g.tag){case 3:id($.nodeValue,A,(g.mode&amp;1)!==0);break;case 5:g.memoizedProps.suppressHydrationWarning!==!0&amp;&amp;id($.nodeValue,A,(g.mode&amp;1)!==0)}J&amp;&amp;(w.flags|=4)}else $=(A.nodeType===9?A:A.ownerDocument).createTextNode($),$[ls]=w,w.stateNode=$}return Nn(w),null;case 13:if(pr(Nr),$=w.memoizedState,g===null||g.memoizedState!==null&amp;&amp;g.memoizedState.dehydrated!==null){if(br&amp;&amp;ni!==null&amp;&amp;(w.mode&amp;1)!==0&amp;&amp;(w.flags&amp;128)===0)m2(),tl(),w.flags|=98560,J=!1;else if(J=fd(w),$!==null&amp;&amp;$.dehydrated!==null){if(g===null){if(!J)throw Error(t(318));if(J=w.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(t(317));J[ls]=w}else tl(),(w.flags&amp;128)===0&amp;&amp;(w.memoizedState=null),w.flags|=4;Nn(w),J=!1}else Fi!==null&amp;&amp;(n0(Fi),Fi=null),J=!0;if(!J)return w.flags&amp;65536?w:null}return(w.flags&amp;128)!==0?(w.lanes=A,w):($=$!==null,$!==(g!==null&amp;&amp;g.memoizedState!==null)&amp;&amp;$&amp;&amp;(w.child.flags|=8192,(w.mode&amp;1)!==0&amp;&amp;(g===null||(Nr.current&amp;1)!==0?Hr===0&amp;&amp;(Hr=3):a0())),w.updateQueue!==null&amp;&amp;(w.flags|=4),Nn(w),null);case 4:return sl(),Hp(g,w),g===null&amp;&amp;lc(w.stateNode.containerInfo),Nn(w),null;case 10:return xp(w.type._context),Nn(w),null;case 17:return Wn(w.type)&amp;&amp;od(),Nn(w),null;case 19:if(pr(Nr),J=w.memoizedState,J===null)return Nn(w),null;if($=(w.flags&amp;128)!==0,oe=J.rendering,oe===null)if($)xc(J,!1);else{if(Hr!==0||g!==null&amp;&amp;(g.flags&amp;128)!==0)for(g=w.child;g!==null;){if(oe=yd(g),oe!==null){for(w.flags|=128,xc(J,!1),$=oe.updateQueue,$!==null&amp;&amp;(w.updateQueue=$,w.flags|=4),w.subtreeFlags=0,$=A,A=w.child;A!==null;)J=A,g=$,J.flags&amp;=14680066,oe=J.alternate,oe===null?(J.childLanes=0,J.lanes=g,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=oe.childLanes,J.lanes=oe.lanes,J.child=oe.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=oe.memoizedProps,J.memoizedState=oe.memoizedState,J.updateQueue=oe.updateQueue,J.type=oe.type,g=oe.dependencies,J.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),A=A.sibling;return fr(Nr,Nr.current&amp;1|2),w.child}g=g.sibling}J.tail!==null&amp;&amp;we()&gt;cl&amp;&amp;(w.flags|=128,$=!0,xc(J,!1),w.lanes=4194304)}else{if(!$)if(g=yd(oe),g!==null){if(w.flags|=128,$=!0,A=g.updateQueue,A!==null&amp;&amp;(w.updateQueue=A,w.flags|=4),xc(J,!0),J.tail===null&amp;&amp;J.tailMode===&quot;hidden&quot;&amp;&amp;!oe.alternate&amp;&amp;!br)return Nn(w),null}else 2*we()-J.renderingStartTime&gt;cl&amp;&amp;A!==1073741824&amp;&amp;(w.flags|=128,$=!0,xc(J,!1),w.lanes=4194304);J.isBackwards?(oe.sibling=w.child,w.child=oe):(A=J.last,A!==null?A.sibling=oe:w.child=oe,J.last=oe)}return J.tail!==null?(w=J.tail,J.rendering=w,J.tail=w.sibling,J.renderingStartTime=we(),w.sibling=null,A=Nr.current,fr(Nr,$?A&amp;1|2:A&amp;1),w):(Nn(w),null);case 22:case 23:return s0(),$=w.memoizedState!==null,g!==null&amp;&amp;g.memoizedState!==null!==$&amp;&amp;(w.flags|=8192),$&amp;&amp;(w.mode&amp;1)!==0?(ii&amp;1073741824)!==0&amp;&amp;(Nn(w),w.subtreeFlags&amp;6&amp;&amp;(w.flags|=8192)):Nn(w),null;case 24:return null;case 25:return null}throw Error(t(156,w.tag))}function BA(g,w){switch(mp(w),w.tag){case 1:return Wn(w.type)&amp;&amp;od(),g=w.flags,g&amp;65536?(w.flags=g&amp;-65537|128,w):null;case 3:return sl(),pr(qn),pr(Sn),Cp(),g=w.flags,(g&amp;65536)!==0&amp;&amp;(g&amp;128)===0?(w.flags=g&amp;-65537|128,w):null;case 5:return kp(w),null;case 13:if(pr(Nr),g=w.memoizedState,g!==null&amp;&amp;g.dehydrated!==null){if(w.alternate===null)throw Error(t(340));tl()}return g=w.flags,g&amp;65536?(w.flags=g&amp;-65537|128,w):null;case 19:return pr(Nr),null;case 4:return sl(),null;case 10:return xp(w.type._context),null;case 22:case 23:return s0(),null;case 24:return null;default:return null}}var Cd=!1,Cn=!1,zA=typeof WeakSet==&quot;function&quot;?WeakSet:Set,ot=null;function ol(g,w){var A=g.ref;if(A!==null)if(typeof A==&quot;function&quot;)try{A(null)}catch($){Or(g,w,$)}else A.current=null}function Kp(g,w,A){try{A()}catch($){Or(g,w,$)}}var fw=!1;function $A(g,w){if(sp=Lo,g=q1(),Zm(g)){if(&quot;selectionStart&quot;in g)var A={start:g.selectionStart,end:g.selectionEnd};else e:{A=(A=g.ownerDocument)&amp;&amp;A.defaultView||window;var $=A.getSelection&amp;&amp;A.getSelection();if($&amp;&amp;$.rangeCount!==0){A=$.anchorNode;var G=$.anchorOffset,J=$.focusNode;$=$.focusOffset;try{A.nodeType,J.nodeType}catch{A=null;break e}var oe=0,pe=-1,be=-1,Ee=0,Le=0,ze=g,De=null;t:for(;;){for(var st;ze!==A||G!==0&amp;&amp;ze.nodeType!==3||(pe=oe+G),ze!==J||$!==0&amp;&amp;ze.nodeType!==3||(be=oe+$),ze.nodeType===3&amp;&amp;(oe+=ze.nodeValue.length),(st=ze.firstChild)!==null;)De=ze,ze=st;for(;;){if(ze===g)break t;if(De===A&amp;&amp;++Ee===G&amp;&amp;(pe=oe),De===J&amp;&amp;++Le===$&amp;&amp;(be=oe),(st=ze.nextSibling)!==null)break;ze=De,De=ze.parentNode}ze=st}A=pe===-1||be===-1?null:{start:pe,end:be}}else A=null}A=A||{start:0,end:0}}else A=null;for(ap={focusedElem:g,selectionRange:A},Lo=!1,ot=w;ot!==null;)if(w=ot,g=w.child,(w.subtreeFlags&amp;1028)!==0&amp;&amp;g!==null)g.return=w,ot=g;else for(;ot!==null;){w=ot;try{var ht=w.alternate;if((w.flags&amp;1024)!==0)switch(w.tag){case 0:case 11:case 15:break;case 1:if(ht!==null){var gt=ht.memoizedProps,Dr=ht.memoizedState,ke=w.stateNode,xe=ke.getSnapshotBeforeUpdate(w.elementType===w.type?gt:Bi(w.type,gt),Dr);ke.__reactInternalSnapshotBeforeUpdate=xe}break;case 3:var Ne=w.stateNode.containerInfo;Ne.nodeType===1?Ne.textContent=&quot;&quot;:Ne.nodeType===9&amp;&amp;Ne.documentElement&amp;&amp;Ne.removeChild(Ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(We){Or(w,w.return,We)}if(g=w.sibling,g!==null){g.return=w.return,ot=g;break}ot=w.return}return ht=fw,fw=!1,ht}function wc(g,w,A){var $=w.updateQueue;if($=$!==null?$.lastEffect:null,$!==null){var G=$=$.next;do{if((G.tag&amp;g)===g){var J=G.destroy;G.destroy=void 0,J!==void 0&amp;&amp;Kp(w,A,J)}G=G.next}while(G!==$)}}function Ed(g,w){if(w=w.updateQueue,w=w!==null?w.lastEffect:null,w!==null){var A=w=w.next;do{if((A.tag&amp;g)===g){var $=A.create;A.destroy=$()}A=A.next}while(A!==w)}}function Xp(g){var w=g.ref;if(w!==null){var A=g.stateNode;g.tag,g=A,typeof w==&quot;function&quot;?w(g):w.current=g}}function hw(g){var w=g.alternate;w!==null&amp;&amp;(g.alternate=null,hw(w)),g.child=null,g.deletions=null,g.sibling=null,g.tag===5&amp;&amp;(w=g.stateNode,w!==null&amp;&amp;(delete w[ls],delete w[uc],delete w[up],delete w[jA],delete w[SA])),g.stateNode=null,g.return=null,g.dependencies=null,g.memoizedProps=null,g.memoizedState=null,g.pendingProps=null,g.stateNode=null,g.updateQueue=null}function mw(g){return g.tag===5||g.tag===3||g.tag===4}function pw(g){e:for(;;){for(;g.sibling===null;){if(g.return===null||mw(g.return))return null;g=g.return}for(g.sibling.return=g.return,g=g.sibling;g.tag!==5&amp;&amp;g.tag!==6&amp;&amp;g.tag!==18;){if(g.flags&amp;2||g.child===null||g.tag===4)continue e;g.child.return=g,g=g.child}if(!(g.flags&amp;2))return g.stateNode}}function Gp(g,w,A){var $=g.tag;if($===5||$===6)g=g.stateNode,w?A.nodeType===8?A.parentNode.insertBefore(g,w):A.insertBefore(g,w):(A.nodeType===8?(w=A.parentNode,w.insertBefore(g,A)):(w=A,w.appendChild(g)),A=A._reactRootContainer,A!=null||w.onclick!==null||(w.onclick=sd));else if($!==4&amp;&amp;(g=g.child,g!==null))for(Gp(g,w,A),g=g.sibling;g!==null;)Gp(g,w,A),g=g.sibling}function Yp(g,w,A){var $=g.tag;if($===5||$===6)g=g.stateNode,w?A.insertBefore(g,w):A.appendChild(g);else if($!==4&amp;&amp;(g=g.child,g!==null))for(Yp(g,w,A),g=g.sibling;g!==null;)Yp(g,w,A),g=g.sibling}var mn=null,zi=!1;function ha(g,w,A){for(A=A.child;A!==null;)gw(g,w,A),A=A.sibling}function gw(g,w,A){if(St&amp;&amp;typeof St.onCommitFiberUnmount==&quot;function&quot;)try{St.onCommitFiberUnmount(At,A)}catch{}switch(A.tag){case 5:Cn||ol(A,w);case 6:var $=mn,G=zi;mn=null,ha(g,w,A),mn=$,zi=G,mn!==null&amp;&amp;(zi?(g=mn,A=A.stateNode,g.nodeType===8?g.parentNode.removeChild(A):g.removeChild(A)):mn.removeChild(A.stateNode));break;case 18:mn!==null&amp;&amp;(zi?(g=mn,A=A.stateNode,g.nodeType===8?cp(g.parentNode,A):g.nodeType===1&amp;&amp;cp(g,A),Wa(g)):cp(mn,A.stateNode));break;case 4:$=mn,G=zi,mn=A.stateNode.containerInfo,zi=!0,ha(g,w,A),mn=$,zi=G;break;case 0:case 11:case 14:case 15:if(!Cn&amp;&amp;($=A.updateQueue,$!==null&amp;&amp;($=$.lastEffect,$!==null))){G=$=$.next;do{var J=G,oe=J.destroy;J=J.tag,oe!==void 0&amp;&amp;((J&amp;2)!==0||(J&amp;4)!==0)&amp;&amp;Kp(A,w,oe),G=G.next}while(G!==$)}ha(g,w,A);break;case 1:if(!Cn&amp;&amp;(ol(A,w),$=A.stateNode,typeof $.componentWillUnmount==&quot;function&quot;))try{$.props=A.memoizedProps,$.state=A.memoizedState,$.componentWillUnmount()}catch(pe){Or(A,w,pe)}ha(g,w,A);break;case 21:ha(g,w,A);break;case 22:A.mode&amp;1?(Cn=($=Cn)||A.memoizedState!==null,ha(g,w,A),Cn=$):ha(g,w,A);break;default:ha(g,w,A)}}function vw(g){var w=g.updateQueue;if(w!==null){g.updateQueue=null;var A=g.stateNode;A===null&amp;&amp;(A=g.stateNode=new zA),w.forEach(function($){var G=YA.bind(null,g,$);A.has($)||(A.add($),$.then(G,G))})}}function $i(g,w){var A=w.deletions;if(A!==null)for(var $=0;$&lt;A.length;$++){var G=A[$];try{var J=g,oe=w,pe=oe;e:for(;pe!==null;){switch(pe.tag){case 5:mn=pe.stateNode,zi=!1;break e;case 3:mn=pe.stateNode.containerInfo,zi=!0;break e;case 4:mn=pe.stateNode.containerInfo,zi=!0;break e}pe=pe.return}if(mn===null)throw Error(t(160));gw(J,oe,G),mn=null,zi=!1;var be=G.alternate;be!==null&amp;&amp;(be.return=null),G.return=null}catch(Ee){Or(G,w,Ee)}}if(w.subtreeFlags&amp;12854)for(w=w.child;w!==null;)yw(w,g),w=w.sibling}function yw(g,w){var A=g.alternate,$=g.flags;switch(g.tag){case 0:case 11:case 14:case 15:if($i(w,g),ds(g),$&amp;4){try{wc(3,g,g.return),Ed(3,g)}catch(gt){Or(g,g.return,gt)}try{wc(5,g,g.return)}catch(gt){Or(g,g.return,gt)}}break;case 1:$i(w,g),ds(g),$&amp;512&amp;&amp;A!==null&amp;&amp;ol(A,A.return);break;case 5:if($i(w,g),ds(g),$&amp;512&amp;&amp;A!==null&amp;&amp;ol(A,A.return),g.flags&amp;32){var G=g.stateNode;try{Ye(G,&quot;&quot;)}catch(gt){Or(g,g.return,gt)}}if($&amp;4&amp;&amp;(G=g.stateNode,G!=null)){var J=g.memoizedProps,oe=A!==null?A.memoizedProps:J,pe=g.type,be=g.updateQueue;if(g.updateQueue=null,be!==null)try{pe===&quot;input&quot;&amp;&amp;J.type===&quot;radio&quot;&amp;&amp;J.name!=null&amp;&amp;he(G,J),Je(pe,oe);var Ee=Je(pe,J);for(oe=0;oe&lt;be.length;oe+=2){var Le=be[oe],ze=be[oe+1];Le===&quot;style&quot;?Be(G,ze):Le===&quot;dangerouslySetInnerHTML&quot;?Ve(G,ze):Le===&quot;children&quot;?Ye(G,ze):_(G,Le,ze,Ee)}switch(pe){case&quot;input&quot;:se(G,J);break;case&quot;textarea&quot;:_e(G,J);break;case&quot;select&quot;:var De=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var st=J.value;st!=null?ve(G,!!J.multiple,st,!1):De!==!!J.multiple&amp;&amp;(J.defaultValue!=null?ve(G,!!J.multiple,J.defaultValue,!0):ve(G,!!J.multiple,J.multiple?[]:&quot;&quot;,!1))}G[uc]=J}catch(gt){Or(g,g.return,gt)}}break;case 6:if($i(w,g),ds(g),$&amp;4){if(g.stateNode===null)throw Error(t(162));G=g.stateNode,J=g.memoizedProps;try{G.nodeValue=J}catch(gt){Or(g,g.return,gt)}}break;case 3:if($i(w,g),ds(g),$&amp;4&amp;&amp;A!==null&amp;&amp;A.memoizedState.isDehydrated)try{Wa(w.containerInfo)}catch(gt){Or(g,g.return,gt)}break;case 4:$i(w,g),ds(g);break;case 13:$i(w,g),ds(g),G=g.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||(Jp=we())),$&amp;4&amp;&amp;vw(g);break;case 22:if(Le=A!==null&amp;&amp;A.memoizedState!==null,g.mode&amp;1?(Cn=(Ee=Cn)||Le,$i(w,g),Cn=Ee):$i(w,g),ds(g),$&amp;8192){if(Ee=g.memoizedState!==null,(g.stateNode.isHidden=Ee)&amp;&amp;!Le&amp;&amp;(g.mode&amp;1)!==0)for(ot=g,Le=g.child;Le!==null;){for(ze=ot=Le;ot!==null;){switch(De=ot,st=De.child,De.tag){case 0:case 11:case 14:case 15:wc(4,De,De.return);break;case 1:ol(De,De.return);var ht=De.stateNode;if(typeof ht.componentWillUnmount==&quot;function&quot;){$=De,A=De.return;try{w=$,ht.props=w.memoizedProps,ht.state=w.memoizedState,ht.componentWillUnmount()}catch(gt){Or($,A,gt)}}break;case 5:ol(De,De.return);break;case 22:if(De.memoizedState!==null){ww(ze);continue}}st!==null?(st.return=De,ot=st):ww(ze)}Le=Le.sibling}e:for(Le=null,ze=g;;){if(ze.tag===5){if(Le===null){Le=ze;try{G=ze.stateNode,Ee?(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;):(pe=ze.stateNode,be=ze.memoizedProps.style,oe=be!=null&amp;&amp;be.hasOwnProperty(&quot;display&quot;)?be.display:null,pe.style.display=Ge(&quot;display&quot;,oe))}catch(gt){Or(g,g.return,gt)}}}else if(ze.tag===6){if(Le===null)try{ze.stateNode.nodeValue=Ee?&quot;&quot;:ze.memoizedProps}catch(gt){Or(g,g.return,gt)}}else if((ze.tag!==22&amp;&amp;ze.tag!==23||ze.memoizedState===null||ze===g)&amp;&amp;ze.child!==null){ze.child.return=ze,ze=ze.child;continue}if(ze===g)break e;for(;ze.sibling===null;){if(ze.return===null||ze.return===g)break e;Le===ze&amp;&amp;(Le=null),ze=ze.return}Le===ze&amp;&amp;(Le=null),ze.sibling.return=ze.return,ze=ze.sibling}}break;case 19:$i(w,g),ds(g),$&amp;4&amp;&amp;vw(g);break;case 21:break;default:$i(w,g),ds(g)}}function ds(g){var w=g.flags;if(w&amp;2){try{e:{for(var A=g.return;A!==null;){if(mw(A)){var $=A;break e}A=A.return}throw Error(t(160))}switch($.tag){case 5:var G=$.stateNode;$.flags&amp;32&amp;&amp;(Ye(G,&quot;&quot;),$.flags&amp;=-33);var J=pw(g);Yp(g,J,G);break;case 3:case 4:var oe=$.stateNode.containerInfo,pe=pw(g);Gp(g,pe,oe);break;default:throw Error(t(161))}}catch(be){Or(g,g.return,be)}g.flags&amp;=-3}w&amp;4096&amp;&amp;(g.flags&amp;=-4097)}function UA(g,w,A){ot=g,bw(g)}function bw(g,w,A){for(var $=(g.mode&amp;1)!==0;ot!==null;){var G=ot,J=G.child;if(G.tag===22&amp;&amp;$){var oe=G.memoizedState!==null||Cd;if(!oe){var pe=G.alternate,be=pe!==null&amp;&amp;pe.memoizedState!==null||Cn;pe=Cd;var Ee=Cn;if(Cd=oe,(Cn=be)&amp;&amp;!Ee)for(ot=G;ot!==null;)oe=ot,be=oe.child,oe.tag===22&amp;&amp;oe.memoizedState!==null?_w(G):be!==null?(be.return=oe,ot=be):_w(G);for(;J!==null;)ot=J,bw(J),J=J.sibling;ot=G,Cd=pe,Cn=Ee}xw(g)}else(G.subtreeFlags&amp;8772)!==0&amp;&amp;J!==null?(J.return=G,ot=J):xw(g)}}function xw(g){for(;ot!==null;){var w=ot;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:Cn||Ed(5,w);break;case 1:var $=w.stateNode;if(w.flags&amp;4&amp;&amp;!Cn)if(A===null)$.componentDidMount();else{var G=w.elementType===w.type?A.memoizedProps:Bi(w.type,A.memoizedProps);$.componentDidUpdate(G,A.memoizedState,$.__reactInternalSnapshotBeforeUpdate)}var J=w.updateQueue;J!==null&amp;&amp;w2(w,J,$);break;case 3:var oe=w.updateQueue;if(oe!==null){if(A=null,w.child!==null)switch(w.child.tag){case 5:A=w.child.stateNode;break;case 1:A=w.child.stateNode}w2(w,oe,A)}break;case 5:var pe=w.stateNode;if(A===null&amp;&amp;w.flags&amp;4){A=pe;var be=w.memoizedProps;switch(w.type){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:be.autoFocus&amp;&amp;A.focus();break;case&quot;img&quot;:be.src&amp;&amp;(A.src=be.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(w.memoizedState===null){var Ee=w.alternate;if(Ee!==null){var Le=Ee.memoizedState;if(Le!==null){var ze=Le.dehydrated;ze!==null&amp;&amp;Wa(ze)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(t(163))}Cn||w.flags&amp;512&amp;&amp;Xp(w)}catch(De){Or(w,w.return,De)}}if(w===g){ot=null;break}if(A=w.sibling,A!==null){A.return=w.return,ot=A;break}ot=w.return}}function ww(g){for(;ot!==null;){var w=ot;if(w===g){ot=null;break}var A=w.sibling;if(A!==null){A.return=w.return,ot=A;break}ot=w.return}}function _w(g){for(;ot!==null;){var w=ot;try{switch(w.tag){case 0:case 11:case 15:var A=w.return;try{Ed(4,w)}catch(be){Or(w,A,be)}break;case 1:var $=w.stateNode;if(typeof $.componentDidMount==&quot;function&quot;){var G=w.return;try{$.componentDidMount()}catch(be){Or(w,G,be)}}var J=w.return;try{Xp(w)}catch(be){Or(w,J,be)}break;case 5:var oe=w.return;try{Xp(w)}catch(be){Or(w,oe,be)}}}catch(be){Or(w,w.return,be)}if(w===g){ot=null;break}var pe=w.sibling;if(pe!==null){pe.return=w.return,ot=pe;break}ot=w.return}}var VA=Math.ceil,Ad=E.ReactCurrentDispatcher,Zp=E.ReactCurrentOwner,xi=E.ReactCurrentBatchConfig,Qt=0,rn=null,Br=null,pn=0,ii=0,ll=la(0),Hr=0,_c=null,eo=0,Md=0,Qp=0,jc=null,Kn=null,Jp=0,cl=1/0,Is=null,Od=!1,e0=null,ma=null,Td=!1,pa=null,Pd=0,Sc=0,t0=null,Id=-1,Rd=0;function In(){return(Qt&amp;6)!==0?we():Id!==-1?Id:Id=we()}function ga(g){return(g.mode&amp;1)===0?1:(Qt&amp;2)!==0&amp;&amp;pn!==0?pn&amp;-pn:NA.transition!==null?(Rd===0&amp;&amp;(Rd=Xt()),Rd):(g=Bt,g!==0||(g=window.event,g=g===void 0?16:Ku(g.type)),g)}function Ui(g,w,A,$){if(50&lt;Sc)throw Sc=0,t0=null,Error(t(185));fn(g,A,$),((Qt&amp;2)===0||g!==rn)&amp;&amp;(g===rn&amp;&amp;((Qt&amp;2)===0&amp;&amp;(Md|=A),Hr===4&amp;&amp;va(g,pn)),Xn(g,$),A===1&amp;&amp;Qt===0&amp;&amp;(w.mode&amp;1)===0&amp;&amp;(cl=we()+500,cd&amp;&amp;ua()))}function Xn(g,w){var A=g.callbackNode;is(g,w);var $=Un(g,g===rn?pn:0);if($===0)A!==null&amp;&amp;cr(A),g.callbackNode=null,g.callbackPriority=0;else if(w=$&amp;-$,g.callbackPriority!==w){if(A!=null&amp;&amp;cr(A),w===1)g.tag===0?kA(Sw.bind(null,g)):c2(Sw.bind(null,g)),wA(function(){(Qt&amp;6)===0&amp;&amp;ua()}),A=null;else{switch(hn($)){case 1:A=Re;break;case 4:A=tt;break;case 16:A=$e;break;case 536870912:A=Ft;break;default:A=$e}A=Tw(A,jw.bind(null,g))}g.callbackPriority=w,g.callbackNode=A}}function jw(g,w){if(Id=-1,Rd=0,(Qt&amp;6)!==0)throw Error(t(327));var A=g.callbackNode;if(ul()&amp;&amp;g.callbackNode!==A)return null;var $=Un(g,g===rn?pn:0);if($===0)return null;if(($&amp;30)!==0||($&amp;g.expiredLanes)!==0||w)w=Dd(g,$);else{w=$;var G=Qt;Qt|=2;var J=Nw();(rn!==g||pn!==w)&amp;&amp;(Is=null,cl=we()+500,ro(g,w));do try{HA();break}catch(pe){kw(g,pe)}while(!0);bp(),Ad.current=J,Qt=G,Br!==null?w=0:(rn=null,pn=0,w=Hr)}if(w!==0){if(w===2&amp;&amp;(G=ui(g),G!==0&amp;&amp;($=G,w=r0(g,G))),w===1)throw A=_c,ro(g,0),va(g,$),Xn(g,we()),A;if(w===6)va(g,$);else{if(G=g.current.alternate,($&amp;30)===0&amp;&amp;!qA(G)&amp;&amp;(w=Dd(g,$),w===2&amp;&amp;(J=ui(g),J!==0&amp;&amp;($=J,w=r0(g,J))),w===1))throw A=_c,ro(g,0),va(g,$),Xn(g,we()),A;switch(g.finishedWork=G,g.finishedLanes=$,w){case 0:case 1:throw Error(t(345));case 2:no(g,Kn,Is);break;case 3:if(va(g,$),($&amp;130023424)===$&amp;&amp;(w=Jp+500-we(),10&lt;w)){if(Un(g,0)!==0)break;if(G=g.suspendedLanes,(G&amp;$)!==$){In(),g.pingedLanes|=g.suspendedLanes&amp;G;break}g.timeoutHandle=lp(no.bind(null,g,Kn,Is),w);break}no(g,Kn,Is);break;case 4:if(va(g,$),($&amp;4194240)===$)break;for(w=g.eventTimes,G=-1;0&lt;$;){var oe=31-Et($);J=1&lt;&lt;oe,oe=w[oe],oe&gt;G&amp;&amp;(G=oe),$&amp;=~J}if($=G,$=we()-$,$=(120&gt;$?120:480&gt;$?480:1080&gt;$?1080:1920&gt;$?1920:3e3&gt;$?3e3:4320&gt;$?4320:1960*VA($/1960))-$,10&lt;$){g.timeoutHandle=lp(no.bind(null,g,Kn,Is),$);break}no(g,Kn,Is);break;case 5:no(g,Kn,Is);break;default:throw Error(t(329))}}}return Xn(g,we()),g.callbackNode===A?jw.bind(null,g):null}function r0(g,w){var A=jc;return g.current.memoizedState.isDehydrated&amp;&amp;(ro(g,w).flags|=256),g=Dd(g,w),g!==2&amp;&amp;(w=Kn,Kn=A,w!==null&amp;&amp;n0(w)),g}function n0(g){Kn===null?Kn=g:Kn.push.apply(Kn,g)}function qA(g){for(var w=g;;){if(w.flags&amp;16384){var A=w.updateQueue;if(A!==null&amp;&amp;(A=A.stores,A!==null))for(var $=0;$&lt;A.length;$++){var G=A[$],J=G.getSnapshot;G=G.value;try{if(!Li(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===g)break;for(;w.sibling===null;){if(w.return===null||w.return===g)return!0;w=w.return}w.sibling.return=w.return,w=w.sibling}}return!0}function va(g,w){for(w&amp;=~Qp,w&amp;=~Md,g.suspendedLanes|=w,g.pingedLanes&amp;=~w,g=g.expirationTimes;0&lt;w;){var A=31-Et(w),$=1&lt;&lt;A;g[A]=-1,w&amp;=~$}}function Sw(g){if((Qt&amp;6)!==0)throw Error(t(327));ul();var w=Un(g,0);if((w&amp;1)===0)return Xn(g,we()),null;var A=Dd(g,w);if(g.tag!==0&amp;&amp;A===2){var $=ui(g);$!==0&amp;&amp;(w=$,A=r0(g,$))}if(A===1)throw A=_c,ro(g,0),va(g,w),Xn(g,we()),A;if(A===6)throw Error(t(345));return g.finishedWork=g.current.alternate,g.finishedLanes=w,no(g,Kn,Is),Xn(g,we()),null}function i0(g,w){var A=Qt;Qt|=1;try{return g(w)}finally{Qt=A,Qt===0&amp;&amp;(cl=we()+500,cd&amp;&amp;ua())}}function to(g){pa!==null&amp;&amp;pa.tag===0&amp;&amp;(Qt&amp;6)===0&amp;&amp;ul();var w=Qt;Qt|=1;var A=xi.transition,$=Bt;try{if(xi.transition=null,Bt=1,g)return g()}finally{Bt=$,xi.transition=A,Qt=w,(Qt&amp;6)===0&amp;&amp;ua()}}function s0(){ii=ll.current,pr(ll)}function ro(g,w){g.finishedWork=null,g.finishedLanes=0;var A=g.timeoutHandle;if(A!==-1&amp;&amp;(g.timeoutHandle=-1,xA(A)),Br!==null)for(A=Br.return;A!==null;){var $=A;switch(mp($),$.tag){case 1:$=$.type.childContextTypes,$!=null&amp;&amp;od();break;case 3:sl(),pr(qn),pr(Sn),Cp();break;case 5:kp($);break;case 4:sl();break;case 13:pr(Nr);break;case 19:pr(Nr);break;case 10:xp($.type._context);break;case 22:case 23:s0()}A=A.return}if(rn=g,Br=g=ya(g.current,null),pn=ii=w,Hr=0,_c=null,Qp=Md=eo=0,Kn=jc=null,Za!==null){for(w=0;w&lt;Za.length;w++)if(A=Za[w],$=A.interleaved,$!==null){A.interleaved=null;var G=$.next,J=A.pending;if(J!==null){var oe=J.next;J.next=G,$.next=oe}A.pending=$}Za=null}return g}function kw(g,w){do{var A=Br;try{if(bp(),bd.current=jd,xd){for(var $=Cr.memoizedState;$!==null;){var G=$.queue;G!==null&amp;&amp;(G.pending=null),$=$.next}xd=!1}if(Ja=0,tn=Wr=Cr=null,gc=!1,vc=0,Zp.current=null,A===null||A.return===null){Hr=1,_c=w,Br=null;break}e:{var J=g,oe=A.return,pe=A,be=w;if(w=pn,pe.flags|=32768,be!==null&amp;&amp;typeof be==&quot;object&quot;&amp;&amp;typeof be.then==&quot;function&quot;){var Ee=be,Le=pe,ze=Le.tag;if((Le.mode&amp;1)===0&amp;&amp;(ze===0||ze===11||ze===15)){var De=Le.alternate;De?(Le.updateQueue=De.updateQueue,Le.memoizedState=De.memoizedState,Le.lanes=De.lanes):(Le.updateQueue=null,Le.memoizedState=null)}var st=Y2(oe);if(st!==null){st.flags&amp;=-257,Z2(st,oe,pe,J,w),st.mode&amp;1&amp;&amp;G2(J,Ee,w),w=st,be=Ee;var ht=w.updateQueue;if(ht===null){var gt=new Set;gt.add(be),w.updateQueue=gt}else ht.add(be);break e}else{if((w&amp;1)===0){G2(J,Ee,w),a0();break e}be=Error(t(426))}}else if(br&amp;&amp;pe.mode&amp;1){var Dr=Y2(oe);if(Dr!==null){(Dr.flags&amp;65536)===0&amp;&amp;(Dr.flags|=256),Z2(Dr,oe,pe,J,w),vp(al(be,pe));break e}}J=be=al(be,pe),Hr!==4&amp;&amp;(Hr=2),jc===null?jc=[J]:jc.push(J),J=oe;do{switch(J.tag){case 3:J.flags|=65536,w&amp;=-w,J.lanes|=w;var ke=K2(J,be,w);x2(J,ke);break e;case 1:pe=be;var xe=J.type,Ne=J.stateNode;if((J.flags&amp;128)===0&amp;&amp;(typeof xe.getDerivedStateFromError==&quot;function&quot;||Ne!==null&amp;&amp;typeof Ne.componentDidCatch==&quot;function&quot;&amp;&amp;(ma===null||!ma.has(Ne)))){J.flags|=65536,w&amp;=-w,J.lanes|=w;var We=X2(J,pe,w);x2(J,We);break e}}J=J.return}while(J!==null)}Ew(A)}catch(yt){w=yt,Br===A&amp;&amp;A!==null&amp;&amp;(Br=A=A.return);continue}break}while(!0)}function Nw(){var g=Ad.current;return Ad.current=jd,g===null?jd:g}function a0(){(Hr===0||Hr===3||Hr===2)&amp;&amp;(Hr=4),rn===null||(eo&amp;268435455)===0&amp;&amp;(Md&amp;268435455)===0||va(rn,pn)}function Dd(g,w){var A=Qt;Qt|=2;var $=Nw();(rn!==g||pn!==w)&amp;&amp;(Is=null,ro(g,w));do try{WA();break}catch(G){kw(g,G)}while(!0);if(bp(),Qt=A,Ad.current=$,Br!==null)throw Error(t(261));return rn=null,pn=0,Hr}function WA(){for(;Br!==null;)Cw(Br)}function HA(){for(;Br!==null&amp;&amp;!qr();)Cw(Br)}function Cw(g){var w=Ow(g.alternate,g,ii);g.memoizedProps=g.pendingProps,w===null?Ew(g):Br=w,Zp.current=null}function Ew(g){var w=g;do{var A=w.alternate;if(g=w.return,(w.flags&amp;32768)===0){if(A=FA(A,w,ii),A!==null){Br=A;return}}else{if(A=BA(A,w),A!==null){A.flags&amp;=32767,Br=A;return}if(g!==null)g.flags|=32768,g.subtreeFlags=0,g.deletions=null;else{Hr=6,Br=null;return}}if(w=w.sibling,w!==null){Br=w;return}Br=w=g}while(w!==null);Hr===0&amp;&amp;(Hr=5)}function no(g,w,A){var $=Bt,G=xi.transition;try{xi.transition=null,Bt=1,KA(g,w,A,$)}finally{xi.transition=G,Bt=$}return null}function KA(g,w,A,$){do ul();while(pa!==null);if((Qt&amp;6)!==0)throw Error(t(327));A=g.finishedWork;var G=g.finishedLanes;if(A===null)return null;if(g.finishedWork=null,g.finishedLanes=0,A===g.current)throw Error(t(177));g.callbackNode=null,g.callbackPriority=0;var J=A.lanes|A.childLanes;if(di(g,J),g===rn&amp;&amp;(Br=rn=null,pn=0),(A.subtreeFlags&amp;2064)===0&amp;&amp;(A.flags&amp;2064)===0||Td||(Td=!0,Tw($e,function(){return ul(),null})),J=(A.flags&amp;15990)!==0,(A.subtreeFlags&amp;15990)!==0||J){J=xi.transition,xi.transition=null;var oe=Bt;Bt=1;var pe=Qt;Qt|=4,Zp.current=null,$A(g,A),yw(A,g),hA(ap),Lo=!!sp,ap=sp=null,g.current=A,UA(A),fe(),Qt=pe,Bt=oe,xi.transition=J}else g.current=A;if(Td&amp;&amp;(Td=!1,pa=g,Pd=G),J=g.pendingLanes,J===0&amp;&amp;(ma=null),ft(A.stateNode),Xn(g,we()),w!==null)for($=g.onRecoverableError,A=0;A&lt;w.length;A++)G=w[A],$(G.value,{componentStack:G.stack,digest:G.digest});if(Od)throw Od=!1,g=e0,e0=null,g;return(Pd&amp;1)!==0&amp;&amp;g.tag!==0&amp;&amp;ul(),J=g.pendingLanes,(J&amp;1)!==0?g===t0?Sc++:(Sc=0,t0=g):Sc=0,ua(),null}function ul(){if(pa!==null){var g=hn(Pd),w=xi.transition,A=Bt;try{if(xi.transition=null,Bt=16&gt;g?16:g,pa===null)var $=!1;else{if(g=pa,pa=null,Pd=0,(Qt&amp;6)!==0)throw Error(t(331));var G=Qt;for(Qt|=4,ot=g.current;ot!==null;){var J=ot,oe=J.child;if((ot.flags&amp;16)!==0){var pe=J.deletions;if(pe!==null){for(var be=0;be&lt;pe.length;be++){var Ee=pe[be];for(ot=Ee;ot!==null;){var Le=ot;switch(Le.tag){case 0:case 11:case 15:wc(8,Le,J)}var ze=Le.child;if(ze!==null)ze.return=Le,ot=ze;else for(;ot!==null;){Le=ot;var De=Le.sibling,st=Le.return;if(hw(Le),Le===Ee){ot=null;break}if(De!==null){De.return=st,ot=De;break}ot=st}}}var ht=J.alternate;if(ht!==null){var gt=ht.child;if(gt!==null){ht.child=null;do{var Dr=gt.sibling;gt.sibling=null,gt=Dr}while(gt!==null)}}ot=J}}if((J.subtreeFlags&amp;2064)!==0&amp;&amp;oe!==null)oe.return=J,ot=oe;else e:for(;ot!==null;){if(J=ot,(J.flags&amp;2048)!==0)switch(J.tag){case 0:case 11:case 15:wc(9,J,J.return)}var ke=J.sibling;if(ke!==null){ke.return=J.return,ot=ke;break e}ot=J.return}}var xe=g.current;for(ot=xe;ot!==null;){oe=ot;var Ne=oe.child;if((oe.subtreeFlags&amp;2064)!==0&amp;&amp;Ne!==null)Ne.return=oe,ot=Ne;else e:for(oe=xe;ot!==null;){if(pe=ot,(pe.flags&amp;2048)!==0)try{switch(pe.tag){case 0:case 11:case 15:Ed(9,pe)}}catch(yt){Or(pe,pe.return,yt)}if(pe===oe){ot=null;break e}var We=pe.sibling;if(We!==null){We.return=pe.return,ot=We;break e}ot=pe.return}}if(Qt=G,ua(),St&amp;&amp;typeof St.onPostCommitFiberRoot==&quot;function&quot;)try{St.onPostCommitFiberRoot(At,g)}catch{}$=!0}return $}finally{Bt=A,xi.transition=w}}return!1}function Aw(g,w,A){w=al(A,w),w=K2(g,w,1),g=fa(g,w,1),w=In(),g!==null&amp;&amp;(fn(g,1,w),Xn(g,w))}function Or(g,w,A){if(g.tag===3)Aw(g,g,A);else for(;w!==null;){if(w.tag===3){Aw(w,g,A);break}else if(w.tag===1){var $=w.stateNode;if(typeof w.type.getDerivedStateFromError==&quot;function&quot;||typeof $.componentDidCatch==&quot;function&quot;&amp;&amp;(ma===null||!ma.has($))){g=al(A,g),g=X2(w,g,1),w=fa(w,g,1),g=In(),w!==null&amp;&amp;(fn(w,1,g),Xn(w,g));break}}w=w.return}}function XA(g,w,A){var $=g.pingCache;$!==null&amp;&amp;$.delete(w),w=In(),g.pingedLanes|=g.suspendedLanes&amp;A,rn===g&amp;&amp;(pn&amp;A)===A&amp;&amp;(Hr===4||Hr===3&amp;&amp;(pn&amp;130023424)===pn&amp;&amp;500&gt;we()-Jp?ro(g,0):Qp|=A),Xn(g,w)}function Mw(g,w){w===0&amp;&amp;((g.mode&amp;1)===0?w=1:(w=Sr,Sr&lt;&lt;=1,(Sr&amp;130023424)===0&amp;&amp;(Sr=4194304)));var A=In();g=Os(g,w),g!==null&amp;&amp;(fn(g,w,A),Xn(g,A))}function GA(g){var w=g.memoizedState,A=0;w!==null&amp;&amp;(A=w.retryLane),Mw(g,A)}function YA(g,w){var A=0;switch(g.tag){case 13:var $=g.stateNode,G=g.memoizedState;G!==null&amp;&amp;(A=G.retryLane);break;case 19:$=g.stateNode;break;default:throw Error(t(314))}$!==null&amp;&amp;$.delete(w),Mw(g,A)}var Ow;Ow=function(g,w,A){if(g!==null)if(g.memoizedProps!==w.pendingProps||qn.current)Hn=!0;else{if((g.lanes&amp;A)===0&amp;&amp;(w.flags&amp;128)===0)return Hn=!1,LA(g,w,A);Hn=(g.flags&amp;131072)!==0}else Hn=!1,br&amp;&amp;(w.flags&amp;1048576)!==0&amp;&amp;u2(w,dd,w.index);switch(w.lanes=0,w.tag){case 2:var $=w.type;Nd(g,w),g=w.pendingProps;var G=Qo(w,Sn.current);il(w,A),G=Mp(null,w,$,g,G,A);var J=Op();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,Wn($)?(J=!0,ld(w)):J=!1,w.memoizedState=G.state!==null&amp;&amp;G.state!==void 0?G.state:null,jp(w),G.updater=Sd,w.stateNode=G,G._reactInternals=w,Lp(w,$,g,A),w=$p(null,w,$,!0,J,A)):(w.tag=0,br&amp;&amp;J&amp;&amp;hp(w),Pn(null,w,G,A),w=w.child),w;case 16:$=w.elementType;e:{switch(Nd(g,w),g=w.pendingProps,G=$._init,$=G($._payload),w.type=$,G=w.tag=QA($),g=Bi($,g),G){case 0:w=zp(null,w,$,g,A);break e;case 1:w=nw(null,w,$,g,A);break e;case 11:w=Q2(null,w,$,g,A);break e;case 14:w=J2(null,w,$,Bi($.type,g),A);break e}throw Error(t(306,$,&quot;&quot;))}return w;case 0:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:Bi($,G),zp(g,w,$,G,A);case 1:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:Bi($,G),nw(g,w,$,G,A);case 3:e:{if(iw(w),g===null)throw Error(t(387));$=w.pendingProps,J=w.memoizedState,G=J.element,b2(g,w),vd(w,$,null,A);var oe=w.memoizedState;if($=oe.element,J.isDehydrated)if(J={element:$,isDehydrated:!1,cache:oe.cache,pendingSuspenseBoundaries:oe.pendingSuspenseBoundaries,transitions:oe.transitions},w.updateQueue.baseState=J,w.memoizedState=J,w.flags&amp;256){G=al(Error(t(423)),w),w=sw(g,w,$,A,G);break e}else if($!==G){G=al(Error(t(424)),w),w=sw(g,w,$,A,G);break e}else for(ni=oa(w.stateNode.containerInfo.firstChild),ri=w,br=!0,Fi=null,A=v2(w,null,$,A),w.child=A;A;)A.flags=A.flags&amp;-3|4096,A=A.sibling;else{if(tl(),$===G){w=Ps(g,w,A);break e}Pn(g,w,$,A)}w=w.child}return w;case 5:return _2(w),g===null&amp;&amp;gp(w),$=w.type,G=w.pendingProps,J=g!==null?g.memoizedProps:null,oe=G.children,op($,G)?oe=null:J!==null&amp;&amp;op($,J)&amp;&amp;(w.flags|=32),rw(g,w),Pn(g,w,oe,A),w.child;case 6:return g===null&amp;&amp;gp(w),null;case 13:return aw(g,w,A);case 4:return Sp(w,w.stateNode.containerInfo),$=w.pendingProps,g===null?w.child=rl(w,null,$,A):Pn(g,w,$,A),w.child;case 11:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:Bi($,G),Q2(g,w,$,G,A);case 7:return Pn(g,w,w.pendingProps,A),w.child;case 8:return Pn(g,w,w.pendingProps.children,A),w.child;case 12:return Pn(g,w,w.pendingProps.children,A),w.child;case 10:e:{if($=w.type._context,G=w.pendingProps,J=w.memoizedProps,oe=G.value,fr(md,$._currentValue),$._currentValue=oe,J!==null)if(Li(J.value,oe)){if(J.children===G.children&amp;&amp;!qn.current){w=Ps(g,w,A);break e}}else for(J=w.child,J!==null&amp;&amp;(J.return=w);J!==null;){var pe=J.dependencies;if(pe!==null){oe=J.child;for(var be=pe.firstContext;be!==null;){if(be.context===$){if(J.tag===1){be=Ts(-1,A&amp;-A),be.tag=2;var Ee=J.updateQueue;if(Ee!==null){Ee=Ee.shared;var Le=Ee.pending;Le===null?be.next=be:(be.next=Le.next,Le.next=be),Ee.pending=be}}J.lanes|=A,be=J.alternate,be!==null&amp;&amp;(be.lanes|=A),wp(J.return,A,w),pe.lanes|=A;break}be=be.next}}else if(J.tag===10)oe=J.type===w.type?null:J.child;else if(J.tag===18){if(oe=J.return,oe===null)throw Error(t(341));oe.lanes|=A,pe=oe.alternate,pe!==null&amp;&amp;(pe.lanes|=A),wp(oe,A,w),oe=J.sibling}else oe=J.child;if(oe!==null)oe.return=J;else for(oe=J;oe!==null;){if(oe===w){oe=null;break}if(J=oe.sibling,J!==null){J.return=oe.return,oe=J;break}oe=oe.return}J=oe}Pn(g,w,G.children,A),w=w.child}return w;case 9:return G=w.type,$=w.pendingProps.children,il(w,A),G=yi(G),$=$(G),w.flags|=1,Pn(g,w,$,A),w.child;case 14:return $=w.type,G=Bi($,w.pendingProps),G=Bi($.type,G),J2(g,w,$,G,A);case 15:return ew(g,w,w.type,w.pendingProps,A);case 17:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:Bi($,G),Nd(g,w),w.tag=1,Wn($)?(g=!0,ld(w)):g=!1,il(w,A),W2(w,$,G),Lp(w,$,G,A),$p(null,w,$,!0,g,A);case 19:return lw(g,w,A);case 22:return tw(g,w,A)}throw Error(t(156,w.tag))};function Tw(g,w){return nr(g,w)}function ZA(g,w,A,$){this.tag=g,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=$,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wi(g,w,A,$){return new ZA(g,w,A,$)}function o0(g){return g=g.prototype,!(!g||!g.isReactComponent)}function QA(g){if(typeof g==&quot;function&quot;)return o0(g)?1:0;if(g!=null){if(g=g.$$typeof,g===z)return 11;if(g===C)return 14}return 2}function ya(g,w){var A=g.alternate;return A===null?(A=wi(g.tag,w,g.key,g.mode),A.elementType=g.elementType,A.type=g.type,A.stateNode=g.stateNode,A.alternate=g,g.alternate=A):(A.pendingProps=w,A.type=g.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=g.flags&amp;14680064,A.childLanes=g.childLanes,A.lanes=g.lanes,A.child=g.child,A.memoizedProps=g.memoizedProps,A.memoizedState=g.memoizedState,A.updateQueue=g.updateQueue,w=g.dependencies,A.dependencies=w===null?null:{lanes:w.lanes,firstContext:w.firstContext},A.sibling=g.sibling,A.index=g.index,A.ref=g.ref,A}function Ld(g,w,A,$,G,J){var oe=2;if($=g,typeof g==&quot;function&quot;)o0(g)&amp;&amp;(oe=1);else if(typeof g==&quot;string&quot;)oe=5;else e:switch(g){case W:return io(A.children,G,J,w);case L:oe=8,G|=8;break;case V:return g=wi(12,A,w,G|2),g.elementType=V,g.lanes=J,g;case O:return g=wi(13,A,w,G),g.elementType=O,g.lanes=J,g;case I:return g=wi(19,A,w,G),g.elementType=I,g.lanes=J,g;case k:return Fd(A,G,J,w);default:if(typeof g==&quot;object&quot;&amp;&amp;g!==null)switch(g.$$typeof){case H:oe=10;break e;case K:oe=9;break e;case z:oe=11;break e;case C:oe=14;break e;case j:oe=16,$=null;break e}throw Error(t(130,g==null?g:typeof g,&quot;&quot;))}return w=wi(oe,A,w,G),w.elementType=g,w.type=$,w.lanes=J,w}function io(g,w,A,$){return g=wi(7,g,$,w),g.lanes=A,g}function Fd(g,w,A,$){return g=wi(22,g,$,w),g.elementType=k,g.lanes=A,g.stateNode={isHidden:!1},g}function l0(g,w,A){return g=wi(6,g,null,w),g.lanes=A,g}function c0(g,w,A){return w=wi(4,g.children!==null?g.children:[],g.key,w),w.lanes=A,w.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},w}function JA(g,w,A,$,G){this.tag=w,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qt(0),this.expirationTimes=qt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qt(0),this.identifierPrefix=$,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function u0(g,w,A,$,G,J,oe,pe,be){return g=new JA(g,w,A,pe,be),w===1?(w=1,J===!0&amp;&amp;(w|=8)):w=0,J=wi(3,null,null,w),g.current=J,J.stateNode=g,J.memoizedState={element:$,isDehydrated:A,cache:null,transitions:null,pendingSuspenseBoundaries:null},jp(J),g}function eM(g,w,A){var $=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:$==null?null:&quot;&quot;+$,children:g,containerInfo:w,implementation:A}}function Pw(g){if(!g)return ca;g=g._reactInternals;e:{if(it(g)!==g||g.tag!==1)throw Error(t(170));var w=g;do{switch(w.tag){case 3:w=w.stateNode.context;break e;case 1:if(Wn(w.type)){w=w.stateNode.__reactInternalMemoizedMergedChildContext;break e}}w=w.return}while(w!==null);throw Error(t(171))}if(g.tag===1){var A=g.type;if(Wn(A))return o2(g,A,w)}return w}function Iw(g,w,A,$,G,J,oe,pe,be){return g=u0(A,$,!0,g,G,J,oe,pe,be),g.context=Pw(null),A=g.current,$=In(),G=ga(A),J=Ts($,G),J.callback=w??null,fa(A,J,G),g.current.lanes=G,fn(g,G,$),Xn(g,$),g}function Bd(g,w,A,$){var G=w.current,J=In(),oe=ga(G);return A=Pw(A),w.context===null?w.context=A:w.pendingContext=A,w=Ts(J,oe),w.payload={element:g},$=$===void 0?null:$,$!==null&amp;&amp;(w.callback=$),g=fa(G,w,oe),g!==null&amp;&amp;(Ui(g,G,oe,J),gd(g,G,oe)),oe}function zd(g){return g=g.current,g.child?(g.child.tag===5,g.child.stateNode):null}function Rw(g,w){if(g=g.memoizedState,g!==null&amp;&amp;g.dehydrated!==null){var A=g.retryLane;g.retryLane=A!==0&amp;&amp;A&lt;w?A:w}}function d0(g,w){Rw(g,w),(g=g.alternate)&amp;&amp;Rw(g,w)}function tM(){return null}var Dw=typeof reportError==&quot;function&quot;?reportError:function(g){console.error(g)};function f0(g){this._internalRoot=g}$d.prototype.render=f0.prototype.render=function(g){var w=this._internalRoot;if(w===null)throw Error(t(409));Bd(g,w,null,null)},$d.prototype.unmount=f0.prototype.unmount=function(){var g=this._internalRoot;if(g!==null){this._internalRoot=null;var w=g.containerInfo;to(function(){Bd(null,g,null,null)}),w[Cs]=null}};function $d(g){this._internalRoot=g}$d.prototype.unstable_scheduleHydration=function(g){if(g){var w=mi();g={blockedOn:null,target:g,priority:w};for(var A=0;A&lt;jn.length&amp;&amp;w!==0&amp;&amp;w&lt;jn[A].priority;A++);jn.splice(A,0,g),A===0&amp;&amp;Hu(g)}};function h0(g){return!(!g||g.nodeType!==1&amp;&amp;g.nodeType!==9&amp;&amp;g.nodeType!==11)}function Ud(g){return!(!g||g.nodeType!==1&amp;&amp;g.nodeType!==9&amp;&amp;g.nodeType!==11&amp;&amp;(g.nodeType!==8||g.nodeValue!==&quot; react-mount-point-unstable &quot;))}function Lw(){}function rM(g,w,A,$,G){if(G){if(typeof $==&quot;function&quot;){var J=$;$=function(){var Ee=zd(oe);J.call(Ee)}}var oe=Iw(w,$,g,0,null,!1,!1,&quot;&quot;,Lw);return g._reactRootContainer=oe,g[Cs]=oe.current,lc(g.nodeType===8?g.parentNode:g),to(),oe}for(;G=g.lastChild;)g.removeChild(G);if(typeof $==&quot;function&quot;){var pe=$;$=function(){var Ee=zd(be);pe.call(Ee)}}var be=u0(g,0,!1,null,null,!1,!1,&quot;&quot;,Lw);return g._reactRootContainer=be,g[Cs]=be.current,lc(g.nodeType===8?g.parentNode:g),to(function(){Bd(w,be,A,$)}),be}function Vd(g,w,A,$,G){var J=A._reactRootContainer;if(J){var oe=J;if(typeof G==&quot;function&quot;){var pe=G;G=function(){var be=zd(oe);pe.call(be)}}Bd(w,oe,g,G)}else oe=rM(A,w,g,G,$);return zd(oe)}ti=function(g){switch(g.tag){case 3:var w=g.stateNode;if(w.current.memoizedState.isDehydrated){var A=kr(w.pendingLanes);A!==0&amp;&amp;(fi(w,A|1),Xn(w,we()),(Qt&amp;6)===0&amp;&amp;(cl=we()+500,ua()))}break;case 13:to(function(){var $=Os(g,1);if($!==null){var G=In();Ui($,g,1,G)}}),d0(g,1)}},hi=function(g){if(g.tag===13){var w=Os(g,134217728);if(w!==null){var A=In();Ui(w,g,134217728,A)}d0(g,134217728)}},ss=function(g){if(g.tag===13){var w=ga(g),A=Os(g,w);if(A!==null){var $=In();Ui(A,g,w,$)}d0(g,w)}},mi=function(){return Bt},Vn=function(g,w){var A=Bt;try{return Bt=g,w()}finally{Bt=A}},et=function(g,w,A){switch(w){case&quot;input&quot;:if(se(g,A),w=A.name,A.type===&quot;radio&quot;&amp;&amp;w!=null){for(A=g;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 $=A[w];if($!==g&amp;&amp;$.form===g.form){var G=ad($);if(!G)throw Error(t(90));Q($),se($,G)}}}break;case&quot;textarea&quot;:_e(g,A);break;case&quot;select&quot;:w=A.value,w!=null&amp;&amp;ve(g,!!A.multiple,w,!1)}},nt=i0,Pt=to;var nM={usingClientEntryPoint:!1,Events:[dc,Yo,ad,Yt,Ut,i0]},kc={findFiberByHostInstance:Ka,bundleType:0,version:&quot;18.3.1&quot;,rendererPackageName:&quot;react-dom&quot;},iM={bundleType:kc.bundleType,version:kc.version,rendererPackageName:kc.rendererPackageName,rendererConfig:kc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=Lt(g),g===null?null:g.stateNode},findFiberByHostInstance:kc.findFiberByHostInstance||tM,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 qd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qd.isDisabled&amp;&amp;qd.supportsFiber)try{At=qd.inject(iM),St=qd}catch{}}return Gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nM,Gn.createPortal=function(g,w){var A=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!h0(w))throw Error(t(200));return eM(g,w,null,A)},Gn.createRoot=function(g,w){if(!h0(g))throw Error(t(299));var A=!1,$=&quot;&quot;,G=Dw;return w!=null&amp;&amp;(w.unstable_strictMode===!0&amp;&amp;(A=!0),w.identifierPrefix!==void 0&amp;&amp;($=w.identifierPrefix),w.onRecoverableError!==void 0&amp;&amp;(G=w.onRecoverableError)),w=u0(g,1,!1,null,null,A,!1,$,G),g[Cs]=w.current,lc(g.nodeType===8?g.parentNode:g),new f0(w)},Gn.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var w=g._reactInternals;if(w===void 0)throw typeof g.render==&quot;function&quot;?Error(t(188)):(g=Object.keys(g).join(&quot;,&quot;),Error(t(268,g)));return g=Lt(w),g=g===null?null:g.stateNode,g},Gn.flushSync=function(g){return to(g)},Gn.hydrate=function(g,w,A){if(!Ud(w))throw Error(t(200));return Vd(null,g,w,!0,A)},Gn.hydrateRoot=function(g,w,A){if(!h0(g))throw Error(t(405));var $=A!=null&amp;&amp;A.hydratedSources||null,G=!1,J=&quot;&quot;,oe=Dw;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;(oe=A.onRecoverableError)),w=Iw(w,null,g,1,A??null,G,!1,J,oe),g[Cs]=w.current,lc(g),$)for(g=0;g&lt;$.length;g++)A=$[g],G=A._getVersion,G=G(A._source),w.mutableSourceEagerHydrationData==null?w.mutableSourceEagerHydrationData=[A,G]:w.mutableSourceEagerHydrationData.push(A,G);return new $d(w)},Gn.render=function(g,w,A){if(!Ud(w))throw Error(t(200));return Vd(null,g,w,!1,A)},Gn.unmountComponentAtNode=function(g){if(!Ud(g))throw Error(t(40));return g._reactRootContainer?(to(function(){Vd(null,null,g,!1,function(){g._reactRootContainer=null,g[Cs]=null})}),!0):!1},Gn.unstable_batchedUpdates=i0,Gn.unstable_renderSubtreeIntoContainer=function(g,w,A,$){if(!Ud(A))throw Error(t(200));if(g==null||g._reactInternals===void 0)throw Error(t(38));return Vd(g,w,A,!1,$)},Gn.version=&quot;18.3.1-next-f1338f8080-20240426&quot;,Gn}var Ww;function TS(){if(Ww)return g0.exports;Ww=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(),g0.exports=fM(),g0.exports}var Hw;function hM(){if(Hw)return Wd;Hw=1;var e=TS();return Wd.createRoot=e.createRoot,Wd.hydrateRoot=e.hydrateRoot,Wd}var mM=hM();const pM=ts(mM);var ob=TS();function Xc(){return Xc=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},Xc.apply(this,arguments)}var ka;(function(e){e.Pop=&quot;POP&quot;,e.Push=&quot;PUSH&quot;,e.Replace=&quot;REPLACE&quot;})(ka||(ka={}));const Kw=&quot;popstate&quot;;function gM(e){e===void 0&amp;&amp;(e={});function r(n,o){let{pathname:s,search:a,hash:u}=n.location;return kv(&quot;&quot;,{pathname:s,search:a,hash:u},o.state&amp;&amp;o.state.usr||null,o.state&amp;&amp;o.state.key||&quot;default&quot;)}function t(n,o){return typeof o==&quot;string&quot;?o:Pf(o)}return yM(r,t,null,e)}function Fr(e,r){if(e===!1||e===null||typeof e&gt;&quot;u&quot;)throw new Error(r)}function lb(e,r){if(!e){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(r);try{throw new Error(r)}catch{}}}function vM(){return Math.random().toString(36).substr(2,8)}function Xw(e,r){return{usr:e.state,key:e.key,idx:r}}function kv(e,r,t,n){return t===void 0&amp;&amp;(t=null),Xc({pathname:typeof e==&quot;string&quot;?e:e.pathname,search:&quot;&quot;,hash:&quot;&quot;},typeof r==&quot;string&quot;?Rl(r):r,{state:t,key:r&amp;&amp;r.key||n||vM()})}function Pf(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 Rl(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 yM(e,r,t,n){n===void 0&amp;&amp;(n={});let{window:o=document.defaultView,v5Compat:s=!1}=n,a=o.history,u=ka.Pop,l=null,i=c();i==null&amp;&amp;(i=0,a.replaceState(Xc({},a.state,{idx:i}),&quot;&quot;));function c(){return(a.state||{idx:null}).idx}function h(){u=ka.Pop;let p=c(),b=p==null?null:p-i;i=p,l&amp;&amp;l({action:u,location:y.location,delta:b})}function f(p,b){u=ka.Push;let x=kv(y.location,p,b);i=c()+1;let _=Xw(x,i),E=y.createHref(x);try{a.pushState(_,&quot;&quot;,E)}catch(M){if(M instanceof DOMException&amp;&amp;M.name===&quot;DataCloneError&quot;)throw M;o.location.assign(E)}s&amp;&amp;l&amp;&amp;l({action:u,location:y.location,delta:1})}function d(p,b){u=ka.Replace;let x=kv(y.location,p,b);i=c();let _=Xw(x,i),E=y.createHref(x);a.replaceState(_,&quot;&quot;,E),s&amp;&amp;l&amp;&amp;l({action:u,location:y.location,delta:0})}function v(p){let b=o.location.origin!==&quot;null&quot;?o.location.origin:o.location.href,x=typeof p==&quot;string&quot;?p:Pf(p);return x=x.replace(/ $/,&quot;%20&quot;),Fr(b,&quot;No window.location.(origin|href) available to create URL for href: &quot;+x),new URL(x,b)}let y={get action(){return u},get location(){return e(o,a)},listen(p){if(l)throw new Error(&quot;A history only accepts one active listener&quot;);return o.addEventListener(Kw,h),l=p,()=&gt;{o.removeEventListener(Kw,h),l=null}},createHref(p){return r(o,p)},createURL:v,encodeLocation(p){let b=v(p);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:f,replace:d,go(p){return a.go(p)}};return y}var Gw;(function(e){e.data=&quot;data&quot;,e.deferred=&quot;deferred&quot;,e.redirect=&quot;redirect&quot;,e.error=&quot;error&quot;})(Gw||(Gw={}));function bM(e,r,t){return t===void 0&amp;&amp;(t=&quot;/&quot;),xM(e,r,t)}function xM(e,r,t,n){let o=typeof r==&quot;string&quot;?Rl(r):r,s=cb(o.pathname||&quot;/&quot;,t);if(s==null)return null;let a=PS(e);wM(a);let u=null;for(let l=0;u==null&amp;&amp;l&lt;a.length;++l){let i=PM(s);u=MM(a[l],i)}return u}function PS(e,r,t,n){r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=[]),n===void 0&amp;&amp;(n=&quot;&quot;);let o=(s,a,u)=&gt;{let l={relativePath:u===void 0?s.path||&quot;&quot;:u,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};l.relativePath.startsWith(&quot;/&quot;)&amp;&amp;(Fr(l.relativePath.startsWith(n),&#039;Absolute route path &quot;&#039;+l.relativePath+&#039;&quot; nested under path &#039;+(&#039;&quot;&#039;+n+&#039;&quot; is not valid. An absolute child route path &#039;)+&quot;must start with the combined path of all its parent routes.&quot;),l.relativePath=l.relativePath.slice(n.length));let i=Ea([n,l.relativePath]),c=t.concat(l);s.children&amp;&amp;s.children.length&gt;0&amp;&amp;(Fr(s.index!==!0,&quot;Index routes must not have child routes. Please remove &quot;+(&#039;all child routes from route path &quot;&#039;+i+&#039;&quot;.&#039;)),PS(s.children,r,c,i)),!(s.path==null&amp;&amp;!s.index)&amp;&amp;r.push({path:i,score:EM(i,s.index),routesMeta:c})};return e.forEach((s,a)=&gt;{var u;if(s.path===&quot;&quot;||!((u=s.path)!=null&amp;&amp;u.includes(&quot;?&quot;)))o(s,a);else for(let l of IS(s.path))o(s,a,l)}),r}function IS(e){let r=e.split(&quot;/&quot;);if(r.length===0)return[];let[t,...n]=r,o=t.endsWith(&quot;?&quot;),s=t.replace(/\?$/,&quot;&quot;);if(n.length===0)return o?[s,&quot;&quot;]:[s];let a=IS(n.join(&quot;/&quot;)),u=[];return u.push(...a.map(l=&gt;l===&quot;&quot;?s:[s,l].join(&quot;/&quot;))),o&amp;&amp;u.push(...a),u.map(l=&gt;e.startsWith(&quot;/&quot;)&amp;&amp;l===&quot;&quot;?&quot;/&quot;:l)}function wM(e){e.sort((r,t)=&gt;r.score!==t.score?t.score-r.score:AM(r.routesMeta.map(n=&gt;n.childrenIndex),t.routesMeta.map(n=&gt;n.childrenIndex)))}const _M=/^:[\w-]+$/,jM=3,SM=2,kM=1,NM=10,CM=-2,Yw=e=&gt;e===&quot;*&quot;;function EM(e,r){let t=e.split(&quot;/&quot;),n=t.length;return t.some(Yw)&amp;&amp;(n+=CM),r&amp;&amp;(n+=SM),t.filter(o=&gt;!Yw(o)).reduce((o,s)=&gt;o+(_M.test(s)?jM:s===&quot;&quot;?kM:NM),n)}function AM(e,r){return e.length===r.length&amp;&amp;e.slice(0,-1).every((n,o)=&gt;n===r[o])?e[e.length-1]-r[r.length-1]:0}function MM(e,r,t){let{routesMeta:n}=e,o={},s=&quot;/&quot;,a=[];for(let u=0;u&lt;n.length;++u){let l=n[u],i=u===n.length-1,c=s===&quot;/&quot;?r:r.slice(s.length)||&quot;/&quot;,h=OM({path:l.relativePath,caseSensitive:l.caseSensitive,end:i},c),f=l.route;if(!h)return null;Object.assign(o,h.params),a.push({params:o,pathname:Ea([s,h.pathname]),pathnameBase:FM(Ea([s,h.pathnameBase])),route:f}),h.pathnameBase!==&quot;/&quot;&amp;&amp;(s=Ea([s,h.pathnameBase]))}return a}function OM(e,r){typeof e==&quot;string&quot;&amp;&amp;(e={path:e,caseSensitive:!1,end:!0});let[t,n]=TM(e.path,e.caseSensitive,e.end),o=r.match(t);if(!o)return null;let s=o[0],a=s.replace(/(.)\/+$/,&quot;$1&quot;),u=o.slice(1);return{params:n.reduce((i,c,h)=&gt;{let{paramName:f,isOptional:d}=c;if(f===&quot;*&quot;){let y=u[h]||&quot;&quot;;a=s.slice(0,s.length-y.length).replace(/(.)\/+$/,&quot;$1&quot;)}const v=u[h];return d&amp;&amp;!v?i[f]=void 0:i[f]=(v||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),i},{}),pathname:s,pathnameBase:a,pattern:e}}function TM(e,r,t){r===void 0&amp;&amp;(r=!1),t===void 0&amp;&amp;(t=!0),lb(e===&quot;*&quot;||!e.endsWith(&quot;*&quot;)||e.endsWith(&quot;/*&quot;),&#039;Route path &quot;&#039;+e+&#039;&quot; will be treated as if it were &#039;+(&#039;&quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot; because the `*` character must &#039;)+&quot;always follow a `/` in the pattern. To get rid of this warning, &quot;+(&#039;please change the route path to &quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot;.&#039;));let n=[],o=&quot;^&quot;+e.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(a,u,l)=&gt;(n.push({paramName:u,isOptional:l!=null}),l?&quot;/?([^\\/]+)?&quot;:&quot;/([^\\/]+)&quot;));return e.endsWith(&quot;*&quot;)?(n.push({paramName:&quot;*&quot;}),o+=e===&quot;*&quot;||e===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):t?o+=&quot;\\/*$&quot;:e!==&quot;&quot;&amp;&amp;e!==&quot;/&quot;&amp;&amp;(o+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(o,r?void 0:&quot;i&quot;),n]}function PM(e){try{return e.split(&quot;/&quot;).map(r=&gt;decodeURIComponent(r).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(r){return lb(!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 cb(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 IM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RM=e=&gt;IM.test(e);function DM(e,r){r===void 0&amp;&amp;(r=&quot;/&quot;);let{pathname:t,search:n=&quot;&quot;,hash:o=&quot;&quot;}=typeof e==&quot;string&quot;?Rl(e):e,s;if(t)if(RM(t))s=t;else{if(t.includes(&quot;//&quot;)){let a=t;t=t.replace(/\/\/+/g,&quot;/&quot;),lb(!1,&quot;Pathnames cannot have embedded double slashes - normalizing &quot;+(a+&quot; -&gt; &quot;+t))}t.startsWith(&quot;/&quot;)?s=Zw(t.substring(1),&quot;/&quot;):s=Zw(t,r)}else s=r;return{pathname:s,search:BM(n),hash:zM(o)}}function Zw(e,r){let t=r.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return e.split(&quot;/&quot;).forEach(o=&gt;{o===&quot;..&quot;?t.length&gt;1&amp;&amp;t.pop():o!==&quot;.&quot;&amp;&amp;t.push(o)}),t.length&gt;1?t.join(&quot;/&quot;):&quot;/&quot;}function b0(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 LM(e){return e.filter((r,t)=&gt;t===0||r.route.path&amp;&amp;r.route.path.length&gt;0)}function ub(e,r){let t=LM(e);return r?t.map((n,o)=&gt;o===t.length-1?n.pathname:n.pathnameBase):t.map(n=&gt;n.pathnameBase)}function db(e,r,t,n){n===void 0&amp;&amp;(n=!1);let o;typeof e==&quot;string&quot;?o=Rl(e):(o=Xc({},e),Fr(!o.pathname||!o.pathname.includes(&quot;?&quot;),b0(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,o)),Fr(!o.pathname||!o.pathname.includes(&quot;#&quot;),b0(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,o)),Fr(!o.search||!o.search.includes(&quot;#&quot;),b0(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,o)));let s=e===&quot;&quot;||o.pathname===&quot;&quot;,a=s?&quot;/&quot;:o.pathname,u;if(a==null)u=t;else{let h=r.length-1;if(!n&amp;&amp;a.startsWith(&quot;..&quot;)){let f=a.split(&quot;/&quot;);for(;f[0]===&quot;..&quot;;)f.shift(),h-=1;o.pathname=f.join(&quot;/&quot;)}u=h&gt;=0?r[h]:&quot;/&quot;}let l=DM(o,u),i=a&amp;&amp;a!==&quot;/&quot;&amp;&amp;a.endsWith(&quot;/&quot;),c=(s||a===&quot;.&quot;)&amp;&amp;t.endsWith(&quot;/&quot;);return!l.pathname.endsWith(&quot;/&quot;)&amp;&amp;(i||c)&amp;&amp;(l.pathname+=&quot;/&quot;),l}const Ea=e=&gt;e.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),FM=e=&gt;e.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),BM=e=&gt;!e||e===&quot;?&quot;?&quot;&quot;:e.startsWith(&quot;?&quot;)?e:&quot;?&quot;+e,zM=e=&gt;!e||e===&quot;#&quot;?&quot;&quot;:e.startsWith(&quot;#&quot;)?e:&quot;#&quot;+e;function $M(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 RS=[&quot;post&quot;,&quot;put&quot;,&quot;patch&quot;,&quot;delete&quot;];new Set(RS);const UM=[&quot;get&quot;,...RS];new Set(UM);function Gc(){return Gc=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},Gc.apply(this,arguments)}const fb=q.createContext(null),VM=q.createContext(null),La=q.createContext(null),$h=q.createContext(null),Zs=q.createContext({outlet:null,matches:[],isDataRoute:!1}),DS=q.createContext(null);function qM(e,r){let{relative:t}=r===void 0?{}:r;Dl()||Fr(!1);let{basename:n,navigator:o}=q.useContext(La),{hash:s,pathname:a,search:u}=FS(e,{relative:t}),l=a;return n!==&quot;/&quot;&amp;&amp;(l=a===&quot;/&quot;?n:Ea([n,a])),o.createHref({pathname:l,search:u,hash:s})}function Dl(){return q.useContext($h)!=null}function _s(){return Dl()||Fr(!1),q.useContext($h).location}function LS(e){q.useContext(La).static||q.useLayoutEffect(e)}function js(){let{isDataRoute:e}=q.useContext(Zs);return e?iO():WM()}function WM(){Dl()||Fr(!1);let e=q.useContext(fb),{basename:r,future:t,navigator:n}=q.useContext(La),{matches:o}=q.useContext(Zs),{pathname:s}=_s(),a=JSON.stringify(ub(o,t.v7_relativeSplatPath)),u=q.useRef(!1);return LS(()=&gt;{u.current=!0}),q.useCallback(function(i,c){if(c===void 0&amp;&amp;(c={}),!u.current)return;if(typeof i==&quot;number&quot;){n.go(i);return}let h=db(i,JSON.parse(a),s,c.relative===&quot;path&quot;);e==null&amp;&amp;r!==&quot;/&quot;&amp;&amp;(h.pathname=h.pathname===&quot;/&quot;?r:Ea([r,h.pathname])),(c.replace?n.replace:n.push)(h,c.state,c)},[r,n,a,s,e])}function HM(){let{matches:e}=q.useContext(Zs),r=e[e.length-1];return r?r.params:{}}function FS(e,r){let{relative:t}=r===void 0?{}:r,{future:n}=q.useContext(La),{matches:o}=q.useContext(Zs),{pathname:s}=_s(),a=JSON.stringify(ub(o,n.v7_relativeSplatPath));return q.useMemo(()=&gt;db(e,JSON.parse(a),s,t===&quot;path&quot;),[e,a,s,t])}function KM(e,r){return XM(e,r)}function XM(e,r,t,n){Dl()||Fr(!1);let{navigator:o}=q.useContext(La),{matches:s}=q.useContext(Zs),a=s[s.length-1],u=a?a.params:{};a&amp;&amp;a.pathname;let l=a?a.pathnameBase:&quot;/&quot;;a&amp;&amp;a.route;let i=_s(),c;if(r){var h;let p=typeof r==&quot;string&quot;?Rl(r):r;l===&quot;/&quot;||(h=p.pathname)!=null&amp;&amp;h.startsWith(l)||Fr(!1),c=p}else c=i;let f=c.pathname||&quot;/&quot;,d=f;if(l!==&quot;/&quot;){let p=l.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);d=&quot;/&quot;+f.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(p.length).join(&quot;/&quot;)}let v=bM(e,{pathname:d}),y=JM(v&amp;&amp;v.map(p=&gt;Object.assign({},p,{params:Object.assign({},u,p.params),pathname:Ea([l,o.encodeLocation?o.encodeLocation(p.pathname).pathname:p.pathname]),pathnameBase:p.pathnameBase===&quot;/&quot;?l:Ea([l,o.encodeLocation?o.encodeLocation(p.pathnameBase).pathname:p.pathnameBase])})),s,t,n);return r&amp;&amp;y?q.createElement($h.Provider,{value:{location:Gc({pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;},c),navigationType:ka.Pop}},y):y}function GM(){let e=nO(),r=$M(e)?e.status+&quot; &quot;+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,o={padding:&quot;0.5rem&quot;,backgroundColor:&quot;rgba(200,200,200, 0.5)&quot;};return q.createElement(q.Fragment,null,q.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),q.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},r),t?q.createElement(&quot;pre&quot;,{style:o},t):null,null)}const YM=q.createElement(GM,null);class ZM extends q.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?q.createElement(Zs.Provider,{value:this.props.routeContext},q.createElement(DS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function QM(e){let{routeContext:r,match:t,children:n}=e,o=q.useContext(fb);return o&amp;&amp;o.static&amp;&amp;o.staticContext&amp;&amp;(t.route.errorElement||t.route.ErrorBoundary)&amp;&amp;(o.staticContext._deepestRenderedBoundaryId=t.route.id),q.createElement(Zs.Provider,{value:r},n)}function JM(e,r,t,n){var o;if(r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=null),n===void 0&amp;&amp;(n=null),e==null){var s;if(!t)return null;if(t.errors)e=t.matches;else if((s=n)!=null&amp;&amp;s.v7_partialHydration&amp;&amp;r.length===0&amp;&amp;!t.initialized&amp;&amp;t.matches.length&gt;0)e=t.matches;else return null}let a=e,u=(o=t)==null?void 0:o.errors;if(u!=null){let c=a.findIndex(h=&gt;h.route.id&amp;&amp;u?.[h.route.id]!==void 0);c&gt;=0||Fr(!1),a=a.slice(0,Math.min(a.length,c+1))}let l=!1,i=-1;if(t&amp;&amp;n&amp;&amp;n.v7_partialHydration)for(let c=0;c&lt;a.length;c++){let h=a[c];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&amp;&amp;(i=c),h.route.id){let{loaderData:f,errors:d}=t,v=h.route.loader&amp;&amp;f[h.route.id]===void 0&amp;&amp;(!d||d[h.route.id]===void 0);if(h.route.lazy||v){l=!0,i&gt;=0?a=a.slice(0,i+1):a=[a[0]];break}}}return a.reduceRight((c,h,f)=&gt;{let d,v=!1,y=null,p=null;t&amp;&amp;(d=u&amp;&amp;h.route.id?u[h.route.id]:void 0,y=h.route.errorElement||YM,l&amp;&amp;(i&lt;0&amp;&amp;f===0?(sO(&quot;route-fallback&quot;),v=!0,p=null):i===f&amp;&amp;(v=!0,p=h.route.hydrateFallbackElement||null)));let b=r.concat(a.slice(0,f+1)),x=()=&gt;{let _;return d?_=y:v?_=p:h.route.Component?_=q.createElement(h.route.Component,null):h.route.element?_=h.route.element:_=c,q.createElement(QM,{match:h,routeContext:{outlet:c,matches:b,isDataRoute:t!=null},children:_})};return t&amp;&amp;(h.route.ErrorBoundary||h.route.errorElement||f===0)?q.createElement(ZM,{location:t.location,revalidation:t.revalidation,component:y,error:d,children:x(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):x()},null)}var BS=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e})(BS||{}),zS=(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})(zS||{});function eO(e){let r=q.useContext(fb);return r||Fr(!1),r}function tO(e){let r=q.useContext(VM);return r||Fr(!1),r}function rO(e){let r=q.useContext(Zs);return r||Fr(!1),r}function $S(e){let r=rO(),t=r.matches[r.matches.length-1];return t.route.id||Fr(!1),t.route.id}function nO(){var e;let r=q.useContext(DS),t=tO(),n=$S();return r!==void 0?r:(e=t.errors)==null?void 0:e[n]}function iO(){let{router:e}=eO(BS.UseNavigateStable),r=$S(zS.UseNavigateStable),t=q.useRef(!1);return LS(()=&gt;{t.current=!0}),q.useCallback(function(o,s){s===void 0&amp;&amp;(s={}),t.current&amp;&amp;(typeof o==&quot;number&quot;?e.navigate(o):e.navigate(o,Gc({fromRouteId:r},s)))},[e,r])}const Qw={};function sO(e,r,t){Qw[e]||(Qw[e]=!0)}function aO(e,r){e?.v7_startTransition,e?.v7_relativeSplatPath}function Jn(e){let{to:r,replace:t,state:n,relative:o}=e;Dl()||Fr(!1);let{future:s,static:a}=q.useContext(La),{matches:u}=q.useContext(Zs),{pathname:l}=_s(),i=js(),c=db(r,ub(u,s.v7_relativeSplatPath),l,o===&quot;path&quot;),h=JSON.stringify(c);return q.useEffect(()=&gt;i(JSON.parse(h),{replace:t,state:n,relative:o}),[i,h,o,t,n]),null}function Yn(e){Fr(!1)}function oO(e){let{basename:r=&quot;/&quot;,children:t=null,location:n,navigationType:o=ka.Pop,navigator:s,static:a=!1,future:u}=e;Dl()&amp;&amp;Fr(!1);let l=r.replace(/^\/*/,&quot;/&quot;),i=q.useMemo(()=&gt;({basename:l,navigator:s,static:a,future:Gc({v7_relativeSplatPath:!1},u)}),[l,u,s,a]);typeof n==&quot;string&quot;&amp;&amp;(n=Rl(n));let{pathname:c=&quot;/&quot;,search:h=&quot;&quot;,hash:f=&quot;&quot;,state:d=null,key:v=&quot;default&quot;}=n,y=q.useMemo(()=&gt;{let p=cb(c,l);return p==null?null:{location:{pathname:p,search:h,hash:f,state:d,key:v},navigationType:o}},[l,c,h,f,d,v,o]);return y==null?null:q.createElement(La.Provider,{value:i},q.createElement($h.Provider,{children:t,value:y}))}function lO(e){let{children:r,location:t}=e;return KM(Nv(r),t)}new Promise(()=&gt;{});function Nv(e,r){r===void 0&amp;&amp;(r=[]);let t=[];return q.Children.forEach(e,(n,o)=&gt;{if(!q.isValidElement(n))return;let s=[...r,o];if(n.type===q.Fragment){t.push.apply(t,Nv(n.props.children,s));return}n.type!==Yn&amp;&amp;Fr(!1),!n.props.index||!n.props.children||Fr(!1);let a={id:n.props.id||s.join(&quot;-&quot;),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&amp;&amp;(a.children=Nv(n.props.children,s)),t.push(a)}),t}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)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Cv.apply(this,arguments)}function cO(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,s;for(s=0;s&lt;n.length;s++)o=n[s],!(r.indexOf(o)&gt;=0)&amp;&amp;(t[o]=e[o]);return t}function uO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dO(e,r){return e.button===0&amp;&amp;(!r||r===&quot;_self&quot;)&amp;&amp;!uO(e)}function Ev(e){return e===void 0&amp;&amp;(e=&quot;&quot;),new URLSearchParams(typeof e==&quot;string&quot;||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,t)=&gt;{let n=e[t];return r.concat(Array.isArray(n)?n.map(o=&gt;[t,o]):[[t,n]])},[]))}function fO(e,r){let t=Ev(e);return r&amp;&amp;r.forEach((n,o)=&gt;{t.has(o)||r.getAll(o).forEach(s=&gt;{t.append(o,s)})}),t}const hO=[&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;],mO=&quot;6&quot;;try{window.__reactRouterVersion=mO}catch{}const pO=&quot;startTransition&quot;,Jw=OS[pO];function gO(e){let{basename:r,children:t,future:n,window:o}=e,s=q.useRef();s.current==null&amp;&amp;(s.current=gM({window:o,v5Compat:!0}));let a=s.current,[u,l]=q.useState({action:a.action,location:a.location}),{v7_startTransition:i}=n||{},c=q.useCallback(h=&gt;{i&amp;&amp;Jw?Jw(()=&gt;l(h)):l(h)},[l,i]);return q.useLayoutEffect(()=&gt;a.listen(c),[a,c]),q.useEffect(()=&gt;aO(n),[n]),q.createElement(oO,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:a,future:n})}const vO=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;,yO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xr=q.forwardRef(function(r,t){let{onClick:n,relative:o,reloadDocument:s,replace:a,state:u,target:l,to:i,preventScrollReset:c,viewTransition:h}=r,f=cO(r,hO),{basename:d}=q.useContext(La),v,y=!1;if(typeof i==&quot;string&quot;&amp;&amp;yO.test(i)&amp;&amp;(v=i,vO))try{let _=new URL(window.location.href),E=i.startsWith(&quot;//&quot;)?new URL(_.protocol+i):new URL(i),M=cb(E.pathname,d);E.origin===_.origin&amp;&amp;M!=null?i=M+E.search+E.hash:y=!0}catch{}let p=qM(i,{relative:o}),b=bO(i,{replace:a,state:u,target:l,preventScrollReset:c,relative:o,viewTransition:h});function x(_){n&amp;&amp;n(_),_.defaultPrevented||b(_)}return q.createElement(&quot;a&quot;,Cv({},f,{href:v||p,onClick:y||s?n:x,ref:t,target:l}))});var e_;(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;})(e_||(e_={}));var t_;(function(e){e.UseFetcher=&quot;useFetcher&quot;,e.UseFetchers=&quot;useFetchers&quot;,e.UseScrollRestoration=&quot;useScrollRestoration&quot;})(t_||(t_={}));function bO(e,r){let{target:t,replace:n,state:o,preventScrollReset:s,relative:a,viewTransition:u}=r===void 0?{}:r,l=js(),i=_s(),c=FS(e,{relative:a});return q.useCallback(h=&gt;{if(dO(h,t)){h.preventDefault();let f=n!==void 0?n:Pf(i)===Pf(c);l(e,{replace:f,state:o,preventScrollReset:s,relative:a,viewTransition:u})}},[i,l,c,n,o,t,e,s,a,u])}function Uh(e){let r=q.useRef(Ev(e)),t=q.useRef(!1),n=_s(),o=q.useMemo(()=&gt;fO(n.search,t.current?null:r.current),[n.search]),s=js(),a=q.useCallback((u,l)=&gt;{const i=Ev(typeof u==&quot;function&quot;?u(o):u);t.current=!0,s(&quot;?&quot;+i,l)},[s,o]);return[o,a]}const hb=q.createContext({});function mb(e){const r=q.useRef(null);return r.current===null&amp;&amp;(r.current=e()),r.current}const US=typeof window&lt;&quot;u&quot;,VS=US?q.useLayoutEffect:q.useEffect,Vh=q.createContext(null);function pb(e,r){e.indexOf(r)===-1&amp;&amp;e.push(r)}function gb(e,r){const t=e.indexOf(r);t&gt;-1&amp;&amp;e.splice(t,1)}const ys=(e,r,t)=&gt;t&gt;r?r:t&lt;e?e:t;let vb=()=&gt;{};const Vs={},qS=e=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function WS(e){return typeof e==&quot;object&quot;&amp;&amp;e!==null}const HS=e=&gt;/^0[^.\s]+$/u.test(e);function yb(e){let r;return()=&gt;(r===void 0&amp;&amp;(r=e()),r)}const Ai=e=&gt;e,xO=(e,r)=&gt;t=&gt;r(e(t)),wu=(...e)=&gt;e.reduce(xO),Yc=(e,r,t)=&gt;{const n=r-e;return n===0?1:(t-e)/n};class bb{constructor(){this.subscriptions=[]}add(r){return pb(this.subscriptions,r),()=&gt;gb(this.subscriptions,r)}notify(r,t,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](r,t,n);else for(let s=0;s&lt;o;s++){const a=this.subscriptions[s];a&amp;&amp;a(r,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const zs=e=&gt;e*1e3,Ci=e=&gt;e/1e3;function KS(e,r){return r?e*(1e3/r):0}const XS=(e,r,t)=&gt;(((1-3*t+3*r)*e+(3*t-6*r))*e+3*r)*e,wO=1e-7,_O=12;function jO(e,r,t,n,o){let s,a,u=0;do a=r+(t-r)/2,s=XS(a,n,o)-e,s&gt;0?t=a:r=a;while(Math.abs(s)&gt;wO&amp;&amp;++u&lt;_O);return a}function _u(e,r,t,n){if(e===r&amp;&amp;t===n)return Ai;const o=s=&gt;jO(s,0,1,e,t);return s=&gt;s===0||s===1?s:XS(o(s),r,n)}const GS=e=&gt;r=&gt;r&lt;=.5?e(2*r)/2:(2-e(2*(1-r)))/2,YS=e=&gt;r=&gt;1-e(1-r),ZS=_u(.33,1.53,.69,.99),xb=YS(ZS),QS=GS(xb),JS=e=&gt;(e*=2)&lt;1?.5*xb(e):.5*(2-Math.pow(2,-10*(e-1))),wb=e=&gt;1-Math.sin(Math.acos(e)),ek=YS(wb),tk=GS(wb),SO=_u(.42,0,1,1),kO=_u(0,0,.58,1),rk=_u(.42,0,.58,1),NO=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]!=&quot;number&quot;,nk=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]==&quot;number&quot;,CO={linear:Ai,easeIn:SO,easeInOut:rk,easeOut:kO,circIn:wb,circInOut:tk,circOut:ek,backIn:xb,backInOut:QS,backOut:ZS,anticipate:JS},EO=e=&gt;typeof e==&quot;string&quot;,r_=e=&gt;{if(nk(e)){vb(e.length===4);const[r,t,n,o]=e;return _u(r,t,n,o)}else if(EO(e))return CO[e];return e},Hd=[&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 AO(e,r){let t=new Set,n=new Set,o=!1,s=!1;const a=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function l(c){a.has(c)&amp;&amp;(i.schedule(c),e()),c(u)}const i={schedule:(c,h=!1,f=!1)=&gt;{const v=f&amp;&amp;o?t:n;return h&amp;&amp;a.add(c),v.has(c)||v.add(c),c},cancel:c=&gt;{n.delete(c),a.delete(c)},process:c=&gt;{if(u=c,o){s=!0;return}o=!0,[t,n]=[n,t],t.forEach(l),t.clear(),o=!1,s&amp;&amp;(s=!1,i.process(c))}};return i}const MO=40;function ik(e,r){let t=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=&gt;t=!0,a=Hd.reduce((_,E)=&gt;(_[E]=AO(s),_),{}),{setup:u,read:l,resolveKeyframes:i,preUpdate:c,update:h,preRender:f,render:d,postRender:v}=a,y=()=&gt;{const _=Vs.useManualTiming?o.timestamp:performance.now();t=!1,Vs.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(_-o.timestamp,MO),1)),o.timestamp=_,o.isProcessing=!0,u.process(o),l.process(o),i.process(o),c.process(o),h.process(o),f.process(o),d.process(o),v.process(o),o.isProcessing=!1,t&amp;&amp;r&amp;&amp;(n=!1,e(y))},p=()=&gt;{t=!0,n=!0,o.isProcessing||e(y)};return{schedule:Hd.reduce((_,E)=&gt;{const M=a[E];return _[E]=(D,W=!1,L=!1)=&gt;(t||p(),M.schedule(D,W,L)),_},{}),cancel:_=&gt;{for(let E=0;E&lt;Hd.length;E++)a[Hd[E]].cancel(_)},state:o,steps:a}}const{schedule:yr,cancel:Oa,state:vn,steps:x0}=ik(typeof requestAnimationFrame&lt;&quot;u&quot;?requestAnimationFrame:Ai,!0);let bf;function OO(){bf=void 0}const Dn={now:()=&gt;(bf===void 0&amp;&amp;Dn.set(vn.isProcessing||Vs.useManualTiming?vn.timestamp:performance.now()),bf),set:e=&gt;{bf=e,queueMicrotask(OO)}},sk=e=&gt;r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.startsWith(e),ak=sk(&quot;--&quot;),TO=sk(&quot;var(--&quot;),_b=e=&gt;TO(e)?PO.test(e.split(&quot;/*&quot;)[0].trim()):!1,PO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function n_(e){return typeof e!=&quot;string&quot;?!1:e.split(&quot;/*&quot;)[0].includes(&quot;var(--&quot;)}const Ll={test:e=&gt;typeof e==&quot;number&quot;,parse:parseFloat,transform:e=&gt;e},Zc={...Ll,transform:e=&gt;ys(0,1,e)},Kd={...Ll,default:1},Vc=e=&gt;Math.round(e*1e5)/1e5,jb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function IO(e){return e==null}const RO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Sb=(e,r)=&gt;t=&gt;!!(typeof t==&quot;string&quot;&amp;&amp;RO.test(t)&amp;&amp;t.startsWith(e)||r&amp;&amp;!IO(t)&amp;&amp;Object.prototype.hasOwnProperty.call(t,r)),ok=(e,r,t)=&gt;n=&gt;{if(typeof n!=&quot;string&quot;)return n;const[o,s,a,u]=n.match(jb);return{[e]:parseFloat(o),[r]:parseFloat(s),[t]:parseFloat(a),alpha:u!==void 0?parseFloat(u):1}},DO=e=&gt;ys(0,255,e),w0={...Ll,transform:e=&gt;Math.round(DO(e))},mo={test:Sb(&quot;rgb&quot;,&quot;red&quot;),parse:ok(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),transform:({red:e,green:r,blue:t,alpha:n=1})=&gt;&quot;rgba(&quot;+w0.transform(e)+&quot;, &quot;+w0.transform(r)+&quot;, &quot;+w0.transform(t)+&quot;, &quot;+Vc(Zc.transform(n))+&quot;)&quot;};function LO(e){let r=&quot;&quot;,t=&quot;&quot;,n=&quot;&quot;,o=&quot;&quot;;return e.length&gt;5?(r=e.substring(1,3),t=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(r=e.substring(1,2),t=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),r+=r,t+=t,n+=n,o+=o),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Av={test:Sb(&quot;#&quot;),parse:LO,transform:mo.transform},ju=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}`}),wa=ju(&quot;deg&quot;),gs=ju(&quot;%&quot;),at=ju(&quot;px&quot;),FO=ju(&quot;vh&quot;),BO=ju(&quot;vw&quot;),i_={...gs,parse:e=&gt;gs.parse(e)/100,transform:e=&gt;gs.transform(e*100)},gl={test:Sb(&quot;hsl&quot;,&quot;hue&quot;),parse:ok(&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;+gs.transform(Vc(r))+&quot;, &quot;+gs.transform(Vc(t))+&quot;, &quot;+Vc(Zc.transform(n))+&quot;)&quot;},zr={test:e=&gt;mo.test(e)||Av.test(e)||gl.test(e),parse:e=&gt;mo.test(e)?mo.parse(e):gl.test(e)?gl.parse(e):Av.parse(e),transform:e=&gt;typeof e==&quot;string&quot;?e:e.hasOwnProperty(&quot;red&quot;)?mo.transform(e):gl.transform(e),getAnimatableNone:e=&gt;{const r=zr.parse(e);return r.alpha=0,zr.transform(r)}},zO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function $O(e){return isNaN(e)&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;(e.match(jb)?.length||0)+(e.match(zO)?.length||0)&gt;0}const lk=&quot;number&quot;,ck=&quot;color&quot;,UO=&quot;var&quot;,VO=&quot;var(&quot;,s_=&quot;${}&quot;,qO=/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 Qc(e){const r=e.toString(),t=[],n={color:[],number:[],var:[]},o=[];let s=0;const u=r.replace(qO,l=&gt;(zr.test(l)?(n.color.push(s),o.push(ck),t.push(zr.parse(l))):l.startsWith(VO)?(n.var.push(s),o.push(UO),t.push(l)):(n.number.push(s),o.push(lk),t.push(parseFloat(l))),++s,s_)).split(s_);return{values:t,split:u,indexes:n,types:o}}function uk(e){return Qc(e).values}function dk(e){const{split:r,types:t}=Qc(e),n=r.length;return o=&gt;{let s=&quot;&quot;;for(let a=0;a&lt;n;a++)if(s+=r[a],o[a]!==void 0){const u=t[a];u===lk?s+=Vc(o[a]):u===ck?s+=zr.transform(o[a]):s+=o[a]}return s}}const WO=e=&gt;typeof e==&quot;number&quot;?0:zr.test(e)?zr.getAnimatableNone(e):e;function HO(e){const r=uk(e);return dk(e)(r.map(WO))}const Ta={test:$O,parse:uk,createTransformer:dk,getAnimatableNone:HO};function _0(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 KO({hue:e,saturation:r,lightness:t,alpha:n}){e/=360,r/=100,t/=100;let o=0,s=0,a=0;if(!r)o=s=a=t;else{const u=t&lt;.5?t*(1+r):t+r-t*r,l=2*t-u;o=_0(l,u,e+1/3),s=_0(l,u,e),a=_0(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:n}}function If(e,r){return t=&gt;t&gt;0?r:e}const Er=(e,r,t)=&gt;e+(r-e)*t,j0=(e,r,t)=&gt;{const n=e*e,o=t*(r*r-n)+n;return o&lt;0?0:Math.sqrt(o)},XO=[Av,mo,gl],GO=e=&gt;XO.find(r=&gt;r.test(e));function a_(e){const r=GO(e);if(!r)return!1;let t=r.parse(e);return r===gl&amp;&amp;(t=KO(t)),t}const o_=(e,r)=&gt;{const t=a_(e),n=a_(r);if(!t||!n)return If(e,r);const o={...t};return s=&gt;(o.red=j0(t.red,n.red,s),o.green=j0(t.green,n.green,s),o.blue=j0(t.blue,n.blue,s),o.alpha=Er(t.alpha,n.alpha,s),mo.transform(o))},Mv=new Set([&quot;none&quot;,&quot;hidden&quot;]);function YO(e,r){return Mv.has(e)?t=&gt;t&lt;=0?e:r:t=&gt;t&gt;=1?r:e}function ZO(e,r){return t=&gt;Er(e,r,t)}function kb(e){return typeof e==&quot;number&quot;?ZO:typeof e==&quot;string&quot;?_b(e)?If:zr.test(e)?o_:eT:Array.isArray(e)?fk:typeof e==&quot;object&quot;?zr.test(e)?o_:QO:If}function fk(e,r){const t=[...e],n=t.length,o=e.map((s,a)=&gt;kb(s)(s,r[a]));return s=&gt;{for(let a=0;a&lt;n;a++)t[a]=o[a](s);return t}}function QO(e,r){const t={...e,...r},n={};for(const o in t)e[o]!==void 0&amp;&amp;r[o]!==void 0&amp;&amp;(n[o]=kb(e[o])(e[o],r[o]));return o=&gt;{for(const s in n)t[s]=n[s](o);return t}}function JO(e,r){const t=[],n={color:0,var:0,number:0};for(let o=0;o&lt;r.values.length;o++){const s=r.types[o],a=e.indexes[s][n[s]],u=e.values[a]??0;t[o]=u,n[s]++}return t}const eT=(e,r)=&gt;{const t=Ta.createTransformer(r),n=Qc(e),o=Qc(r);return n.indexes.var.length===o.indexes.var.length&amp;&amp;n.indexes.color.length===o.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=o.indexes.number.length?Mv.has(e)&amp;&amp;!o.values.length||Mv.has(r)&amp;&amp;!n.values.length?YO(e,r):wu(fk(JO(n,o),o.values),t):If(e,r)};function hk(e,r,t){return typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;&amp;&amp;typeof t==&quot;number&quot;?Er(e,r,t):kb(e)(e,r)}const tT=e=&gt;{const r=({timestamp:t})=&gt;e(t);return{start:(t=!0)=&gt;yr.update(r,t),stop:()=&gt;Oa(r),now:()=&gt;vn.isProcessing?vn.timestamp:Dn.now()}},mk=(e,r,t=10)=&gt;{let n=&quot;&quot;;const o=Math.max(Math.round(r/t),2);for(let s=0;s&lt;o;s++)n+=Math.round(e(s/(o-1))*1e4)/1e4+&quot;, &quot;;return`linear(${n.substring(0,n.length-2)})`},Rf=2e4;function Nb(e){let r=0;const t=50;let n=e.next(r);for(;!n.done&amp;&amp;r&lt;Rf;)r+=t,n=e.next(r);return r&gt;=Rf?1/0:r}function rT(e,r=100,t){const n=t({...e,keyframes:[0,r]}),o=Math.min(Nb(n),Rf);return{type:&quot;keyframes&quot;,ease:s=&gt;n.next(o*s).value/r,duration:Ci(o)}}const nT=5;function pk(e,r,t){const n=Math.max(r-nT,0);return KS(t-e(n),r-n)}const Tr={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},S0=.001;function iT({duration:e=Tr.duration,bounce:r=Tr.bounce,velocity:t=Tr.velocity,mass:n=Tr.mass}){let o,s,a=1-r;a=ys(Tr.minDamping,Tr.maxDamping,a),e=ys(Tr.minDuration,Tr.maxDuration,Ci(e)),a&lt;1?(o=i=&gt;{const c=i*a,h=c*e,f=c-t,d=Ov(i,a),v=Math.exp(-h);return S0-f/d*v},s=i=&gt;{const h=i*a*e,f=h*t+t,d=Math.pow(a,2)*Math.pow(i,2)*e,v=Math.exp(-h),y=Ov(Math.pow(i,2),a);return(-o(i)+S0&gt;0?-1:1)*((f-d)*v)/y}):(o=i=&gt;{const c=Math.exp(-i*e),h=(i-t)*e+1;return-S0+c*h},s=i=&gt;{const c=Math.exp(-i*e),h=(t-i)*(e*e);return c*h});const u=5/e,l=aT(o,s,u);if(e=zs(e),isNaN(l))return{stiffness:Tr.stiffness,damping:Tr.damping,duration:e};{const i=Math.pow(l,2)*n;return{stiffness:i,damping:a*2*Math.sqrt(n*i),duration:e}}}const sT=12;function aT(e,r,t){let n=t;for(let o=1;o&lt;sT;o++)n=n-e(n)/r(n);return n}function Ov(e,r){return e*Math.sqrt(1-r*r)}const oT=[&quot;duration&quot;,&quot;bounce&quot;],lT=[&quot;stiffness&quot;,&quot;damping&quot;,&quot;mass&quot;];function l_(e,r){return r.some(t=&gt;e[t]!==void 0)}function cT(e){let r={velocity:Tr.velocity,stiffness:Tr.stiffness,damping:Tr.damping,mass:Tr.mass,isResolvedFromDuration:!1,...e};if(!l_(e,lT)&amp;&amp;l_(e,oT))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(t*1.2),o=n*n,s=2*ys(.05,1,1-(e.bounce||0))*Math.sqrt(o);r={...r,mass:Tr.mass,stiffness:o,damping:s}}else{const t=iT(e);r={...r,...t,mass:Tr.mass},r.isResolvedFromDuration=!0}return r}function Df(e=Tr.visualDuration,r=Tr.bounce){const t=typeof e!=&quot;object&quot;?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:n,restDelta:o}=t;const s=t.keyframes[0],a=t.keyframes[t.keyframes.length-1],u={done:!1,value:s},{stiffness:l,damping:i,mass:c,duration:h,velocity:f,isResolvedFromDuration:d}=cT({...t,velocity:-Ci(t.velocity||0)}),v=f||0,y=i/(2*Math.sqrt(l*c)),p=a-s,b=Ci(Math.sqrt(l/c)),x=Math.abs(p)&lt;5;n||(n=x?Tr.restSpeed.granular:Tr.restSpeed.default),o||(o=x?Tr.restDelta.granular:Tr.restDelta.default);let _;if(y&lt;1){const M=Ov(b,y);_=D=&gt;{const W=Math.exp(-y*b*D);return a-W*((v+y*b*p)/M*Math.sin(M*D)+p*Math.cos(M*D))}}else if(y===1)_=M=&gt;a-Math.exp(-b*M)*(p+(v+b*p)*M);else{const M=b*Math.sqrt(y*y-1);_=D=&gt;{const W=Math.exp(-y*b*D),L=Math.min(M*D,300);return a-W*((v+y*b*p)*Math.sinh(L)+M*p*Math.cosh(L))/M}}const E={calculatedDuration:d&amp;&amp;h||null,next:M=&gt;{const D=_(M);if(d)u.done=M&gt;=h;else{let W=M===0?v:0;y&lt;1&amp;&amp;(W=M===0?zs(v):pk(_,M,D));const L=Math.abs(W)&lt;=n,V=Math.abs(a-D)&lt;=o;u.done=L&amp;&amp;V}return u.value=u.done?a:D,u},toString:()=&gt;{const M=Math.min(Nb(E),Rf),D=mk(W=&gt;E.next(M*W).value,M,30);return M+&quot;ms &quot;+D},toTransition:()=&gt;{}};return E}Df.applyToOptions=e=&gt;{const r=rT(e,100,Df);return e.ease=r.ease,e.duration=zs(r.duration),e.type=&quot;keyframes&quot;,e};function Tv({keyframes:e,velocity:r=0,power:t=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:u,max:l,restDelta:i=.5,restSpeed:c}){const h=e[0],f={done:!1,value:h},d=L=&gt;u!==void 0&amp;&amp;L&lt;u||l!==void 0&amp;&amp;L&gt;l,v=L=&gt;u===void 0?l:l===void 0||Math.abs(u-L)&lt;Math.abs(l-L)?u:l;let y=t*r;const p=h+y,b=a===void 0?p:a(p);b!==p&amp;&amp;(y=b-h);const x=L=&gt;-y*Math.exp(-L/n),_=L=&gt;b+x(L),E=L=&gt;{const V=x(L),H=_(L);f.done=Math.abs(V)&lt;=i,f.value=f.done?b:H};let M,D;const W=L=&gt;{d(f.value)&amp;&amp;(M=L,D=Df({keyframes:[f.value,v(f.value)],velocity:pk(_,L,f.value),damping:o,stiffness:s,restDelta:i,restSpeed:c}))};return W(0),{calculatedDuration:null,next:L=&gt;{let V=!1;return!D&amp;&amp;M===void 0&amp;&amp;(V=!0,E(L),W(L)),M!==void 0&amp;&amp;L&gt;=M?D.next(L-M):(!V&amp;&amp;E(L),f)}}}function uT(e,r,t){const n=[],o=t||Vs.mix||hk,s=e.length-1;for(let a=0;a&lt;s;a++){let u=o(e[a],e[a+1]);if(r){const l=Array.isArray(r)?r[a]||Ai:r;u=wu(l,u)}n.push(u)}return n}function dT(e,r,{clamp:t=!0,ease:n,mixer:o}={}){const s=e.length;if(vb(s===r.length),s===1)return()=&gt;r[0];if(s===2&amp;&amp;r[0]===r[1])return()=&gt;r[1];const a=e[0]===e[1];e[0]&gt;e[s-1]&amp;&amp;(e=[...e].reverse(),r=[...r].reverse());const u=uT(r,n,o),l=u.length,i=c=&gt;{if(a&amp;&amp;c&lt;e[0])return r[0];let h=0;if(l&gt;1)for(;h&lt;e.length-2&amp;&amp;!(c&lt;e[h+1]);h++);const f=Yc(e[h],e[h+1],c);return u[h](f)};return t?c=&gt;i(ys(e[0],e[s-1],c)):i}function fT(e,r){const t=e[e.length-1];for(let n=1;n&lt;=r;n++){const o=Yc(0,r,n);e.push(Er(t,1,o))}}function hT(e){const r=[0];return fT(r,e.length-1),r}function mT(e,r){return e.map(t=&gt;t*r)}function pT(e,r){return e.map(()=&gt;r||rk).splice(0,e.length-1)}function qc({duration:e=300,keyframes:r,times:t,ease:n=&quot;easeInOut&quot;}){const o=NO(n)?n.map(r_):r_(n),s={done:!1,value:r[0]},a=mT(t&amp;&amp;t.length===r.length?t:hT(r),e),u=dT(a,r,{ease:Array.isArray(o)?o:pT(r,o)});return{calculatedDuration:e,next:l=&gt;(s.value=u(l),s.done=l&gt;=e,s)}}const gT=e=&gt;e!==null;function Cb(e,{repeat:r,repeatType:t=&quot;loop&quot;},n,o=1){const s=e.filter(gT),u=o&lt;0||r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:s.length-1;return!u||n===void 0?s[u]:n}const vT={decay:Tv,inertia:Tv,tween:qc,keyframes:qc,spring:Df};function gk(e){typeof e.type==&quot;string&quot;&amp;&amp;(e.type=vT[e.type])}class Eb{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 yT=e=&gt;e/100;class Ab extends Eb{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!==Dn.now()&amp;&amp;this.tick(Dn.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;gk(r);const{type:t=qc,repeat:n=0,repeatDelay:o=0,repeatType:s,velocity:a=0}=r;let{keyframes:u}=r;const l=t||qc;l!==qc&amp;&amp;typeof u[0]!=&quot;number&quot;&amp;&amp;(this.mixKeyframes=wu(yT,hk(u[0],u[1])),u=[0,100]);const i=l({...r,keyframes:u});s===&quot;mirror&quot;&amp;&amp;(this.mirroredGenerator=l({...r,keyframes:[...u].reverse(),velocity:-a})),i.calculatedDuration===null&amp;&amp;(i.calculatedDuration=Nb(i));const{calculatedDuration:c}=i;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(n+1)-o,this.generator=i}updateTime(r){const t=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=t}tick(r,t=!1){const{generator:n,totalDuration:o,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:u,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:i=0,keyframes:c,repeat:h,repeatType:f,repeatDelay:d,type:v,onUpdate:y,finalKeyframe:p}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,r):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(r-o/this.speed,this.startTime)),t?this.currentTime=r:this.updateTime(r);const b=this.currentTime-i*(this.playbackSpeed&gt;=0?1:-1),x=this.playbackSpeed&gt;=0?b&lt;0:b&gt;o;this.currentTime=Math.max(b,0),this.state===&quot;finished&quot;&amp;&amp;this.holdTime===null&amp;&amp;(this.currentTime=o);let _=this.currentTime,E=n;if(h){const L=Math.min(this.currentTime,o)/u;let V=Math.floor(L),H=L%1;!H&amp;&amp;L&gt;=1&amp;&amp;(H=1),H===1&amp;&amp;V--,V=Math.min(V,h+1),V%2&amp;&amp;(f===&quot;reverse&quot;?(H=1-H,d&amp;&amp;(H-=d/u)):f===&quot;mirror&quot;&amp;&amp;(E=a)),_=ys(0,1,H)*u}const M=x?{done:!1,value:c[0]}:E.next(_);s&amp;&amp;(M.value=s(M.value));let{done:D}=M;!x&amp;&amp;l!==null&amp;&amp;(D=this.playbackSpeed&gt;=0?this.currentTime&gt;=o:this.currentTime&lt;=0);const W=this.holdTime===null&amp;&amp;(this.state===&quot;finished&quot;||this.state===&quot;running&quot;&amp;&amp;D);return W&amp;&amp;v!==Tv&amp;&amp;(M.value=Cb(c,this.options,p,this.speed)),y&amp;&amp;y(M.value),W&amp;&amp;this.finish(),M}then(r,t){return this.finished.then(r,t)}get duration(){return Ci(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ci(r)}get time(){return Ci(this.currentTime)}set time(r){r=zs(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(Dn.now());const t=this.playbackSpeed!==r;this.playbackSpeed=r,t&amp;&amp;(this.time=Ci(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=tT,startTime:t}=this.options;this.driver||(this.driver=r(o=&gt;this.tick(o))),this.options.onPlay?.();const n=this.driver.now();this.state===&quot;finished&quot;?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),this.state===&quot;finished&quot;&amp;&amp;this.speed&lt;0&amp;&amp;(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=&quot;running&quot;,this.driver.start()}pause(){this.state=&quot;paused&quot;,this.updateTime(Dn.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 bT(e){for(let r=1;r&lt;e.length;r++)e[r]??(e[r]=e[r-1])}const po=e=&gt;e*180/Math.PI,Pv=e=&gt;{const r=po(Math.atan2(e[1],e[0]));return Iv(r)},xT={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:Pv,rotateZ:Pv,skewX:e=&gt;po(Math.atan(e[1])),skewY:e=&gt;po(Math.atan(e[2])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[2]))/2},Iv=e=&gt;(e=e%360,e&lt;0&amp;&amp;(e+=360),e),c_=Pv,u_=e=&gt;Math.sqrt(e[0]*e[0]+e[1]*e[1]),d_=e=&gt;Math.sqrt(e[4]*e[4]+e[5]*e[5]),wT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:u_,scaleY:d_,scale:e=&gt;(u_(e)+d_(e))/2,rotateX:e=&gt;Iv(po(Math.atan2(e[6],e[5]))),rotateY:e=&gt;Iv(po(Math.atan2(-e[2],e[0]))),rotateZ:c_,rotate:c_,skewX:e=&gt;po(Math.atan(e[4])),skewY:e=&gt;po(Math.atan(e[1])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[4]))/2};function Rv(e){return e.includes(&quot;scale&quot;)?1:0}function Dv(e,r){if(!e||e===&quot;none&quot;)return Rv(r);const t=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,o;if(t)n=wT,o=t;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=xT,o=u}if(!o)return Rv(r);const s=n[r],a=o[1].split(&quot;,&quot;).map(jT);return typeof s==&quot;function&quot;?s(a):a[s]}const _T=(e,r)=&gt;{const{transform:t=&quot;none&quot;}=getComputedStyle(e);return Dv(t,r)};function jT(e){return parseFloat(e.trim())}const Fl=[&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;],Bl=new Set(Fl),f_=e=&gt;e===Ll||e===at,ST=new Set([&quot;x&quot;,&quot;y&quot;,&quot;z&quot;]),kT=Fl.filter(e=&gt;!ST.has(e));function NT(e){const r=[];return kT.forEach(t=&gt;{const n=e.getValue(t);n!==void 0&amp;&amp;(r.push([t,n.get()]),n.set(t.startsWith(&quot;scale&quot;)?1:0))}),r}const Na={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;Dv(r,&quot;x&quot;),y:(e,{transform:r})=&gt;Dv(r,&quot;y&quot;)};Na.translateX=Na.x;Na.translateY=Na.y;const xo=new Set;let Lv=!1,Fv=!1,Bv=!1;function vk(){if(Fv){const e=Array.from(xo).filter(n=&gt;n.needsMeasurement),r=new Set(e.map(n=&gt;n.element)),t=new Map;r.forEach(n=&gt;{const o=NT(n);o.length&amp;&amp;(t.set(n,o),n.render())}),e.forEach(n=&gt;n.measureInitialState()),r.forEach(n=&gt;{n.render();const o=t.get(n);o&amp;&amp;o.forEach(([s,a])=&gt;{n.getValue(s)?.set(a)})}),e.forEach(n=&gt;n.measureEndState()),e.forEach(n=&gt;{n.suspendedScrollY!==void 0&amp;&amp;window.scrollTo(0,n.suspendedScrollY)})}Fv=!1,Lv=!1,xo.forEach(e=&gt;e.complete(Bv)),xo.clear()}function yk(){xo.forEach(e=&gt;{e.readKeyframes(),e.needsMeasurement&amp;&amp;(Fv=!0)})}function CT(){Bv=!0,yk(),vk(),Bv=!1}class Mb{constructor(r,t,n,o,s,a=!1){this.state=&quot;pending&quot;,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=t,this.name=n,this.motionValue=o,this.element=s,this.isAsync=a}scheduleResolve(){this.state=&quot;scheduled&quot;,this.isAsync?(xo.add(this),Lv||(Lv=!0,yr.read(yk),yr.resolveKeyframes(vk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:t,element:n,motionValue:o}=this;if(r[0]===null){const s=o?.get(),a=r[r.length-1];if(s!==void 0)r[0]=s;else if(n&amp;&amp;t){const u=n.readValue(t,a);u!=null&amp;&amp;(r[0]=u)}r[0]===void 0&amp;&amp;(r[0]=a),o&amp;&amp;s===void 0&amp;&amp;o.set(r[0])}bT(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state=&quot;complete&quot;,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),xo.delete(this)}cancel(){this.state===&quot;scheduled&quot;&amp;&amp;(xo.delete(this),this.state=&quot;pending&quot;)}resume(){this.state===&quot;pending&quot;&amp;&amp;this.scheduleResolve()}}const ET=e=&gt;e.startsWith(&quot;--&quot;);function AT(e,r,t){ET(r)?e.style.setProperty(r,t):e.style[r]=t}const MT=yb(()=&gt;window.ScrollTimeline!==void 0),OT={};function TT(e,r){const t=yb(e);return()=&gt;OT[r]??t()}const bk=TT(()=&gt;{try{document.createElement(&quot;div&quot;).animate({opacity:0},{easing:&quot;linear(0, 1)&quot;})}catch{return!1}return!0},&quot;linearEasing&quot;),Fc=([e,r,t,n])=&gt;`cubic-bezier(${e}, ${r}, ${t}, ${n})`,h_={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:Fc([0,.65,.55,1]),circOut:Fc([.55,0,1,.45]),backIn:Fc([.31,.01,.66,-.59]),backOut:Fc([.33,1.53,.69,.99])};function xk(e,r){if(e)return typeof e==&quot;function&quot;?bk()?mk(e,r):&quot;ease-out&quot;:nk(e)?Fc(e):Array.isArray(e)?e.map(t=&gt;xk(t,r)||h_.easeOut):h_[e]}function PT(e,r,t,{delay:n=0,duration:o=300,repeat:s=0,repeatType:a=&quot;loop&quot;,ease:u=&quot;easeOut&quot;,times:l}={},i=void 0){const c={[r]:t};l&amp;&amp;(c.offset=l);const h=xk(u,o);Array.isArray(h)&amp;&amp;(c.easing=h);const f={delay:n,duration:o,easing:Array.isArray(h)?&quot;linear&quot;:h,fill:&quot;both&quot;,iterations:s+1,direction:a===&quot;reverse&quot;?&quot;alternate&quot;:&quot;normal&quot;};return i&amp;&amp;(f.pseudoElement=i),e.animate(c,f)}function wk(e){return typeof e==&quot;function&quot;&amp;&amp;&quot;applyToOptions&quot;in e}function IT({type:e,...r}){return wk(e)&amp;&amp;bk()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease=&quot;easeOut&quot;),r)}class RT extends Eb{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:t,name:n,keyframes:o,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:u,onComplete:l}=r;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=r,vb(typeof r.type!=&quot;string&quot;);const i=IT(r);this.animation=PT(t,n,o,i,s),i.autoplay===!1&amp;&amp;this.animation.pause(),this.animation.onfinish=()=&gt;{if(this.finishedTime=this.time,!s){const c=Cb(o,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(c):AT(t,n,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===&quot;finished&quot;&amp;&amp;this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r===&quot;idle&quot;||r===&quot;finished&quot;||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return Ci(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ci(r)}get time(){return Ci(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=zs(r)}get speed(){return this.animation.playbackRate}set speed(r){r&lt;0&amp;&amp;(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?&quot;finished&quot;:this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:t}){return this.allowFlatten&amp;&amp;this.animation.effect?.updateTiming({easing:&quot;linear&quot;}),this.animation.onfinish=null,r&amp;&amp;MT()?(this.animation.timeline=r,Ai):t(this)}}const _k={anticipate:JS,backInOut:QS,circInOut:tk};function DT(e){return e in _k}function LT(e){typeof e.ease==&quot;string&quot;&amp;&amp;DT(e.ease)&amp;&amp;(e.ease=_k[e.ease])}const k0=10;class FT extends RT{constructor(r){LT(r),gk(r),super(r),r.startTime!==void 0&amp;&amp;(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:t,onUpdate:n,onComplete:o,element:s,...a}=this.options;if(!t)return;if(r!==void 0){t.set(r);return}const u=new Ab({...a,autoplay:!1}),l=Math.max(k0,Dn.now()-this.startTime),i=ys(0,k0,l-k0);t.setWithVelocity(u.sample(Math.max(0,l-i)).value,u.sample(l).value,i),u.stop()}}const m_=(e,r)=&gt;r===&quot;zIndex&quot;?!1:!!(typeof e==&quot;number&quot;||Array.isArray(e)||typeof e==&quot;string&quot;&amp;&amp;(Ta.test(e)||e===&quot;0&quot;)&amp;&amp;!e.startsWith(&quot;url(&quot;));function BT(e){const r=e[0];if(e.length===1)return!0;for(let t=0;t&lt;e.length;t++)if(e[t]!==r)return!0}function zT(e,r,t,n){const o=e[0];if(o===null)return!1;if(r===&quot;display&quot;||r===&quot;visibility&quot;)return!0;const s=e[e.length-1],a=m_(o,r),u=m_(s,r);return!a||!u?!1:BT(e)||(t===&quot;spring&quot;||wk(t))&amp;&amp;n}function zv(e){e.duration=0,e.type=&quot;keyframes&quot;}const $T=new Set([&quot;opacity&quot;,&quot;clipPath&quot;,&quot;filter&quot;,&quot;transform&quot;]),UT=yb(()=&gt;Object.hasOwnProperty.call(Element.prototype,&quot;animate&quot;));function VT(e){const{motionValue:r,name:t,repeatDelay:n,repeatType:o,damping:s,type:a}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:i}=r.owner.getProps();return UT()&amp;&amp;t&amp;&amp;$T.has(t)&amp;&amp;(t!==&quot;transform&quot;||!i)&amp;&amp;!l&amp;&amp;!n&amp;&amp;o!==&quot;mirror&quot;&amp;&amp;s!==0&amp;&amp;a!==&quot;inertia&quot;}const qT=40;class WT extends Eb{constructor({autoplay:r=!0,delay:t=0,type:n=&quot;keyframes&quot;,repeat:o=0,repeatDelay:s=0,repeatType:a=&quot;loop&quot;,keyframes:u,name:l,motionValue:i,element:c,...h}){super(),this.stop=()=&gt;{this._animation&amp;&amp;(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Dn.now();const f={autoplay:r,delay:t,type:n,repeat:o,repeatDelay:s,repeatType:a,name:l,motionValue:i,element:c,...h},d=c?.KeyframeResolver||Mb;this.keyframeResolver=new d(u,(v,y,p)=&gt;this.onKeyframesResolved(v,y,f,!p),l,i,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,t,n,o){this.keyframeResolver=void 0;const{name:s,type:a,velocity:u,delay:l,isHandoff:i,onUpdate:c}=n;this.resolvedAt=Dn.now(),zT(r,s,a,u)||((Vs.instantAnimations||!l)&amp;&amp;c?.(Cb(r,n,t)),r[0]=r[r.length-1],zv(n),n.repeat=0);const f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt&gt;qT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:r},d=!i&amp;&amp;VT(f),v=f.motionValue?.owner?.current,y=d?new FT({...f,element:v}):new Ab(f);y.finished.then(()=&gt;{this.notifyFinished()}).catch(Ai),this.pendingTimeline&amp;&amp;(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this.animation.finished:this._finished}then(r,t){return this.finished.finally(r).then(()=&gt;{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),CT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=&gt;this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&amp;&amp;this.animation.cancel(),this.keyframeResolver?.cancel()}}function jk(e,r,t,n=0,o=1){const s=Array.from(e).sort((i,c)=&gt;i.sortNodePosition(c)).indexOf(r),a=e.size,u=(a-1)*n;return typeof t==&quot;function&quot;?t(s,a):o===1?s*n:u-s*n}const HT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function KT(e){const r=HT.exec(e);if(!r)return[,];const[,t,n,o]=r;return[`--${t??n}`,o]}function Sk(e,r,t=1){const[n,o]=KT(e);if(!n)return;const s=window.getComputedStyle(r).getPropertyValue(n);if(s){const a=s.trim();return qS(a)?parseFloat(a):a}return _b(o)?Sk(o,r,t+1):o}const XT={type:&quot;spring&quot;,stiffness:500,damping:25,restSpeed:10},GT=e=&gt;({type:&quot;spring&quot;,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YT={type:&quot;keyframes&quot;,duration:.8},ZT={type:&quot;keyframes&quot;,ease:[.25,.1,.35,1],duration:.3},QT=(e,{keyframes:r})=&gt;r.length&gt;2?YT:Bl.has(e)?e.startsWith(&quot;scale&quot;)?GT(r[1]):XT:ZT,JT=e=&gt;e!==null;function eP(e,{repeat:r,repeatType:t=&quot;loop&quot;},n){const o=e.filter(JT),s=r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:o.length-1;return o[s]}function Ob(e,r){return e?.[r]??e?.default??e}function tP({when:e,delay:r,delayChildren:t,staggerChildren:n,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:u,from:l,elapsed:i,...c}){return!!Object.keys(c).length}const Tb=(e,r,t,n={},o,s)=&gt;a=&gt;{const u=Ob(n,e)||{},l=u.delay||n.delay||0;let{elapsed:i=0}=n;i=i-zs(l);const c={keyframes:Array.isArray(t)?t:[null,t],ease:&quot;easeOut&quot;,velocity:r.getVelocity(),...u,delay:-i,onUpdate:f=&gt;{r.set(f),u.onUpdate&amp;&amp;u.onUpdate(f)},onComplete:()=&gt;{a(),u.onComplete&amp;&amp;u.onComplete()},name:e,motionValue:r,element:s?void 0:o};tP(u)||Object.assign(c,QT(e,c)),c.duration&amp;&amp;(c.duration=zs(c.duration)),c.repeatDelay&amp;&amp;(c.repeatDelay=zs(c.repeatDelay)),c.from!==void 0&amp;&amp;(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&amp;&amp;!c.repeatDelay)&amp;&amp;(zv(c),c.delay===0&amp;&amp;(h=!0)),(Vs.instantAnimations||Vs.skipAnimations)&amp;&amp;(h=!0,zv(c),c.delay=0),c.allowFlatten=!u.type&amp;&amp;!u.ease,h&amp;&amp;!s&amp;&amp;r.get()!==void 0){const f=eP(c.keyframes,u);if(f!==void 0){yr.update(()=&gt;{c.onUpdate(f),c.onComplete()});return}}return u.isSync?new Ab(c):new WT(c)};function p_(e){const r=[{},{}];return e?.values.forEach((t,n)=&gt;{r[0][n]=t.get(),r[1][n]=t.getVelocity()}),r}function Pb(e,r,t,n){if(typeof r==&quot;function&quot;){const[o,s]=p_(n);r=r(t!==void 0?t:e.custom,o,s)}if(typeof r==&quot;string&quot;&amp;&amp;(r=e.variants&amp;&amp;e.variants[r]),typeof r==&quot;function&quot;){const[o,s]=p_(n);r=r(t!==void 0?t:e.custom,o,s)}return r}function _l(e,r,t){const n=e.getProps();return Pb(n,r,t!==void 0?t:n.custom,e)}const kk=new Set([&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;,...Fl]),g_=30,rP=e=&gt;!isNaN(parseFloat(e));class nP{constructor(r,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=&gt;{const o=Dn.now();if(this.updatedAt!==o&amp;&amp;this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&amp;&amp;(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=t.owner}setCurrent(r){this.current=r,this.updatedAt=Dn.now(),this.canTrackVelocity===null&amp;&amp;r!==void 0&amp;&amp;(this.canTrackVelocity=rP(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 bb);const n=this.events[r].add(t);return r===&quot;change&quot;?()=&gt;{n(),yr.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=Dn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt&gt;g_)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,g_);return KS(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 kl(e,r){return new nP(e,r)}const $v=e=&gt;Array.isArray(e);function iP(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,kl(t))}function sP(e){return $v(e)?e[e.length-1]||0:e}function aP(e,r){const t=_l(e,r);let{transitionEnd:n={},transition:o={},...s}=t||{};s={...s,...n};for(const a in s){const u=sP(s[a]);iP(e,a,u)}}const Mn=e=&gt;!!(e&amp;&amp;e.getVelocity);function oP(e){return!!(Mn(e)&amp;&amp;e.add)}function Uv(e,r){const t=e.getValue(&quot;willChange&quot;);if(oP(t))return t.add(r);if(!t&amp;&amp;Vs.WillChange){const n=new Vs.WillChange(&quot;auto&quot;);e.addValue(&quot;willChange&quot;,n),n.add(r)}}function Ib(e){return e.replace(/([A-Z])/g,r=&gt;`-${r.toLowerCase()}`)}const lP=&quot;framerAppearId&quot;,Nk=&quot;data-&quot;+Ib(lP);function Ck(e){return e.props[Nk]}function cP({protectedKeys:e,needsAnimating:r},t){const n=e.hasOwnProperty(t)&amp;&amp;r[t]!==!0;return r[t]=!1,n}function Ek(e,r,{delay:t=0,transitionOverride:n,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...u}=r;n&amp;&amp;(s=n);const l=[],i=o&amp;&amp;e.animationState&amp;&amp;e.animationState.getState()[o];for(const c in u){const h=e.getValue(c,e.latestValues[c]??null),f=u[c];if(f===void 0||i&amp;&amp;cP(i,c))continue;const d={delay:t,...Ob(s||{},c)},v=h.get();if(v!==void 0&amp;&amp;!h.isAnimating&amp;&amp;!Array.isArray(f)&amp;&amp;f===v&amp;&amp;!d.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const b=Ck(e);if(b){const x=window.MotionHandoffAnimation(b,c,yr);x!==null&amp;&amp;(d.startTime=x,y=!0)}}Uv(e,c),h.start(Tb(c,h,f,e.shouldReduceMotion&amp;&amp;kk.has(c)?{type:!1}:d,e,y));const p=h.animation;p&amp;&amp;l.push(p)}return a&amp;&amp;Promise.all(l).then(()=&gt;{yr.update(()=&gt;{a&amp;&amp;aP(e,a)})}),l}function Vv(e,r,t={}){const n=_l(e,r,t.type===&quot;exit&quot;?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=n||{};t.transitionOverride&amp;&amp;(o=t.transitionOverride);const s=n?()=&gt;Promise.all(Ek(e,n,t)):()=&gt;Promise.resolve(),a=e.variantChildren&amp;&amp;e.variantChildren.size?(l=0)=&gt;{const{delayChildren:i=0,staggerChildren:c,staggerDirection:h}=o;return uP(e,r,l,i,c,h,t)}:()=&gt;Promise.resolve(),{when:u}=o;if(u){const[l,i]=u===&quot;beforeChildren&quot;?[s,a]:[a,s];return l().then(()=&gt;i())}else return Promise.all([s(),a(t.delay)])}function uP(e,r,t=0,n=0,o=0,s=1,a){const u=[];for(const l of e.variantChildren)l.notify(&quot;AnimationStart&quot;,r),u.push(Vv(l,r,{...a,delay:t+(typeof n==&quot;function&quot;?0:n)+jk(e.variantChildren,l,n,o,s)}).then(()=&gt;l.notify(&quot;AnimationComplete&quot;,r)));return Promise.all(u)}function dP(e,r,t={}){e.notify(&quot;AnimationStart&quot;,r);let n;if(Array.isArray(r)){const o=r.map(s=&gt;Vv(e,s,t));n=Promise.all(o)}else if(typeof r==&quot;string&quot;)n=Vv(e,r,t);else{const o=typeof r==&quot;function&quot;?_l(e,r,t.custom):r;n=Promise.all(Ek(e,o,t))}return n.then(()=&gt;{e.notify(&quot;AnimationComplete&quot;,r)})}const fP={test:e=&gt;e===&quot;auto&quot;,parse:e=&gt;e},Ak=e=&gt;r=&gt;r.test(e),Mk=[Ll,at,gs,wa,BO,FO,fP],v_=e=&gt;Mk.find(Ak(e));function hP(e){return typeof e==&quot;number&quot;?e===0:e!==null?e===&quot;none&quot;||e===&quot;0&quot;||HS(e):!0}const mP=new Set([&quot;brightness&quot;,&quot;contrast&quot;,&quot;saturate&quot;,&quot;opacity&quot;]);function pP(e){const[r,t]=e.slice(0,-1).split(&quot;(&quot;);if(r===&quot;drop-shadow&quot;)return e;const[n]=t.match(jb)||[];if(!n)return e;const o=t.replace(n,&quot;&quot;);let s=mP.has(r)?1:0;return n!==t&amp;&amp;(s*=100),r+&quot;(&quot;+s+o+&quot;)&quot;}const gP=/\b([a-z-]*)\(.*?\)/gu,qv={...Ta,getAnimatableNone:e=&gt;{const r=e.match(gP);return r?r.map(pP).join(&quot; &quot;):e}},y_={...Ll,transform:Math.round},vP={rotate:wa,rotateX:wa,rotateY:wa,rotateZ:wa,scale:Kd,scaleX:Kd,scaleY:Kd,scaleZ:Kd,skew:wa,skewX:wa,skewY:wa,distance:at,translateX:at,translateY:at,translateZ:at,x:at,y:at,z:at,perspective:at,transformPerspective:at,opacity:Zc,originX:i_,originY:i_,originZ:at},Rb={borderWidth:at,borderTopWidth:at,borderRightWidth:at,borderBottomWidth:at,borderLeftWidth:at,borderRadius:at,radius:at,borderTopLeftRadius:at,borderTopRightRadius:at,borderBottomRightRadius:at,borderBottomLeftRadius:at,width:at,maxWidth:at,height:at,maxHeight:at,top:at,right:at,bottom:at,left:at,inset:at,insetBlock:at,insetBlockStart:at,insetBlockEnd:at,insetInline:at,insetInlineStart:at,insetInlineEnd:at,padding:at,paddingTop:at,paddingRight:at,paddingBottom:at,paddingLeft:at,paddingBlock:at,paddingBlockStart:at,paddingBlockEnd:at,paddingInline:at,paddingInlineStart:at,paddingInlineEnd:at,margin:at,marginTop:at,marginRight:at,marginBottom:at,marginLeft:at,marginBlock:at,marginBlockStart:at,marginBlockEnd:at,marginInline:at,marginInlineStart:at,marginInlineEnd:at,backgroundPositionX:at,backgroundPositionY:at,...vP,zIndex:y_,fillOpacity:Zc,strokeOpacity:Zc,numOctaves:y_},yP={...Rb,color:zr,backgroundColor:zr,outlineColor:zr,fill:zr,stroke:zr,borderColor:zr,borderTopColor:zr,borderRightColor:zr,borderBottomColor:zr,borderLeftColor:zr,filter:qv,WebkitFilter:qv},Ok=e=&gt;yP[e];function Tk(e,r){let t=Ok(e);return t!==qv&amp;&amp;(t=Ta),t.getAnimatableNone?t.getAnimatableNone(r):void 0}const bP=new Set([&quot;auto&quot;,&quot;none&quot;,&quot;0&quot;]);function xP(e,r,t){let n=0,o;for(;n&lt;e.length&amp;&amp;!o;){const s=e[n];typeof s==&quot;string&quot;&amp;&amp;!bP.has(s)&amp;&amp;Qc(s).values.length&amp;&amp;(o=e[n]),n++}if(o&amp;&amp;t)for(const s of r)e[s]=Tk(t,o)}class wP extends Mb{constructor(r,t,n,o,s){super(r,t,n,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let c=0;c&lt;r.length;c++){let h=r[c];if(typeof h==&quot;string&quot;&amp;&amp;(h=h.trim(),_b(h))){const f=Sk(h,t.current);f!==void 0&amp;&amp;(r[c]=f),c===r.length-1&amp;&amp;(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!kk.has(n)||r.length!==2)return;const[o,s]=r,a=v_(o),u=v_(s),l=n_(o),i=n_(s);if(l!==i&amp;&amp;Na[n]){this.needsMeasurement=!0;return}if(a!==u)if(f_(a)&amp;&amp;f_(u))for(let c=0;c&lt;r.length;c++){const h=r[c];typeof h==&quot;string&quot;&amp;&amp;(r[c]=parseFloat(h))}else Na[n]&amp;&amp;(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:t}=this,n=[];for(let o=0;o&lt;r.length;o++)(r[o]===null||hP(r[o]))&amp;&amp;n.push(o);n.length&amp;&amp;xP(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=Na[n](r.measureViewportBox(),window.getComputedStyle(r.current)),t[0]=this.measuredOrigin;const o=t[t.length-1];o!==void 0&amp;&amp;r.getValue(n,o).jump(o,!1)}measureEndState(){const{element:r,name:t,unresolvedKeyframes:n}=this;if(!r||!r.current)return;const o=r.getValue(t);o&amp;&amp;o.jump(this.measuredOrigin,!1);const s=n.length-1,a=n[s];n[s]=Na[t](r.measureViewportBox(),window.getComputedStyle(r.current)),a!==null&amp;&amp;this.finalKeyframe===void 0&amp;&amp;(this.finalKeyframe=a),this.removedTransforms?.length&amp;&amp;this.removedTransforms.forEach(([u,l])=&gt;{r.getValue(u).set(l)}),this.resolveNoneKeyframes()}}function _P(e,r,t){if(e instanceof EventTarget)return[e];if(typeof e==&quot;string&quot;){let n=document;const o=t?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const Pk=(e,r)=&gt;r&amp;&amp;typeof e==&quot;number&quot;?r.transform(e):e;function Ik(e){return WS(e)&amp;&amp;&quot;offsetHeight&quot;in e}const{schedule:Db}=ik(queueMicrotask,!1),Wi={x:!1,y:!1};function Rk(){return Wi.x||Wi.y}function jP(e){return e===&quot;x&quot;||e===&quot;y&quot;?Wi[e]?null:(Wi[e]=!0,()=&gt;{Wi[e]=!1}):Wi.x||Wi.y?null:(Wi.x=Wi.y=!0,()=&gt;{Wi.x=Wi.y=!1})}function Dk(e,r){const t=_P(e),n=new AbortController,o={passive:!0,...r,signal:n.signal};return[t,o,()=&gt;n.abort()]}function b_(e){return!(e.pointerType===&quot;touch&quot;||Rk())}function SP(e,r,t={}){const[n,o,s]=Dk(e,t),a=u=&gt;{if(!b_(u))return;const{target:l}=u,i=r(l,u);if(typeof i!=&quot;function&quot;||!l)return;const c=h=&gt;{b_(h)&amp;&amp;(i(h),l.removeEventListener(&quot;pointerleave&quot;,c))};l.addEventListener(&quot;pointerleave&quot;,c,o)};return n.forEach(u=&gt;{u.addEventListener(&quot;pointerenter&quot;,a,o)}),s}const Lk=(e,r)=&gt;r?e===r?!0:Lk(e,r.parentElement):!1,Lb=e=&gt;e.pointerType===&quot;mouse&quot;?typeof e.button!=&quot;number&quot;||e.button&lt;=0:e.isPrimary!==!1,kP=new Set([&quot;BUTTON&quot;,&quot;INPUT&quot;,&quot;SELECT&quot;,&quot;TEXTAREA&quot;,&quot;A&quot;]);function Fk(e){return kP.has(e.tagName)||e.isContentEditable===!0}const xf=new WeakSet;function x_(e){return r=&gt;{r.key===&quot;Enter&quot;&amp;&amp;e(r)}}function N0(e,r){e.dispatchEvent(new PointerEvent(&quot;pointer&quot;+r,{isPrimary:!0,bubbles:!0}))}const NP=(e,r)=&gt;{const t=e.currentTarget;if(!t)return;const n=x_(()=&gt;{if(xf.has(t))return;N0(t,&quot;down&quot;);const o=x_(()=&gt;{N0(t,&quot;up&quot;)}),s=()=&gt;N0(t,&quot;cancel&quot;);t.addEventListener(&quot;keyup&quot;,o,r),t.addEventListener(&quot;blur&quot;,s,r)});t.addEventListener(&quot;keydown&quot;,n,r),t.addEventListener(&quot;blur&quot;,()=&gt;t.removeEventListener(&quot;keydown&quot;,n),r)};function w_(e){return Lb(e)&amp;&amp;!Rk()}function CP(e,r,t={}){const[n,o,s]=Dk(e,t),a=u=&gt;{const l=u.currentTarget;if(!w_(u))return;xf.add(l);const i=r(l,u),c=(d,v)=&gt;{window.removeEventListener(&quot;pointerup&quot;,h),window.removeEventListener(&quot;pointercancel&quot;,f),xf.has(l)&amp;&amp;xf.delete(l),w_(d)&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;i(d,{success:v})},h=d=&gt;{c(d,l===window||l===document||t.useGlobalTarget||Lk(l,d.target))},f=d=&gt;{c(d,!1)};window.addEventListener(&quot;pointerup&quot;,h,o),window.addEventListener(&quot;pointercancel&quot;,f,o)};return n.forEach(u=&gt;{(t.useGlobalTarget?window:u).addEventListener(&quot;pointerdown&quot;,a,o),Ik(u)&amp;&amp;(u.addEventListener(&quot;focus&quot;,i=&gt;NP(i,o)),!Fk(u)&amp;&amp;!u.hasAttribute(&quot;tabindex&quot;)&amp;&amp;(u.tabIndex=0))}),s}function Bk(e){return WS(e)&amp;&amp;&quot;ownerSVGElement&quot;in e}function EP(e){return Bk(e)&amp;&amp;e.tagName===&quot;svg&quot;}const AP=[...Mk,zr,Ta],MP=e=&gt;AP.find(Ak(e)),__=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),vl=()=&gt;({x:__(),y:__()}),j_=()=&gt;({min:0,max:0}),Kr=()=&gt;({x:j_(),y:j_()}),Wv={current:null},zk={current:!1},OP=typeof window&lt;&quot;u&quot;;function TP(){if(zk.current=!0,!!OP)if(window.matchMedia){const e=window.matchMedia(&quot;(prefers-reduced-motion)&quot;),r=()=&gt;Wv.current=e.matches;e.addEventListener(&quot;change&quot;,r),r()}else Wv.current=!1}const PP=new WeakMap;function qh(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.start==&quot;function&quot;}function Jc(e){return typeof e==&quot;string&quot;||Array.isArray(e)}const Fb=[&quot;animate&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;whileDrag&quot;,&quot;exit&quot;],Bb=[&quot;initial&quot;,...Fb];function Wh(e){return qh(e.animate)||Bb.some(r=&gt;Jc(e[r]))}function $k(e){return!!(Wh(e)||e.variants)}function IP(e,r,t){for(const n in r){const o=r[n],s=t[n];if(Mn(o))e.addValue(n,o);else if(Mn(s))e.addValue(n,kl(o,{owner:e}));else if(s!==o)if(e.hasValue(n)){const a=e.getValue(n);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(n);e.addValue(n,kl(a!==void 0?a:o,{owner:e}))}}for(const n in t)r[n]===void 0&amp;&amp;e.removeValue(n);return r}const S_=[&quot;AnimationStart&quot;,&quot;AnimationComplete&quot;,&quot;Update&quot;,&quot;BeforeLayoutMeasure&quot;,&quot;LayoutMeasure&quot;,&quot;LayoutAnimationStart&quot;,&quot;LayoutAnimationComplete&quot;];let Lf={};function Uk(e){Lf=e}function RP(){return Lf}class DP{scrapeMotionValuesFromProps(r,t,n){return{}}constructor({parent:r,props:t,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:s,visualState:a},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Mb,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 f=Dn.now();this.renderScheduledAt&lt;f&amp;&amp;(this.renderScheduledAt=f,yr.render(this.render,!1,!0))};const{latestValues:l,renderState:i}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=i,this.parent=r,this.props=t,this.presenceContext=n,this.depth=r?r.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.blockInitialAnimation=!!s,this.isControllingVariants=Wh(t),this.isVariantNode=$k(t),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&amp;&amp;r.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const f in h){const d=h[f];l[f]!==void 0&amp;&amp;Mn(d)&amp;&amp;d.set(l[f])}}mount(r){this.current=r,PP.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:(zk.current||TP(),this.shouldReduceMotion=Wv.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&amp;&amp;this.projection.unmount(),Oa(this.notifyUpdate),Oa(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=Bl.has(r);n&amp;&amp;this.onBindTransform&amp;&amp;this.onBindTransform();const o=t.on(&quot;change&quot;,a=&gt;{this.latestValues[r]=a,this.props.onUpdate&amp;&amp;yr.preRender(this.notifyUpdate),n&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window&lt;&quot;u&quot;&amp;&amp;window.MotionCheckAppearSync&amp;&amp;(s=window.MotionCheckAppearSync(this,r,t)),this.valueSubscriptions.set(r,()=&gt;{o(),s&amp;&amp;s(),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 Lf){const t=Lf[r];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[r]&amp;&amp;o&amp;&amp;n(this.props)&amp;&amp;(this.features[r]=new o(this)),this.features[r]){const s=this.features[r];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Kr()}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;S_.length;n++){const o=S_[n];this.propEventSubscriptions[o]&amp;&amp;(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=&quot;on&quot;+o,a=r[s];a&amp;&amp;(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=IP(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=kl(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;(qS(n)||HS(n))?n=parseFloat(n):!MP(n)&amp;&amp;Ta.test(t)&amp;&amp;(n=Tk(r,t)),this.setBaseTarget(r,Mn(n)?n.get():n)),Mn(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 s=Pb(this.props,t,this.presenceContext?.custom);s&amp;&amp;(n=s[r])}if(t&amp;&amp;n!==void 0)return n;const o=this.getBaseTargetFromProps(this.props,r);return o!==void 0&amp;&amp;!Mn(o)?o:this.initialValues[r]!==void 0&amp;&amp;n===void 0?void 0:this.baseTarget[r]}on(r,t){return this.events[r]||(this.events[r]=new bb),this.events[r].add(t)}notify(r,...t){this.events[r]&amp;&amp;this.events[r].notify(...t)}scheduleRenderMicrotask(){Db.render(this.render)}}class Vk extends DP{constructor(){super(...arguments),this.KeyframeResolver=wP}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;Mn(r)&amp;&amp;(this.childSubscription=r.on(&quot;change&quot;,t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class Fa{constructor(r){this.isMounted=!1,this.node=r}update(){}}function qk({top:e,left:r,right:t,bottom:n}){return{x:{min:r,max:t},y:{min:e,max:n}}}function LP({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function FP(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 C0(e){return e===void 0||e===1}function Hv({scale:e,scaleX:r,scaleY:t}){return!C0(e)||!C0(r)||!C0(t)}function oo(e){return Hv(e)||Wk(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Wk(e){return k_(e.x)||k_(e.y)}function k_(e){return e&amp;&amp;e!==&quot;0%&quot;}function Ff(e,r,t){const n=e-t,o=r*n;return t+o}function N_(e,r,t,n,o){return o!==void 0&amp;&amp;(e=Ff(e,o,n)),Ff(e,t,n)+r}function Kv(e,r=0,t=1,n,o){e.min=N_(e.min,r,t,n,o),e.max=N_(e.max,r,t,n,o)}function Hk(e,{x:r,y:t}){Kv(e.x,r.translate,r.scale,r.originPoint),Kv(e.y,t.translate,t.scale,t.originPoint)}const C_=.999999999999,E_=1.0000000000001;function BP(e,r,t,n=!1){const o=t.length;if(!o)return;r.x=r.y=1;let s,a;for(let u=0;u&lt;o;u++){s=t[u],a=s.projectionDelta;const{visualElement:l}=s.options;l&amp;&amp;l.props.style&amp;&amp;l.props.style.display===&quot;contents&quot;||(n&amp;&amp;s.options.layoutScroll&amp;&amp;s.scroll&amp;&amp;s!==s.root&amp;&amp;bl(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&amp;&amp;(r.x*=a.x.scale,r.y*=a.y.scale,Hk(e,a)),n&amp;&amp;oo(s.latestValues)&amp;&amp;bl(e,s.latestValues))}r.x&lt;E_&amp;&amp;r.x&gt;C_&amp;&amp;(r.x=1),r.y&lt;E_&amp;&amp;r.y&gt;C_&amp;&amp;(r.y=1)}function yl(e,r){e.min=e.min+r,e.max=e.max+r}function A_(e,r,t,n,o=.5){const s=Er(e.min,e.max,o);Kv(e,r,t,s,n)}function bl(e,r){A_(e.x,r.x,r.scaleX,r.scale,r.originX),A_(e.y,r.y,r.scaleY,r.scale,r.originY)}function Kk(e,r){return qk(FP(e.getBoundingClientRect(),r))}function zP(e,r,t){const n=Kk(e,t),{scroll:o}=r;return o&amp;&amp;(yl(n.x,o.offset.x),yl(n.y,o.offset.y)),n}const $P={x:&quot;translateX&quot;,y:&quot;translateY&quot;,z:&quot;translateZ&quot;,transformPerspective:&quot;perspective&quot;},UP=Fl.length;function VP(e,r,t){let n=&quot;&quot;,o=!0;for(let s=0;s&lt;UP;s++){const a=Fl[s],u=e[a];if(u===void 0)continue;let l=!0;if(typeof u==&quot;number&quot;?l=u===(a.startsWith(&quot;scale&quot;)?1:0):l=parseFloat(u)===0,!l||t){const i=Pk(u,Rb[a]);if(!l){o=!1;const c=$P[a]||a;n+=`${c}(${i}) `}t&amp;&amp;(r[a]=i)}}return n=n.trim(),t?n=t(r,o?&quot;&quot;:n):o&amp;&amp;(n=&quot;none&quot;),n}function zb(e,r,t){const{style:n,vars:o,transformOrigin:s}=e;let a=!1,u=!1;for(const l in r){const i=r[l];if(Bl.has(l)){a=!0;continue}else if(ak(l)){o[l]=i;continue}else{const c=Pk(i,Rb[l]);l.startsWith(&quot;origin&quot;)?(u=!0,s[l]=c):n[l]=c}}if(r.transform||(a||t?n.transform=VP(r,e.transform,t):n.transform&amp;&amp;(n.transform=&quot;none&quot;)),u){const{originX:l=&quot;50%&quot;,originY:i=&quot;50%&quot;,originZ:c=0}=s;n.transformOrigin=`${l} ${i} ${c}`}}function Xk(e,{style:r,vars:t},n,o){const s=e.style;let a;for(a in r)s[a]=r[a];o?.applyProjectionStyles(s,n);for(a in t)s.setProperty(a,t[a])}function M_(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const Cc={correct:(e,r)=&gt;{if(!r.target)return e;if(typeof e==&quot;string&quot;)if(at.test(e))e=parseFloat(e);else return e;const t=M_(e,r.target.x),n=M_(e,r.target.y);return`${t}% ${n}%`}},qP={correct:(e,{treeScale:r,projectionDelta:t})=&gt;{const n=e,o=Ta.parse(e);if(o.length&gt;5)return n;const s=Ta.createTransformer(e),a=typeof o[0]!=&quot;number&quot;?1:0,u=t.x.scale*r.x,l=t.y.scale*r.y;o[0+a]/=u,o[1+a]/=l;const i=Er(u,l,.5);return typeof o[2+a]==&quot;number&quot;&amp;&amp;(o[2+a]/=i),typeof o[3+a]==&quot;number&quot;&amp;&amp;(o[3+a]/=i),s(o)}},Xv={borderRadius:{...Cc,applyTo:[&quot;borderTopLeftRadius&quot;,&quot;borderTopRightRadius&quot;,&quot;borderBottomLeftRadius&quot;,&quot;borderBottomRightRadius&quot;]},borderTopLeftRadius:Cc,borderTopRightRadius:Cc,borderBottomLeftRadius:Cc,borderBottomRightRadius:Cc,boxShadow:qP};function Gk(e,{layout:r,layoutId:t}){return Bl.has(e)||e.startsWith(&quot;origin&quot;)||(r||t!==void 0)&amp;&amp;(!!Xv[e]||e===&quot;opacity&quot;)}function $b(e,r,t){const n=e.style,o=r?.style,s={};if(!n)return s;for(const a in n)(Mn(n[a])||o&amp;&amp;Mn(o[a])||Gk(a,e)||t?.getValue(a)?.liveStyle!==void 0)&amp;&amp;(s[a]=n[a]);return s}function WP(e){return window.getComputedStyle(e)}class HP extends Vk{constructor(){super(...arguments),this.type=&quot;html&quot;,this.renderInstance=Xk}readValueFromInstance(r,t){if(Bl.has(t))return this.projection?.isProjecting?Rv(t):_T(r,t);{const n=WP(r),o=(ak(t)?n.getPropertyValue(t):n[t])||0;return typeof o==&quot;string&quot;?o.trim():o}}measureInstanceViewportBox(r,{transformPagePoint:t}){return Kk(r,t)}build(r,t,n){zb(r,t,n.transformTemplate)}scrapeMotionValuesFromProps(r,t,n){return $b(r,t,n)}}const KP={offset:&quot;stroke-dashoffset&quot;,array:&quot;stroke-dasharray&quot;},XP={offset:&quot;strokeDashoffset&quot;,array:&quot;strokeDasharray&quot;};function GP(e,r,t=1,n=0,o=!0){e.pathLength=1;const s=o?KP:XP;e[s.offset]=at.transform(-n);const a=at.transform(r),u=at.transform(t);e[s.array]=`${a} ${u}`}const YP=[&quot;offsetDistance&quot;,&quot;offsetPath&quot;,&quot;offsetRotate&quot;,&quot;offsetAnchor&quot;];function Yk(e,{attrX:r,attrY:t,attrScale:n,pathLength:o,pathSpacing:s=1,pathOffset:a=0,...u},l,i,c){if(zb(e,u,i),l){e.style.viewBox&amp;&amp;(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:f}=e;h.transform&amp;&amp;(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&amp;&amp;(f.transformOrigin=h.transformOrigin??&quot;50% 50%&quot;,delete h.transformOrigin),f.transform&amp;&amp;(f.transformBox=c?.transformBox??&quot;fill-box&quot;,delete h.transformBox);for(const d of YP)h[d]!==void 0&amp;&amp;(f[d]=h[d],delete h[d]);r!==void 0&amp;&amp;(h.x=r),t!==void 0&amp;&amp;(h.y=t),n!==void 0&amp;&amp;(h.scale=n),o!==void 0&amp;&amp;GP(h,o,s,a,!1)}const Zk=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;]),Qk=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.toLowerCase()===&quot;svg&quot;;function ZP(e,r,t,n){Xk(e,r,void 0,n);for(const o in r.attrs)e.setAttribute(Zk.has(o)?o:Ib(o),r.attrs[o])}function Jk(e,r,t){const n=$b(e,r,t);for(const o in e)if(Mn(e[o])||Mn(r[o])){const s=Fl.indexOf(o)!==-1?&quot;attr&quot;+o.charAt(0).toUpperCase()+o.substring(1):o;n[s]=e[o]}return n}class QP extends Vk{constructor(){super(...arguments),this.type=&quot;svg&quot;,this.isSVGTag=!1,this.measureInstanceViewportBox=Kr}getBaseTargetFromProps(r,t){return r[t]}readValueFromInstance(r,t){if(Bl.has(t)){const n=Ok(t);return n&amp;&amp;n.default||0}return t=Zk.has(t)?t:Ib(t),r.getAttribute(t)}scrapeMotionValuesFromProps(r,t,n){return Jk(r,t,n)}build(r,t,n){Yk(r,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(r,t,n,o){ZP(r,t,n,o)}mount(r){this.isSVGTag=Qk(r.tagName),super.mount(r)}}const JP=Bb.length;function e8(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent?e8(e.parent)||{}:{};return e.props.initial!==void 0&amp;&amp;(t.initial=e.props.initial),t}const r={};for(let t=0;t&lt;JP;t++){const n=Bb[t],o=e.props[n];(Jc(o)||o===!1)&amp;&amp;(r[n]=o)}return r}function t8(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 eI=[...Fb].reverse(),tI=Fb.length;function rI(e){return r=&gt;Promise.all(r.map(({animation:t,options:n})=&gt;dP(e,t,n)))}function nI(e){let r=rI(e),t=O_(),n=!0;const o=l=&gt;(i,c)=&gt;{const h=_l(e,c,l===&quot;exit&quot;?e.presenceContext?.custom:void 0);if(h){const{transition:f,transitionEnd:d,...v}=h;i={...i,...v,...d}}return i};function s(l){r=l(e)}function a(l){const{props:i}=e,c=e8(e.parent)||{},h=[],f=new Set;let d={},v=1/0;for(let p=0;p&lt;tI;p++){const b=eI[p],x=t[b],_=i[b]!==void 0?i[b]:c[b],E=Jc(_),M=b===l?x.isActive:null;M===!1&amp;&amp;(v=p);let D=_===c[b]&amp;&amp;_!==i[b]&amp;&amp;E;if(D&amp;&amp;n&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;(D=!1),x.protectedKeys={...d},!x.isActive&amp;&amp;M===null||!_&amp;&amp;!x.prevProp||qh(_)||typeof _==&quot;boolean&quot;)continue;const W=iI(x.prevProp,_);let L=W||b===l&amp;&amp;x.isActive&amp;&amp;!D&amp;&amp;E||p&gt;v&amp;&amp;E,V=!1;const H=Array.isArray(_)?_:[_];let K=H.reduce(o(b),{});M===!1&amp;&amp;(K={});const{prevResolvedValues:z={}}=x,O={...z,...K},I=k=&gt;{L=!0,f.has(k)&amp;&amp;(V=!0,f.delete(k)),x.needsAnimating[k]=!0;const S=e.getValue(k);S&amp;&amp;(S.liveStyle=!1)};for(const k in O){const S=K[k],N=z[k];if(d.hasOwnProperty(k))continue;let T=!1;$v(S)&amp;&amp;$v(N)?T=!t8(S,N):T=S!==N,T?S!=null?I(k):f.add(k):S!==void 0&amp;&amp;f.has(k)?I(k):x.protectedKeys[k]=!0}x.prevProp=_,x.prevResolvedValues=K,x.isActive&amp;&amp;(d={...d,...K}),n&amp;&amp;e.blockInitialAnimation&amp;&amp;(L=!1);const C=D&amp;&amp;W;L&amp;&amp;(!C||V)&amp;&amp;h.push(...H.map(k=&gt;{const S={type:b};if(typeof k==&quot;string&quot;&amp;&amp;n&amp;&amp;!C&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;e.parent){const{parent:N}=e,T=_l(N,k);if(N.enteringChildren&amp;&amp;T){const{delayChildren:R}=T.transition||{};S.delay=jk(N.enteringChildren,e,R)}}return{animation:k,options:S}}))}if(f.size){const p={};if(typeof i.initial!=&quot;boolean&quot;){const b=_l(e,Array.isArray(i.initial)?i.initial[0]:i.initial);b&amp;&amp;b.transition&amp;&amp;(p.transition=b.transition)}f.forEach(b=&gt;{const x=e.getBaseTarget(b),_=e.getValue(b);_&amp;&amp;(_.liveStyle=!0),p[b]=x??null}),h.push({animation:p})}let y=!!h.length;return n&amp;&amp;(i.initial===!1||i.initial===i.animate)&amp;&amp;!e.manuallyAnimateOnMount&amp;&amp;(y=!1),n=!1,y?r(h):Promise.resolve()}function u(l,i){if(t[l].isActive===i)return Promise.resolve();e.variantChildren?.forEach(h=&gt;h.animationState?.setActive(l,i)),t[l].isActive=i;const c=a(l);for(const h in t)t[h].protectedKeys={};return c}return{animateChanges:a,setActive:u,setAnimateFunction:s,getState:()=&gt;t,reset:()=&gt;{t=O_()}}}function iI(e,r){return typeof r==&quot;string&quot;?r!==e:Array.isArray(r)?!t8(r,e):!1}function so(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function O_(){return{animate:so(!0),whileInView:so(),whileHover:so(),whileTap:so(),whileDrag:so(),whileFocus:so(),exit:so()}}function T_(e,r){e.min=r.min,e.max=r.max}function Vi(e,r){T_(e.x,r.x),T_(e.y,r.y)}function P_(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}const r8=1e-4,sI=1-r8,aI=1+r8,n8=.01,oI=0-n8,lI=0+n8;function Ln(e){return e.max-e.min}function cI(e,r,t){return Math.abs(e-r)&lt;=t}function I_(e,r,t,n=.5){e.origin=n,e.originPoint=Er(r.min,r.max,e.origin),e.scale=Ln(t)/Ln(r),e.translate=Er(t.min,t.max,e.origin)-e.originPoint,(e.scale&gt;=sI&amp;&amp;e.scale&lt;=aI||isNaN(e.scale))&amp;&amp;(e.scale=1),(e.translate&gt;=oI&amp;&amp;e.translate&lt;=lI||isNaN(e.translate))&amp;&amp;(e.translate=0)}function Wc(e,r,t,n){I_(e.x,r.x,t.x,n?n.originX:void 0),I_(e.y,r.y,t.y,n?n.originY:void 0)}function R_(e,r,t){e.min=t.min+r.min,e.max=e.min+Ln(r)}function uI(e,r,t){R_(e.x,r.x,t.x),R_(e.y,r.y,t.y)}function D_(e,r,t){e.min=r.min-t.min,e.max=e.min+Ln(r)}function Bf(e,r,t){D_(e.x,r.x,t.x),D_(e.y,r.y,t.y)}function L_(e,r,t,n,o){return e-=r,e=Ff(e,1/t,n),o!==void 0&amp;&amp;(e=Ff(e,1/o,n)),e}function dI(e,r=0,t=1,n=.5,o,s=e,a=e){if(gs.test(r)&amp;&amp;(r=parseFloat(r),r=Er(a.min,a.max,r/100)-a.min),typeof r!=&quot;number&quot;)return;let u=Er(s.min,s.max,n);e===s&amp;&amp;(u-=r),e.min=L_(e.min,r,t,u,o),e.max=L_(e.max,r,t,u,o)}function F_(e,r,[t,n,o],s,a){dI(e,r[t],r[n],r[o],r.scale,s,a)}const fI=[&quot;x&quot;,&quot;scaleX&quot;,&quot;originX&quot;],hI=[&quot;y&quot;,&quot;scaleY&quot;,&quot;originY&quot;];function B_(e,r,t,n){F_(e.x,r,fI,t?t.x:void 0,n?n.x:void 0),F_(e.y,r,hI,t?t.y:void 0,n?n.y:void 0)}function z_(e){return e.translate===0&amp;&amp;e.scale===1}function i8(e){return z_(e.x)&amp;&amp;z_(e.y)}function $_(e,r){return e.min===r.min&amp;&amp;e.max===r.max}function mI(e,r){return $_(e.x,r.x)&amp;&amp;$_(e.y,r.y)}function U_(e,r){return Math.round(e.min)===Math.round(r.min)&amp;&amp;Math.round(e.max)===Math.round(r.max)}function s8(e,r){return U_(e.x,r.x)&amp;&amp;U_(e.y,r.y)}function V_(e){return Ln(e.x)/Ln(e.y)}function q_(e,r){return e.translate===r.translate&amp;&amp;e.scale===r.scale&amp;&amp;e.originPoint===r.originPoint}function ki(e){return[e(&quot;x&quot;),e(&quot;y&quot;)]}function pI(e,r,t){let n=&quot;&quot;;const o=e.x.translate/r.x,s=e.y.translate/r.y,a=t?.z||0;if((o||s||a)&amp;&amp;(n=`translate3d(${o}px, ${s}px, ${a}px) `),(r.x!==1||r.y!==1)&amp;&amp;(n+=`scale(${1/r.x}, ${1/r.y}) `),t){const{transformPerspective:i,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:v}=t;i&amp;&amp;(n=`perspective(${i}px) ${n}`),c&amp;&amp;(n+=`rotate(${c}deg) `),h&amp;&amp;(n+=`rotateX(${h}deg) `),f&amp;&amp;(n+=`rotateY(${f}deg) `),d&amp;&amp;(n+=`skewX(${d}deg) `),v&amp;&amp;(n+=`skewY(${v}deg) `)}const u=e.x.scale*r.x,l=e.y.scale*r.y;return(u!==1||l!==1)&amp;&amp;(n+=`scale(${u}, ${l})`),n||&quot;none&quot;}const a8=[&quot;TopLeft&quot;,&quot;TopRight&quot;,&quot;BottomLeft&quot;,&quot;BottomRight&quot;],gI=a8.length,W_=e=&gt;typeof e==&quot;string&quot;?parseFloat(e):e,H_=e=&gt;typeof e==&quot;number&quot;||at.test(e);function vI(e,r,t,n,o,s){o?(e.opacity=Er(0,t.opacity??1,yI(n)),e.opacityExit=Er(r.opacity??1,0,bI(n))):s&amp;&amp;(e.opacity=Er(r.opacity??1,t.opacity??1,n));for(let a=0;a&lt;gI;a++){const u=`border${a8[a]}Radius`;let l=K_(r,u),i=K_(t,u);if(l===void 0&amp;&amp;i===void 0)continue;l||(l=0),i||(i=0),l===0||i===0||H_(l)===H_(i)?(e[u]=Math.max(Er(W_(l),W_(i),n),0),(gs.test(i)||gs.test(l))&amp;&amp;(e[u]+=&quot;%&quot;)):e[u]=i}(r.rotate||t.rotate)&amp;&amp;(e.rotate=Er(r.rotate||0,t.rotate||0,n))}function K_(e,r){return e[r]!==void 0?e[r]:e.borderRadius}const yI=o8(0,.5,ek),bI=o8(.5,.95,Ai);function o8(e,r,t){return n=&gt;n&lt;e?0:n&gt;r?1:t(Yc(e,r,n))}function xI(e,r,t){const n=Mn(e)?e:kl(e);return n.start(Tb(&quot;&quot;,n,r,t)),n.animation}function eu(e,r,t,n={passive:!0}){return e.addEventListener(r,t,n),()=&gt;e.removeEventListener(r,t)}const wI=(e,r)=&gt;e.depth-r.depth;class _I{constructor(){this.children=[],this.isDirty=!1}add(r){pb(this.children,r),this.isDirty=!0}remove(r){gb(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&amp;&amp;this.children.sort(wI),this.isDirty=!1,this.children.forEach(r)}}function jI(e,r){const t=Dn.now(),n=({timestamp:o})=&gt;{const s=o-t;s&gt;=r&amp;&amp;(Oa(n),e(s-r))};return yr.setup(n,!0),()=&gt;Oa(n)}function wf(e){return Mn(e)?e.get():e}class SI{constructor(){this.members=[]}add(r){pb(this.members,r),r.scheduleRender()}remove(r){if(gb(this.members,r),r===this.prevLead&amp;&amp;(this.prevLead=void 0),r===this.lead){const t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(r){const t=this.members.findIndex(o=&gt;r===o);if(t===0)return!1;let n;for(let o=t;o&gt;=0;o--){const s=this.members[o];if(s.isPresent!==!1){n=s;break}}return n?(this.promote(n),!0):!1}promote(r,t){const n=this.lead;if(r!==n&amp;&amp;(this.prevLead=n,this.lead=r,r.show(),n)){n.instance&amp;&amp;n.scheduleRender(),r.scheduleRender(),r.resumeFrom=n,t&amp;&amp;(r.resumeFrom.preserveOpacity=!0),n.snapshot&amp;&amp;(r.snapshot=n.snapshot,r.snapshot.latestValues=n.animationValues||n.latestValues),r.root&amp;&amp;r.root.isUpdating&amp;&amp;(r.isLayoutDirty=!0);const{crossfade:o}=r.options;o===!1&amp;&amp;n.hide()}}exitAnimationComplete(){this.members.forEach(r=&gt;{const{options:t,resumingFrom:n}=r;t.onExitComplete&amp;&amp;t.onExitComplete(),n&amp;&amp;n.options.onExitComplete&amp;&amp;n.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=&gt;{r.instance&amp;&amp;r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&amp;&amp;this.lead.snapshot&amp;&amp;(this.lead.snapshot=void 0)}}const _f={hasAnimatedSinceResize:!0,hasEverUpdated:!1},E0=[&quot;&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],kI=1e3;let NI=0;function A0(e,r,t,n){const{latestValues:o}=r;o[e]&amp;&amp;(t[e]=o[e],r.setStaticValue(e,0),n&amp;&amp;(n[e]=0))}function l8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const t=Ck(r);if(window.MotionHasOptimisedAnimation(t,&quot;transform&quot;)){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(t,&quot;transform&quot;,yr,!(o||s))}const{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;l8(n)}function c8({attachResizeListener:e,defaultParent:r,measureScroll:t,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(a={},u=r?.()){this.id=NI++,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(AI),this.nodes.forEach(PI),this.nodes.forEach(II),this.nodes.forEach(MI)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let l=0;l&lt;this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new _I)}addEventListener(a,u){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new bb),this.eventHandlers.get(a).add(u)}notifyListeners(a,...u){const l=this.eventHandlers.get(a);l&amp;&amp;l.notify(...u)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Bk(a)&amp;&amp;!EP(a),this.instance=a;const{layoutId:u,layout:l,visualElement:i}=this.options;if(i&amp;&amp;!i.current&amp;&amp;i.mount(a),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),this.root.hasTreeAnimated&amp;&amp;(l||u)&amp;&amp;(this.isLayoutDirty=!0),e){let c,h=0;const f=()=&gt;this.root.updateBlockedByResize=!1;yr.read(()=&gt;{h=window.innerWidth}),e(a,()=&gt;{const d=window.innerWidth;d!==h&amp;&amp;(h=d,this.root.updateBlockedByResize=!0,c&amp;&amp;c(),c=jI(f,250),_f.hasAnimatedSinceResize&amp;&amp;(_f.hasAnimatedSinceResize=!1,this.nodes.forEach(Y_)))})}u&amp;&amp;this.root.registerSharedNode(u,this),this.options.animate!==!1&amp;&amp;i&amp;&amp;(u||l)&amp;&amp;this.addEventListener(&quot;didUpdate&quot;,({delta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||i.getDefaultTransition()||BI,{onLayoutAnimationStart:y,onLayoutAnimationComplete:p}=i.getProps(),b=!this.targetLayout||!s8(this.targetLayout,d),x=!h&amp;&amp;f;if(this.options.layoutRoot||this.resumeFrom||x||h&amp;&amp;(b||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...Ob(v,&quot;layout&quot;),onPlay:y,onComplete:p};(i.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(c,x)}else h||Y_(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&amp;&amp;a.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oa(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(RI),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&amp;&amp;a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&amp;&amp;this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;l8(this),!this.root.isUpdating&amp;&amp;this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c&lt;this.path.length;c++){const h=this.path[c];h.shouldResetTransform=!0,h.updateScroll(&quot;snapshot&quot;),h.options.layoutRoot&amp;&amp;h.willUpdate(!1)}const{layoutId:u,layout:l}=this.options;if(u===void 0&amp;&amp;!l)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,&quot;&quot;):void 0,this.updateSnapshot(),a&amp;&amp;this.notifyListeners(&quot;willUpdate&quot;)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(X_);return}if(this.animationId&lt;=this.animationCommitId){this.nodes.forEach(G_);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(TI),this.nodes.forEach(CI),this.nodes.forEach(EI)):this.nodes.forEach(G_),this.clearAllSnapshots();const u=Dn.now();vn.delta=ys(0,1e3/60,u-vn.timestamp),vn.timestamp=u,vn.isProcessing=!0,x0.update.process(vn),x0.preRender.process(vn),x0.render.process(vn),vn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Db.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(OI),this.sharedNodes.forEach(DI)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,yr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){yr.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&amp;&amp;!Ln(this.snapshot.measuredBox.x)&amp;&amp;!Ln(this.snapshot.measuredBox.y)&amp;&amp;(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&amp;&amp;this.isLead())&amp;&amp;!this.isLayoutDirty))return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let l=0;l&lt;this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Kr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(&quot;measure&quot;,this.layout.layoutBox);const{visualElement:u}=this.options;u&amp;&amp;u.notify(&quot;LayoutMeasure&quot;,this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a=&quot;measure&quot;){let u=!!(this.options.layoutScroll&amp;&amp;this.instance);if(this.scroll&amp;&amp;this.scroll.animationId===this.root.animationId&amp;&amp;this.scroll.phase===a&amp;&amp;(u=!1),u&amp;&amp;this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&amp;&amp;!i8(this.projectionDelta),l=this.getTransformTemplate(),i=l?l(this.latestValues,&quot;&quot;):void 0,c=i!==this.prevTransformTemplateValue;a&amp;&amp;this.instance&amp;&amp;(u||oo(this.latestValues)||c)&amp;&amp;(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const u=this.measurePageBox();let l=this.removeElementScroll(u);return a&amp;&amp;(l=this.removeTransform(l)),zI(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Kr();const u=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some($I))){const{scroll:i}=this.root;i&amp;&amp;(yl(u.x,i.offset.x),yl(u.y,i.offset.y))}return u}removeElementScroll(a){const u=Kr();if(Vi(u,a),this.scroll?.wasRoot)return u;for(let l=0;l&lt;this.path.length;l++){const i=this.path[l],{scroll:c,options:h}=i;i!==this.root&amp;&amp;c&amp;&amp;h.layoutScroll&amp;&amp;(c.wasRoot&amp;&amp;Vi(u,a),yl(u.x,c.offset.x),yl(u.y,c.offset.y))}return u}applyTransform(a,u=!1){const l=Kr();Vi(l,a);for(let i=0;i&lt;this.path.length;i++){const c=this.path[i];!u&amp;&amp;c.options.layoutScroll&amp;&amp;c.scroll&amp;&amp;c!==c.root&amp;&amp;bl(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),oo(c.latestValues)&amp;&amp;bl(l,c.latestValues)}return oo(this.latestValues)&amp;&amp;bl(l,this.latestValues),l}removeTransform(a){const u=Kr();Vi(u,a);for(let l=0;l&lt;this.path.length;l++){const i=this.path[l];if(!i.instance||!oo(i.latestValues))continue;Hv(i.latestValues)&amp;&amp;i.updateSnapshot();const c=Kr(),h=i.measurePageBox();Vi(c,h),B_(u,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,c)}return oo(this.latestValues)&amp;&amp;B_(u,this.latestValues),u}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&amp;&amp;this.relativeParent.resolvedRelativeTargetAt!==vn.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==u;if(!(a||l&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:h}=this.options;if(!this.layout||!(c||h))return;this.resolvedRelativeTargetAt=vn.timestamp;const f=this.getClosestProjectingParent();f&amp;&amp;this.linkedParentVersion!==f.layoutVersion&amp;&amp;!f.options.layoutRoot&amp;&amp;this.removeRelativeTarget(),!this.targetDelta&amp;&amp;!this.relativeTarget&amp;&amp;(f&amp;&amp;f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&amp;&amp;!this.targetDelta)&amp;&amp;(this.target||(this.target=Kr(),this.targetWithTransforms=Kr()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Vi(this.target,this.layout.layoutBox),Hk(this.target,this.targetDelta)):Vi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&amp;&amp;(this.attemptToResolveRelativeTarget=!1,f&amp;&amp;!!f.resumingFrom==!!this.resumingFrom&amp;&amp;!f.options.layoutScroll&amp;&amp;f.target&amp;&amp;this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Hv(this.parent.latestValues)||Wk(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}createRelativeTarget(a,u,l){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Kr(),this.relativeTargetOrigin=Kr(),Bf(this.relativeTargetOrigin,u,l),Vi(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const a=this.getLead(),u=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&amp;&amp;(l=!1),u&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(l=!1),this.resolvedRelativeTargetAt===vn.timestamp&amp;&amp;(l=!1),l)return;const{layout:i,layoutId:c}=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||!(i||c))return;Vi(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;BP(this.layoutCorrected,this.treeScale,this.path,u),a.layout&amp;&amp;!a.target&amp;&amp;(this.treeScale.x!==1||this.treeScale.y!==1)&amp;&amp;(a.target=a.layout.layoutBox,a.targetWithTransforms=Kr());const{target:d}=a;if(!d){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(P_(this.prevProjectionDelta.x,this.projectionDelta.x),P_(this.prevProjectionDelta.y,this.projectionDelta.y)),Wc(this.projectionDelta,this.layoutCorrected,d,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!q_(this.projectionDelta.x,this.prevProjectionDelta.x)||!q_(this.projectionDelta.y,this.prevProjectionDelta.y))&amp;&amp;(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(&quot;projectionUpdate&quot;,d))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){const u=this.getStack();u&amp;&amp;u.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vl(),this.projectionDelta=vl(),this.projectionDeltaWithTransform=vl()}setAnimationOrigin(a,u=!1){const l=this.snapshot,i=l?l.latestValues:{},c={...this.latestValues},h=vl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&amp;&amp;(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const f=Kr(),d=l?l.source:void 0,v=this.layout?this.layout.source:void 0,y=d!==v,p=this.getStack(),b=!p||p.members.length&lt;=1,x=!!(y&amp;&amp;!b&amp;&amp;this.options.crossfade===!0&amp;&amp;!this.path.some(FI));this.animationProgress=0;let _;this.mixTargetDelta=E=&gt;{const M=E/1e3;Z_(h.x,a.x,M),Z_(h.y,a.y,M),this.setTargetDelta(h),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(Bf(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),LI(this.relativeTarget,this.relativeTargetOrigin,f,M),_&amp;&amp;mI(this.relativeTarget,_)&amp;&amp;(this.isProjectionDirty=!1),_||(_=Kr()),Vi(_,this.relativeTarget)),y&amp;&amp;(this.animationValues=c,vI(c,i,this.latestValues,M,x,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners(&quot;animationStart&quot;),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&amp;&amp;(Oa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=yr.update(()=&gt;{_f.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=kl(0)),this.currentAnimation=xI(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:u=&gt;{this.mixTargetDelta(u),a.onUpdate&amp;&amp;a.onUpdate(u)},onStop:()=&gt;{},onComplete:()=&gt;{a.onComplete&amp;&amp;a.onComplete(),this.completeAnimation()}}),this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&amp;&amp;a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(&quot;animationComplete&quot;)}finishAnimation(){this.currentAnimation&amp;&amp;(this.mixTargetDelta&amp;&amp;this.mixTargetDelta(kI),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:u,target:l,layout:i,latestValues:c}=a;if(!(!u||!l||!i)){if(this!==a&amp;&amp;this.layout&amp;&amp;i&amp;&amp;u8(this.options.animationType,this.layout.layoutBox,i.layoutBox)){l=this.target||Kr();const h=Ln(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+h;const f=Ln(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+f}Vi(u,l),bl(u,c),Wc(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(a,u){this.sharedNodes.has(a)||this.sharedNodes.set(a,new SI),this.sharedNodes.get(a).add(u);const i=u.options.initialPromotionConfig;u.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&amp;&amp;i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(u):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){const{layoutId:a}=this.options;return a?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:u,preserveFollowOpacity:l}={}){const i=this.getStack();i&amp;&amp;i.promote(this,l),a&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),u&amp;&amp;this.setOptions({transition:u})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let u=!1;const{latestValues:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&amp;&amp;(u=!0),!u)return;const i={};l.z&amp;&amp;A0(&quot;z&quot;,a,i,this.animationValues);for(let c=0;c&lt;E0.length;c++)A0(`rotate${E0[c]}`,a,i,this.animationValues),A0(`skew${E0[c]}`,a,i,this.animationValues);a.render();for(const c in i)a.setStaticValue(c,i[c]),this.animationValues&amp;&amp;(this.animationValues[c]=i[c]);a.scheduleRender()}applyProjectionStyles(a,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility=&quot;hidden&quot;;return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility=&quot;&quot;,a.opacity=&quot;&quot;,a.pointerEvents=wf(u?.pointerEvents)||&quot;&quot;,a.transform=l?l(this.latestValues,&quot;&quot;):&quot;none&quot;;return}const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&amp;&amp;(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=wf(u?.pointerEvents)||&quot;&quot;),this.hasProjected&amp;&amp;!oo(this.latestValues)&amp;&amp;(a.transform=l?l({},&quot;&quot;):&quot;none&quot;,this.hasProjected=!1);return}a.visibility=&quot;&quot;;const c=i.animationValues||i.latestValues;this.applyTransformsToTarget();let h=pI(this.projectionDeltaWithTransform,this.treeScale,c);l&amp;&amp;(h=l(c,h)),a.transform=h;const{x:f,y:d}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${d.origin*100}% 0`,i.animationValues?a.opacity=i===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:a.opacity=i===this?c.opacity!==void 0?c.opacity:&quot;&quot;:c.opacityExit!==void 0?c.opacityExit:0;for(const v in Xv){if(c[v]===void 0)continue;const{correct:y,applyTo:p,isCSSVariable:b}=Xv[v],x=h===&quot;none&quot;?c[v]:y(c[v],i);if(p){const _=p.length;for(let E=0;E&lt;_;E++)a[p[E]]=x}else b?this.options.visualElement.renderState.vars[v]=x:a[v]=x}this.options.layoutId&amp;&amp;(a.pointerEvents=i===this?wf(u?.pointerEvents)||&quot;&quot;:&quot;none&quot;)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=&gt;a.currentAnimation?.stop()),this.root.nodes.forEach(X_),this.root.sharedNodes.clear()}}}function CI(e){e.updateLayout()}function EI(e){const r=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&amp;&amp;e.layout&amp;&amp;r&amp;&amp;e.hasListeners(&quot;didUpdate&quot;)){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,s=r.source!==e.layout.source;o===&quot;size&quot;?ki(c=&gt;{const h=s?r.measuredBox[c]:r.layoutBox[c],f=Ln(h);h.min=t[c].min,h.max=h.min+f}):u8(o,r.layoutBox,t)&amp;&amp;ki(c=&gt;{const h=s?r.measuredBox[c]:r.layoutBox[c],f=Ln(t[c]);h.max=h.min+f,e.relativeTarget&amp;&amp;!e.currentAnimation&amp;&amp;(e.isProjectionDirty=!0,e.relativeTarget[c].max=e.relativeTarget[c].min+f)});const a=vl();Wc(a,t,r.layoutBox);const u=vl();s?Wc(u,e.applyTransform(n,!0),r.measuredBox):Wc(u,t,r.layoutBox);const l=!i8(a);let i=!1;if(!e.resumeFrom){const c=e.getClosestProjectingParent();if(c&amp;&amp;!c.resumeFrom){const{snapshot:h,layout:f}=c;if(h&amp;&amp;f){const d=Kr();Bf(d,r.layoutBox,h.layoutBox);const v=Kr();Bf(v,t,f.layoutBox),s8(d,v)||(i=!0),c.options.layoutRoot&amp;&amp;(e.relativeTarget=v,e.relativeTargetOrigin=d,e.relativeParent=c)}}}e.notifyListeners(&quot;didUpdate&quot;,{layout:t,snapshot:r,delta:u,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:i})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&amp;&amp;t()}e.options.transition=void 0}function AI(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 MI(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function OI(e){e.clearSnapshot()}function X_(e){e.clearMeasurements()}function G_(e){e.isLayoutDirty=!1}function TI(e){const{visualElement:r}=e.options;r&amp;&amp;r.getProps().onBeforeLayoutMeasure&amp;&amp;r.notify(&quot;BeforeLayoutMeasure&quot;),e.resetTransform()}function Y_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function PI(e){e.resolveTargetDelta()}function II(e){e.calcProjection()}function RI(e){e.resetSkewAndRotation()}function DI(e){e.removeLeadSnapshot()}function Z_(e,r,t){e.translate=Er(r.translate,0,t),e.scale=Er(r.scale,1,t),e.origin=r.origin,e.originPoint=r.originPoint}function Q_(e,r,t,n){e.min=Er(r.min,t.min,n),e.max=Er(r.max,t.max,n)}function LI(e,r,t,n){Q_(e.x,r.x,t.x,n),Q_(e.y,r.y,t.y,n)}function FI(e){return e.animationValues&amp;&amp;e.animationValues.opacityExit!==void 0}const BI={duration:.45,ease:[.4,0,.1,1]},J_=e=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(e),e3=J_(&quot;applewebkit/&quot;)&amp;&amp;!J_(&quot;chrome/&quot;)?Math.round:Ai;function t3(e){e.min=e3(e.min),e.max=e3(e.max)}function zI(e){t3(e.x),t3(e.y)}function u8(e,r,t){return e===&quot;position&quot;||e===&quot;preserve-aspect&quot;&amp;&amp;!cI(V_(r),V_(t),.2)}function $I(e){return e!==e.root&amp;&amp;e.scroll?.wasRoot}const UI=c8({attachResizeListener:(e,r)=&gt;eu(e,&quot;resize&quot;,r),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),M0={current:void 0},d8=c8({measureScroll:e=&gt;({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=&gt;{if(!M0.current){const e=new UI({});e.mount(window),e.setOptions({layoutScroll:!0}),M0.current=e}return M0.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;}),Ub=q.createContext({transformPagePoint:e=&gt;e,isStatic:!1,reducedMotion:&quot;never&quot;});function r3(e,r){if(typeof e==&quot;function&quot;)return e(r);e!=null&amp;&amp;(e.current=r)}function VI(...e){return r=&gt;{let t=!1;const n=e.map(o=&gt;{const s=r3(o,r);return!t&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;(t=!0),s});if(t)return()=&gt;{for(let o=0;o&lt;n.length;o++){const s=n[o];typeof s==&quot;function&quot;?s():r3(e[o],null)}}}}function qI(...e){return q.useCallback(VI(...e),e)}class WI extends q.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(t&amp;&amp;r.isPresent&amp;&amp;!this.props.isPresent){const n=t.offsetParent,o=Ik(n)&amp;&amp;n.offsetWidth||0,s=this.props.sizeRef.current;s.height=t.offsetHeight||0,s.width=t.offsetWidth||0,s.top=t.offsetTop,s.left=t.offsetLeft,s.right=o-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function HI({children:e,isPresent:r,anchorX:t,root:n}){const o=q.useId(),s=q.useRef(null),a=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=q.useContext(Ub),l=e.props?.ref??e?.ref,i=qI(s,l);return q.useInsertionEffect(()=&gt;{const{width:c,height:h,top:f,left:d,right:v}=a.current;if(r||!s.current||!c||!h)return;const y=t===&quot;left&quot;?`left: ${d}`:`right: ${v}`;s.current.dataset.motionPopId=o;const p=document.createElement(&quot;style&quot;);u&amp;&amp;(p.nonce=u);const b=n??document.head;return b.appendChild(p),p.sheet&amp;&amp;p.sheet.insertRule(`
          [data-motion-pop-id=&quot;${o}&quot;] {
            position: absolute !important;
            width: ${c}px !important;
            height: ${h}px !important;
            ${y}px !important;
            top: ${f}px !important;
          }
        `),()=&gt;{b.contains(p)&amp;&amp;b.removeChild(p)}},[r]),m.jsx(WI,{isPresent:r,childRef:s,sizeRef:a,children:q.cloneElement(e,{ref:i})})}const KI=({children:e,initial:r,isPresent:t,onExitComplete:n,custom:o,presenceAffectsLayout:s,mode:a,anchorX:u,root:l})=&gt;{const i=mb(XI),c=q.useId();let h=!0,f=q.useMemo(()=&gt;(h=!1,{id:c,initial:r,isPresent:t,custom:o,onExitComplete:d=&gt;{i.set(d,!0);for(const v of i.values())if(!v)return;n&amp;&amp;n()},register:d=&gt;(i.set(d,!1),()=&gt;i.delete(d))}),[t,i,n]);return s&amp;&amp;h&amp;&amp;(f={...f}),q.useMemo(()=&gt;{i.forEach((d,v)=&gt;i.set(v,!1))},[t]),q.useEffect(()=&gt;{!t&amp;&amp;!i.size&amp;&amp;n&amp;&amp;n()},[t]),a===&quot;popLayout&quot;&amp;&amp;(e=m.jsx(HI,{isPresent:t,anchorX:u,root:l,children:e})),m.jsx(Vh.Provider,{value:f,children:e})};function XI(){return new Map}function f8(e=!0){const r=q.useContext(Vh);if(r===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=r,s=q.useId();q.useEffect(()=&gt;{if(e)return o(s)},[e]);const a=q.useCallback(()=&gt;e&amp;&amp;n&amp;&amp;n(s),[s,n,e]);return!t&amp;&amp;n?[!1,a]:[!0]}const Xd=e=&gt;e.key||&quot;&quot;;function n3(e){const r=[];return q.Children.forEach(e,t=&gt;{q.isValidElement(t)&amp;&amp;r.push(t)}),r}const GI=({children:e,custom:r,initial:t=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:s=&quot;sync&quot;,propagate:a=!1,anchorX:u=&quot;left&quot;,root:l})=&gt;{const[i,c]=f8(a),h=q.useMemo(()=&gt;n3(e),[e]),f=a&amp;&amp;!i?[]:h.map(Xd),d=q.useRef(!0),v=q.useRef(h),y=mb(()=&gt;new Map),p=q.useRef(new Set),[b,x]=q.useState(h),[_,E]=q.useState(h);VS(()=&gt;{d.current=!1,v.current=h;for(let W=0;W&lt;_.length;W++){const L=Xd(_[W]);f.includes(L)?(y.delete(L),p.current.delete(L)):y.get(L)!==!0&amp;&amp;y.set(L,!1)}},[_,f.length,f.join(&quot;-&quot;)]);const M=[];if(h!==b){let W=[...h];for(let L=0;L&lt;_.length;L++){const V=_[L],H=Xd(V);f.includes(H)||(W.splice(L,0,V),M.push(V))}return s===&quot;wait&quot;&amp;&amp;M.length&amp;&amp;(W=M),E(n3(W)),x(h),null}const{forceRender:D}=q.useContext(hb);return m.jsx(m.Fragment,{children:_.map(W=&gt;{const L=Xd(W),V=a&amp;&amp;!i?!1:h===_||f.includes(L),H=()=&gt;{if(p.current.has(L))return;if(p.current.add(L),y.has(L))y.set(L,!0);else return;let K=!0;y.forEach(z=&gt;{z||(K=!1)}),K&amp;&amp;(D?.(),E(v.current),a&amp;&amp;c?.(),n&amp;&amp;n())};return m.jsx(KI,{isPresent:V,initial:!d.current||t?void 0:!1,custom:r,presenceAffectsLayout:o,mode:s,root:l,onExitComplete:V?void 0:H,anchorX:u,children:W},L)})})},h8=q.createContext({strict:!1}),i3={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 s3=!1;function YI(){if(s3)return;const e={};for(const r in i3)e[r]={isEnabled:t=&gt;i3[r].some(n=&gt;!!t[n])};Uk(e),s3=!0}function m8(){return YI(),RP()}function ZI(e){const r=m8();for(const t in e)r[t]={...r[t],...e[t]};Uk(r)}const QI=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 zf(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;)||QI.has(e)}let p8=e=&gt;!zf(e);function JI(e){typeof e==&quot;function&quot;&amp;&amp;(p8=r=&gt;r.startsWith(&quot;on&quot;)?!zf(r):e(r))}try{JI(require(&quot;@emotion/is-prop-valid&quot;).default)}catch{}function eR(e,r,t){const n={};for(const o in e)o===&quot;values&quot;&amp;&amp;typeof e.values==&quot;object&quot;||(p8(o)||t===!0&amp;&amp;zf(o)||!r&amp;&amp;!zf(o)||e.draggable&amp;&amp;o.startsWith(&quot;onDrag&quot;))&amp;&amp;(n[o]=e[o]);return n}const Hh=q.createContext({});function tR(e,r){if(Wh(e)){const{initial:t,animate:n}=e;return{initial:t===!1||Jc(t)?t:void 0,animate:Jc(n)?n:void 0}}return e.inherit!==!1?r:{}}function rR(e){const{initial:r,animate:t}=tR(e,q.useContext(Hh));return q.useMemo(()=&gt;({initial:r,animate:t}),[a3(r),a3(t)])}function a3(e){return Array.isArray(e)?e.join(&quot; &quot;):e}const Vb=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function g8(e,r,t){for(const n in r)!Mn(r[n])&amp;&amp;!Gk(n,t)&amp;&amp;(e[n]=r[n])}function nR({transformTemplate:e},r){return q.useMemo(()=&gt;{const t=Vb();return zb(t,r,e),Object.assign({},t.vars,t.style)},[r])}function iR(e,r){const t=e.style||{},n={};return g8(n,t,e),Object.assign(n,nR(e,r)),n}function sR(e,r){const t={},n=iR(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 v8=()=&gt;({...Vb(),attrs:{}});function aR(e,r,t,n){const o=q.useMemo(()=&gt;{const s=v8();return Yk(s,r,Qk(n),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[r]);if(e.style){const s={};g8(s,e.style,e),o.style={...s,...o.style}}return o}const oR=[&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 qb(e){return typeof e!=&quot;string&quot;||e.includes(&quot;-&quot;)?!1:!!(oR.indexOf(e)&gt;-1||/[A-Z]/u.test(e))}function lR(e,r,t,{latestValues:n},o,s=!1,a){const l=(a??qb(e)?aR:sR)(r,n,o,e),i=eR(r,typeof e==&quot;string&quot;,s),c=e!==q.Fragment?{...i,...l,ref:t}:{},{children:h}=r,f=q.useMemo(()=&gt;Mn(h)?h.get():h,[h]);return q.createElement(e,{...c,children:f})}function cR({scrapeMotionValuesFromProps:e,createRenderState:r},t,n,o){return{latestValues:uR(t,n,o,e),renderState:r()}}function uR(e,r,t,n){const o={},s=n(e,{});for(const f in s)o[f]=wf(s[f]);let{initial:a,animate:u}=e;const l=Wh(e),i=$k(e);r&amp;&amp;i&amp;&amp;!l&amp;&amp;e.inherit!==!1&amp;&amp;(a===void 0&amp;&amp;(a=r.initial),u===void 0&amp;&amp;(u=r.animate));let c=t?t.initial===!1:!1;c=c||a===!1;const h=c?u:a;if(h&amp;&amp;typeof h!=&quot;boolean&quot;&amp;&amp;!qh(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d&lt;f.length;d++){const v=Pb(e,f[d]);if(v){const{transitionEnd:y,transition:p,...b}=v;for(const x in b){let _=b[x];if(Array.isArray(_)){const E=c?_.length-1:0;_=_[E]}_!==null&amp;&amp;(o[x]=_)}for(const x in y)o[x]=y[x]}}}return o}const y8=e=&gt;(r,t)=&gt;{const n=q.useContext(Hh),o=q.useContext(Vh),s=()=&gt;cR(e,r,n,o);return t?s():mb(s)},dR=y8({scrapeMotionValuesFromProps:$b,createRenderState:Vb}),fR=y8({scrapeMotionValuesFromProps:Jk,createRenderState:v8}),hR=Symbol.for(&quot;motionComponentSymbol&quot;);function mR(e,r,t){const n=q.useRef(t);q.useInsertionEffect(()=&gt;{n.current=t});const o=q.useRef(null);return q.useCallback(s=&gt;{s&amp;&amp;e.onMount?.(s),r&amp;&amp;(s?r.mount(s):r.unmount());const a=n.current;if(typeof a==&quot;function&quot;)if(s){const u=a(s);typeof u==&quot;function&quot;&amp;&amp;(o.current=u)}else o.current?(o.current(),o.current=null):a(s);else a&amp;&amp;(a.current=s)},[r])}const b8=q.createContext({});function Bc(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;current&quot;)}function pR(e,r,t,n,o,s){const{visualElement:a}=q.useContext(Hh),u=q.useContext(h8),l=q.useContext(Vh),i=q.useContext(Ub).reducedMotion,c=q.useRef(null);n=n||u.renderer,!c.current&amp;&amp;n&amp;&amp;(c.current=n(e,{visualState:r,parent:a,props:t,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:i,isSVG:s}));const h=c.current,f=q.useContext(b8);h&amp;&amp;!h.projection&amp;&amp;o&amp;&amp;(h.type===&quot;html&quot;||h.type===&quot;svg&quot;)&amp;&amp;gR(c.current,t,o,f);const d=q.useRef(!1);q.useInsertionEffect(()=&gt;{h&amp;&amp;d.current&amp;&amp;h.update(t,l)});const v=t[Nk],y=q.useRef(!!v&amp;&amp;!window.MotionHandoffIsComplete?.(v)&amp;&amp;window.MotionHasOptimisedAnimation?.(v));return VS(()=&gt;{h&amp;&amp;(d.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&amp;&amp;h.animationState&amp;&amp;h.animationState.animateChanges())}),q.useEffect(()=&gt;{h&amp;&amp;(!y.current&amp;&amp;h.animationState&amp;&amp;h.animationState.animateChanges(),y.current&amp;&amp;(queueMicrotask(()=&gt;{window.MotionHandoffMarkAsComplete?.(v)}),y.current=!1),h.enteringChildren=void 0)}),h}function gR(e,r,t,n){const{layoutId:o,layout:s,drag:a,dragConstraints:u,layoutScroll:l,layoutRoot:i,layoutCrossfade:c}=r;e.projection=new t(e.latestValues,r[&quot;data-framer-portal-id&quot;]?void 0:x8(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!a||u&amp;&amp;Bc(u),visualElement:e,animationType:typeof s==&quot;string&quot;?s:&quot;both&quot;,initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:i})}function x8(e){if(e)return e.options.allowProjection!==!1?e.projection:x8(e.parent)}function O0(e,{forwardMotionProps:r=!1,type:t}={},n,o){n&amp;&amp;ZI(n);const s=t?t===&quot;svg&quot;:qb(e),a=s?fR:dR;function u(i,c){let h;const f={...q.useContext(Ub),...i,layoutId:vR(i)},{isStatic:d}=f,v=rR(i),y=a(i,d);if(!d&amp;&amp;US){yR();const p=bR(f);h=p.MeasureLayout,v.visualElement=pR(e,y,f,o,p.ProjectionNode,s)}return m.jsxs(Hh.Provider,{value:v,children:[h&amp;&amp;v.visualElement?m.jsx(h,{visualElement:v.visualElement,...f}):null,lR(e,i,mR(y,v.visualElement,c),y,d,r,s)]})}u.displayName=`motion.${typeof e==&quot;string&quot;?e:`create(${e.displayName??e.name??&quot;&quot;})`}`;const l=q.forwardRef(u);return l[hR]=e,l}function vR({layoutId:e}){const r=q.useContext(hb).id;return r&amp;&amp;e!==void 0?r+&quot;-&quot;+e:e}function yR(e,r){q.useContext(h8).strict}function bR(e){const r=m8(),{drag:t,layout:n}=r;if(!t&amp;&amp;!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function xR(e,r){if(typeof Proxy&gt;&quot;u&quot;)return O0;const t=new Map,n=(s,a)=&gt;O0(s,a,e,r),o=(s,a)=&gt;n(s,a);return new Proxy(o,{get:(s,a)=&gt;a===&quot;create&quot;?n:(t.has(a)||t.set(a,O0(a,void 0,e,r)),t.get(a))})}const wR=(e,r)=&gt;r.isSVG??qb(e)?new QP(r):new HP(r,{allowProjection:e!==q.Fragment});class _R extends Fa{constructor(r){super(r),r.animationState||(r.animationState=nI(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();qh(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 jR=0;class SR extends Fa{constructor(){super(...arguments),this.id=jR++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===n)return;const o=this.node.animationState.setActive(&quot;exit&quot;,!r);t&amp;&amp;!r&amp;&amp;o.then(()=&gt;{t(this.id)})}mount(){const{register:r,onExitComplete:t}=this.node.presenceContext||{};t&amp;&amp;t(this.id),r&amp;&amp;(this.unmount=r(this.id))}unmount(){}}const kR={animation:{Feature:_R},exit:{Feature:SR}};function Su(e){return{point:{x:e.pageX,y:e.pageY}}}const NR=e=&gt;r=&gt;Lb(r)&amp;&amp;e(r,Su(r));function Hc(e,r,t,n){return eu(e,r,NR(t),n)}const w8=({current:e})=&gt;e?e.ownerDocument.defaultView:null,o3=(e,r)=&gt;Math.abs(e-r);function CR(e,r){const t=o3(e.x,r.x),n=o3(e.y,r.y);return Math.sqrt(t**2+n**2)}const l3=new Set([&quot;auto&quot;,&quot;scroll&quot;]);class _8{constructor(r,t,{transformPagePoint:n,contextWindow:o=window,dragSnapToOrigin:s=!1,distanceThreshold:a=3,element:u}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=d=&gt;{this.handleScroll(d.target)},this.onWindowScroll=()=&gt;{this.handleScroll(window)},this.updatePoint=()=&gt;{if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const d=P0(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,y=CR(d.offset,{x:0,y:0})&gt;=this.distanceThreshold;if(!v&amp;&amp;!y)return;const{point:p}=d,{timestamp:b}=vn;this.history.push({...p,timestamp:b});const{onStart:x,onMove:_}=this.handlers;v||(x&amp;&amp;x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),_&amp;&amp;_(this.lastMoveEvent,d)},this.handlePointerMove=(d,v)=&gt;{this.lastMoveEvent=d,this.lastMoveEventInfo=T0(v,this.transformPagePoint),yr.update(this.updatePoint,!0)},this.handlePointerUp=(d,v)=&gt;{this.end();const{onEnd:y,onSessionEnd:p,resumeAnimation:b}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&amp;&amp;b&amp;&amp;b(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const x=P0(d.type===&quot;pointercancel&quot;?this.lastMoveEventInfo:T0(v,this.transformPagePoint),this.history);this.startEvent&amp;&amp;y&amp;&amp;y(d,x),p&amp;&amp;p(d,x)},!Lb(r))return;this.dragSnapToOrigin=s,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=o||window;const l=Su(r),i=T0(l,this.transformPagePoint),{point:c}=i,{timestamp:h}=vn;this.history=[{...c,timestamp:h}];const{onSessionStart:f}=t;f&amp;&amp;f(r,P0(i,this.history)),this.removeListeners=wu(Hc(this.contextWindow,&quot;pointermove&quot;,this.handlePointerMove),Hc(this.contextWindow,&quot;pointerup&quot;,this.handlePointerUp),Hc(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);(l3.has(n.overflowX)||l3.has(n.overflowY))&amp;&amp;this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener(&quot;scroll&quot;,this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=&gt;{window.removeEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0}),window.removeEventListener(&quot;scroll&quot;,this.onWindowScroll)}}handleScroll(r){const t=this.scrollPositions.get(r);if(!t)return;const n=r===window,o=n?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},s={x:o.x-t.x,y:o.y-t.y};s.x===0&amp;&amp;s.y===0||(n?this.lastMoveEventInfo&amp;&amp;(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length&gt;0&amp;&amp;(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(r,o),yr.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(),Oa(this.updatePoint)}}function T0(e,r){return r?{point:r(e.point)}:e}function c3(e,r){return{x:e.x-r.x,y:e.y-r.y}}function P0({point:e},r){return{point:e,delta:c3(e,j8(r)),offset:c3(e,ER(r)),velocity:AR(r,.1)}}function ER(e){return e[0]}function j8(e){return e[e.length-1]}function AR(e,r){if(e.length&lt;2)return{x:0,y:0};let t=e.length-1,n=null;const o=j8(e);for(;t&gt;=0&amp;&amp;(n=e[t],!(o.timestamp-n.timestamp&gt;zs(r)));)t--;if(!n)return{x:0,y:0};const s=Ci(o.timestamp-n.timestamp);if(s===0)return{x:0,y:0};const a={x:(o.x-n.x)/s,y:(o.y-n.y)/s};return a.x===1/0&amp;&amp;(a.x=0),a.y===1/0&amp;&amp;(a.y=0),a}function MR(e,{min:r,max:t},n){return r!==void 0&amp;&amp;e&lt;r?e=n?Er(r,e,n.min):Math.max(e,r):t!==void 0&amp;&amp;e&gt;t&amp;&amp;(e=n?Er(t,e,n.max):Math.min(e,t)),e}function u3(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 OR(e,{top:r,left:t,bottom:n,right:o}){return{x:u3(e.x,t,o),y:u3(e.y,r,n)}}function d3(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 TR(e,r){return{x:d3(e.x,r.x),y:d3(e.y,r.y)}}function PR(e,r){let t=.5;const n=Ln(e),o=Ln(r);return o&gt;n?t=Yc(r.min,r.max-n,e.min):n&gt;o&amp;&amp;(t=Yc(e.min,e.max-o,r.min)),ys(0,1,t)}function IR(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 Gv=.35;function RR(e=Gv){return e===!1?e=0:e===!0&amp;&amp;(e=Gv),{x:f3(e,&quot;left&quot;,&quot;right&quot;),y:f3(e,&quot;top&quot;,&quot;bottom&quot;)}}function f3(e,r,t){return{min:h3(e,r),max:h3(e,t)}}function h3(e,r){return typeof e==&quot;number&quot;?e:e[r]||0}const DR=new WeakMap;class LR{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=Kr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:o}=this.visualElement;if(o&amp;&amp;o.isPresent===!1)return;const s=h=&gt;{t?(this.stopAnimation(),this.snapToCursor(Su(h).point)):this.pauseAnimation()},a=(h,f)=&gt;{this.stopAnimation();const{drag:d,dragPropagation:v,onDragStart:y}=this.getProps();if(d&amp;&amp;!v&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock=jP(d),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&amp;&amp;(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ki(b=&gt;{let x=this.getAxisMotionValue(b).get()||0;if(gs.test(x)){const{projection:_}=this.visualElement;if(_&amp;&amp;_.layout){const E=_.layout.layoutBox[b];E&amp;&amp;(x=Ln(E)*(parseFloat(x)/100))}}this.originPoint[b]=x}),y&amp;&amp;yr.postRender(()=&gt;y(h,f)),Uv(this.visualElement,&quot;transform&quot;);const{animationState:p}=this.visualElement;p&amp;&amp;p.setActive(&quot;whileDrag&quot;,!0)},u=(h,f)=&gt;{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:d,dragDirectionLock:v,onDirectionLock:y,onDrag:p}=this.getProps();if(!d&amp;&amp;!this.openDragLock)return;const{offset:b}=f;if(v&amp;&amp;this.currentDirection===null){this.currentDirection=FR(b),this.currentDirection!==null&amp;&amp;y&amp;&amp;y(this.currentDirection);return}this.updateAxis(&quot;x&quot;,f.point,b),this.updateAxis(&quot;y&quot;,f.point,b),this.visualElement.render(),p&amp;&amp;p(h,f)},l=(h,f)=&gt;{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},i=()=&gt;ki(h=&gt;this.getAnimationState(h)===&quot;paused&quot;&amp;&amp;this.getAxisMotionValue(h).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new _8(r,{onSessionStart:s,onStart:a,onMove:u,onSessionEnd:l,resumeAnimation:i},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:w8(this.visualElement),element:this.visualElement.current})}stop(r,t){const n=r||this.latestPointerEvent,o=t||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!o||!n)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&amp;&amp;yr.postRender(()=&gt;u(n,o))}cancel(){this.isDragging=!1;const{projection:r,animationState:t}=this.visualElement;r&amp;&amp;(r.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&amp;&amp;this.openDragLock&amp;&amp;(this.openDragLock(),this.openDragLock=null),t&amp;&amp;t.setActive(&quot;whileDrag&quot;,!1)}updateAxis(r,t,n){const{drag:o}=this.getProps();if(!n||!Gd(r,o,this.currentDirection))return;const s=this.getAxisMotionValue(r);let a=this.originPoint[r]+n[r];this.constraints&amp;&amp;this.constraints[r]&amp;&amp;(a=MR(a,this.constraints[r],this.elastic[r])),s.set(a)}resolveConstraints(){const{dragConstraints:r,dragElastic:t}=this.getProps(),n=this.visualElement.projection&amp;&amp;!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;r&amp;&amp;Bc(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&amp;&amp;n?this.constraints=OR(n.layoutBox,r):this.constraints=!1,this.elastic=RR(t),o!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;ki(s=&gt;{this.constraints!==!1&amp;&amp;this.getAxisMotionValue(s)&amp;&amp;(this.constraints[s]=IR(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:t}=this.getProps();if(!r||!Bc(r))return!1;const n=r.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=zP(n,o.root,this.visualElement.getTransformPagePoint());let a=TR(o.layout.layoutBox,s);if(t){const u=t(LP(a));this.hasMutatedConstraints=!!u,u&amp;&amp;(a=qk(u))}return a}startAnimation(r){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},i=ki(c=&gt;{if(!Gd(c,t,this.currentDirection))return;let h=l&amp;&amp;l[c]||{};a&amp;&amp;(h={min:0,max:0});const f=o?200:1e6,d=o?40:1e7,v={type:&quot;inertia&quot;,velocity:n?r[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...s,...h};return this.startAxisValueAnimation(c,v)});return Promise.all(i).then(u)}startAxisValueAnimation(r,t){const n=this.getAxisMotionValue(r);return Uv(this.visualElement,r),n.start(Tb(r,n,0,t,this.visualElement,!1))}stopAnimation(){ki(r=&gt;this.getAxisMotionValue(r).stop())}pauseAnimation(){ki(r=&gt;this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const t=`_drag${r.toUpperCase()}`,n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(r,(n.initial?n.initial[r]:void 0)||0)}snapToCursor(r){ki(t=&gt;{const{drag:n}=this.getProps();if(!Gd(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(t);if(o&amp;&amp;o.layout){const{min:a,max:u}=o.layout.layoutBox[t],l=s.get()||0;s.set(r[t]-Er(a,u,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Bc(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ki(a=&gt;{const u=this.getAxisMotionValue(a);if(u&amp;&amp;this.constraints!==!1){const l=u.get();o[a]=PR({min:l,max:l},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},&quot;&quot;):&quot;none&quot;,n.root&amp;&amp;n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ki(a=&gt;{if(!Gd(a,r,null))return;const u=this.getAxisMotionValue(a),{min:l,max:i}=this.constraints[a];u.set(Er(l,i,o[a]))})}addListeners(){if(!this.visualElement.current)return;DR.set(this.visualElement,this);const r=this.visualElement.current,t=Hc(r,&quot;pointerdown&quot;,l=&gt;{const{drag:i,dragListener:c=!0}=this.getProps();i&amp;&amp;c&amp;&amp;!Fk(l.target)&amp;&amp;this.start(l)}),n=()=&gt;{const{dragConstraints:l}=this.getProps();Bc(l)&amp;&amp;l.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener(&quot;measure&quot;,n);o&amp;&amp;!o.layout&amp;&amp;(o.root&amp;&amp;o.root.updateScroll(),o.updateLayout()),yr.read(n);const a=eu(window,&quot;resize&quot;,()=&gt;this.scalePositionWithinConstraints()),u=o.addEventListener(&quot;didUpdate&quot;,(({delta:l,hasLayoutChanged:i})=&gt;{this.isDragging&amp;&amp;i&amp;&amp;(ki(c=&gt;{const h=this.getAxisMotionValue(c);h&amp;&amp;(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())}));return()=&gt;{a(),t(),s(),u&amp;&amp;u()}}getProps(){const r=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:a=Gv,dragMomentum:u=!0}=r;return{...r,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:u}}}function Gd(e,r,t){return(r===!0||r===e)&amp;&amp;(t===null||t===e)}function FR(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 BR extends Fa{constructor(r){super(r),this.removeGroupControls=Ai,this.removeListeners=Ai,this.controls=new LR(r)}mount(){const{dragControls:r}=this.node.getProps();r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ai}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 m3=e=&gt;(r,t)=&gt;{e&amp;&amp;yr.postRender(()=&gt;e(r,t))};class zR extends Fa{constructor(){super(...arguments),this.removePointerDownListener=Ai}onPointerDown(r){this.session=new _8(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:w8(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:m3(r),onStart:m3(t),onMove:n,onEnd:(s,a)=&gt;{delete this.session,o&amp;&amp;yr.postRender(()=&gt;o(s,a))}}}mount(){this.removePointerDownListener=Hc(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 I0=!1;class $R extends q.Component{componentDidMount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:s}=r;s&amp;&amp;(t.group&amp;&amp;t.group.add(s),n&amp;&amp;n.register&amp;&amp;o&amp;&amp;n.register(s),I0&amp;&amp;s.root.didUpdate(),s.addEventListener(&quot;animationComplete&quot;,()=&gt;{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=&gt;this.safeToRemove()})),_f.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:t,visualElement:n,drag:o,isPresent:s}=this.props,{projection:a}=n;return a&amp;&amp;(a.isPresent=s,I0=!0,o||r.layoutDependency!==t||t===void 0||r.isPresent!==s?a.willUpdate():this.safeToRemove(),r.isPresent!==s&amp;&amp;(s?a.promote():a.relegate()||yr.postRender(()=&gt;{const u=a.getStack();(!u||!u.members.length)&amp;&amp;this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&amp;&amp;(r.root.didUpdate(),Db.postRender(()=&gt;{!r.currentAnimation&amp;&amp;r.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=r;I0=!0,o&amp;&amp;(o.scheduleCheckAfterUnmount(),t&amp;&amp;t.group&amp;&amp;t.group.remove(o),n&amp;&amp;n.deregister&amp;&amp;n.deregister(o))}safeToRemove(){const{safeToRemove:r}=this.props;r&amp;&amp;r()}render(){return null}}function S8(e){const[r,t]=f8(),n=q.useContext(hb);return m.jsx($R,{...e,layoutGroup:n,switchLayoutGroup:q.useContext(b8),isPresent:r,safeToRemove:t})}const UR={pan:{Feature:zR},drag:{Feature:BR,ProjectionNode:d8,MeasureLayout:S8}};function p3(e,r,t){const{props:n}=e;e.animationState&amp;&amp;n.whileHover&amp;&amp;e.animationState.setActive(&quot;whileHover&quot;,t===&quot;Start&quot;);const o=&quot;onHover&quot;+t,s=n[o];s&amp;&amp;yr.postRender(()=&gt;s(r,Su(r)))}class VR extends Fa{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=SP(r,(t,n)=&gt;(p3(this.node,n,&quot;Start&quot;),o=&gt;p3(this.node,o,&quot;End&quot;))))}unmount(){}}class qR extends Fa{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=wu(eu(this.node.current,&quot;focus&quot;,()=&gt;this.onFocus()),eu(this.node.current,&quot;blur&quot;,()=&gt;this.onBlur()))}unmount(){}}function g3(e,r,t){const{props:n}=e;if(e.current instanceof HTMLButtonElement&amp;&amp;e.current.disabled)return;e.animationState&amp;&amp;n.whileTap&amp;&amp;e.animationState.setActive(&quot;whileTap&quot;,t===&quot;Start&quot;);const o=&quot;onTap&quot;+(t===&quot;End&quot;?&quot;&quot;:t),s=n[o];s&amp;&amp;yr.postRender(()=&gt;s(r,Su(r)))}class WR extends Fa{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=CP(r,(t,n)=&gt;(g3(this.node,n,&quot;Start&quot;),(o,{success:s})=&gt;g3(this.node,o,s?&quot;End&quot;:&quot;Cancel&quot;)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Yv=new WeakMap,R0=new WeakMap,HR=e=&gt;{const r=Yv.get(e.target);r&amp;&amp;r(e)},KR=e=&gt;{e.forEach(HR)};function XR({root:e,...r}){const t=e||document;R0.has(t)||R0.set(t,{});const n=R0.get(t),o=JSON.stringify(r);return n[o]||(n[o]=new IntersectionObserver(KR,{root:e,...r})),n[o]}function GR(e,r,t){const n=XR(r);return Yv.set(e,t),n.observe(e),()=&gt;{Yv.delete(e),n.unobserve(e)}}const YR={some:0,all:1};class ZR extends Fa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:t,margin:n,amount:o=&quot;some&quot;,once:s}=r,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof o==&quot;number&quot;?o:YR[o]},u=l=&gt;{const{isIntersecting:i}=l;if(this.isInView===i||(this.isInView=i,s&amp;&amp;!i&amp;&amp;this.hasEnteredView))return;i&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive(&quot;whileInView&quot;,i);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=i?c:h;f&amp;&amp;f(l)};return GR(this.node.current,a,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver&gt;&quot;u&quot;)return;const{props:r,prevProps:t}=this.node;[&quot;amount&quot;,&quot;margin&quot;,&quot;root&quot;].some(QR(r,t))&amp;&amp;this.startObserver()}unmount(){}}function QR({viewport:e={}},{viewport:r={}}={}){return t=&gt;e[t]!==r[t]}const JR={inView:{Feature:ZR},tap:{Feature:WR},focus:{Feature:qR},hover:{Feature:VR}},eD={layout:{ProjectionNode:d8,MeasureLayout:S8}},tD={...kR,...JR,...UR,...eD},v3=xR(tD,wR);const rD=e=&gt;e.replace(/([a-z0-9])([A-Z])/g,&quot;$1-$2&quot;).toLowerCase(),nD=e=&gt;e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,n)=&gt;n?n.toUpperCase():t.toLowerCase()),y3=e=&gt;{const r=nD(e);return r.charAt(0).toUpperCase()+r.slice(1)},k8=(...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(),iD=e=&gt;{for(const r in e)if(r.startsWith(&quot;aria-&quot;)||r===&quot;role&quot;||r===&quot;title&quot;)return!0};var sD={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 aD=q.forwardRef(({color:e=&quot;currentColor&quot;,size:r=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:o=&quot;&quot;,children:s,iconNode:a,...u},l)=&gt;q.createElement(&quot;svg&quot;,{ref:l,...sD,width:r,height:r,stroke:e,strokeWidth:n?Number(t)*24/Number(r):t,className:k8(&quot;lucide&quot;,o),...!s&amp;&amp;!iD(u)&amp;&amp;{&quot;aria-hidden&quot;:&quot;true&quot;},...u},[...a.map(([i,c])=&gt;q.createElement(i,c)),...Array.isArray(s)?s:[s]]));const $t=(e,r)=&gt;{const t=q.forwardRef(({className:n,...o},s)=&gt;q.createElement(aD,{ref:s,iconNode:r,className:k8(`lucide-${rD(y3(e))}`,`lucide-${e}`,n),...o}));return t.displayName=y3(e),t};const oD=[[&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;}]],Zv=$t(&quot;arrow-right&quot;,oD);const lD=[[&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;}]],cD=$t(&quot;calendar-days&quot;,lD);const uD=[[&quot;path&quot;,{d:&quot;M20 6 9 17l-5-5&quot;,key:&quot;1gmf2c&quot;}]],b3=$t(&quot;check&quot;,uD);const dD=[[&quot;path&quot;,{d:&quot;m6 9 6 6 6-6&quot;,key:&quot;qrunsl&quot;}]],fD=$t(&quot;chevron-down&quot;,dD);const hD=[[&quot;path&quot;,{d:&quot;m15 18-6-6 6-6&quot;,key:&quot;1wnfg3&quot;}]],mD=$t(&quot;chevron-left&quot;,hD);const pD=[[&quot;path&quot;,{d:&quot;m9 18 6-6-6-6&quot;,key:&quot;mthhwq&quot;}]],gD=$t(&quot;chevron-right&quot;,pD);const vD=[[&quot;path&quot;,{d:&quot;m18 15-6-6-6 6&quot;,key:&quot;153udz&quot;}]],yD=$t(&quot;chevron-up&quot;,vD);const bD=[[&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;}]],Qv=$t(&quot;circle-alert&quot;,bD);const xD=[[&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;}]],wD=$t(&quot;circle-check-big&quot;,xD);const _D=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;path&quot;,{d:&quot;M8 12h8&quot;,key:&quot;1wcyev&quot;}],[&quot;path&quot;,{d:&quot;M12 8v8&quot;,key:&quot;napkw2&quot;}]],jD=$t(&quot;circle-plus&quot;,_D);const SD=[[&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;}]],x3=$t(&quot;circle-user&quot;,SD);const kD=[[&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;}]],ND=$t(&quot;circle-x&quot;,kD);const CD=[[&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;}]],ED=$t(&quot;credit-card&quot;,CD);const AD=[[&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;}]],Jv=$t(&quot;dollar-sign&quot;,AD);const MD=[[&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;}]],OD=$t(&quot;download&quot;,MD);const TD=[[&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;}]],fo=$t(&quot;file-down&quot;,TD);const PD=[[&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;}]],w3=$t(&quot;file-spreadsheet&quot;,PD);const ID=[[&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;}]],tu=$t(&quot;file-text&quot;,ID);const RD=[[&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;}]],DD=$t(&quot;hand-helping&quot;,RD);const LD=[[&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;}]],Wb=$t(&quot;heart&quot;,LD);const FD=[[&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;}]],ey=$t(&quot;house&quot;,FD);const BD=[[&quot;path&quot;,{d:&quot;M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z&quot;,key:&quot;1s6t7t&quot;}],[&quot;circle&quot;,{cx:&quot;16.5&quot;,cy:&quot;7.5&quot;,r:&quot;.5&quot;,fill:&quot;currentColor&quot;,key:&quot;w0ekpg&quot;}]],zD=$t(&quot;key-round&quot;,BD);const $D=[[&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;}]],_3=$t(&quot;layout-dashboard&quot;,$D);const UD=[[&quot;path&quot;,{d:&quot;M21 12a9 9 0 1 1-6.219-8.56&quot;,key:&quot;13zald&quot;}]],VD=$t(&quot;loader-circle&quot;,UD);const qD=[[&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;}]],WD=$t(&quot;log-out&quot;,qD);const HD=[[&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;}]],ms=$t(&quot;mail&quot;,HD);const KD=[[&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;}]],XD=$t(&quot;map-pin&quot;,KD);const GD=[[&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;}]],j3=$t(&quot;message-square&quot;,GD);const YD=[[&quot;path&quot;,{d:&quot;M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z&quot;,key:&quot;1a8usu&quot;}],[&quot;path&quot;,{d:&quot;m15 5 4 4&quot;,key:&quot;1mk7zo&quot;}]],$f=$t(&quot;pencil&quot;,YD);const ZD=[[&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;}]],zc=$t(&quot;phone&quot;,ZD);const QD=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;M12 5v14&quot;,key:&quot;s699le&quot;}]],ty=$t(&quot;plus&quot;,QD);const JD=[[&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;}]],eL=$t(&quot;receipt&quot;,JD);const tL=[[&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;}]],rL=$t(&quot;refresh-cw&quot;,tL);const nL=[[&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;}]],ry=$t(&quot;settings&quot;,nL);const iL=[[&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;}]],sL=$t(&quot;tags&quot;,iL);const aL=[[&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;}]],ru=$t(&quot;trash-2&quot;,aL);const oL=[[&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;}]],lL=$t(&quot;trending-up&quot;,oL);const cL=[[&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;}]],uL=$t(&quot;triangle-alert&quot;,cL);const dL=[[&quot;path&quot;,{d:&quot;m16 11 2 2 4-4&quot;,key:&quot;9rsbq5&quot;}],[&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;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],fL=$t(&quot;user-check&quot;,dL);const hL=[[&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;}]],Uf=$t(&quot;user-cog&quot;,hL);const mL=[[&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;}]],Vf=$t(&quot;users&quot;,mL);const pL=[[&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;}]],N8=$t(&quot;wallet&quot;,pL);const gL=[[&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;}]],Rr=$t(&quot;x&quot;,gL),D0=&quot;/logoHaggai.avif&quot;,vL=&quot;/seminaireregional.webp&quot;,Ec=[&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;],yL=[{title:&quot;Séminaire Régional Hybride&quot;,dateLocation:&quot;Du 22 au 31 oct : Session en ligne • Du 15 au 19 nov : Présentiel au Burkina Faso&quot;,imageUrl:vL,imageAlt:&quot;Participants au Séminaire Régional Hybride&quot;,buttonLabel:&quot;S&#039;inscrire&quot;}],bL=[{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 C8(...e){return e.filter(Boolean).join(&quot; &quot;)}function S3({children:e,className:r=&quot;&quot;,...t}){return m.jsxs(&quot;a&quot;,{className:C8(&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,m.jsx(Zv,{className:&quot;h-4 w-4&quot;})]})}function xL({children:e,className:r=&quot;&quot;,...t}){return m.jsx(&quot;a&quot;,{className:C8(&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 wL(){const[e,r]=q.useState(0),[t,n]=q.useState(!1);q.useEffect(()=&gt;{const l=setInterval(()=&gt;{r(i=&gt;(i+1)%Ec.length)},5e3);return()=&gt;clearInterval(l)},[]);const o=()=&gt;{r(l=&gt;(l-1+Ec.length)%Ec.length)},s=()=&gt;{r(l=&gt;(l+1)%Ec.length)},a=l=&gt;{l.preventDefault();const i=document.getElementById(&quot;events&quot;);i&amp;&amp;i.scrollIntoView({behavior:&quot;smooth&quot;})},u=l=&gt;{l.preventDefault();const i=document.getElementById(&quot;speakers&quot;);i&amp;&amp;i.scrollIntoView({behavior:&quot;smooth&quot;})};return m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-surface-0 font-sans&quot;,children:[m.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-50 border-b border-ink-500/20 bg-brand-700 shadow-soft&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[m.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:[m.jsx(&quot;img&quot;,{src:D0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),m.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;})]}),m.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:[m.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#events&quot;,onClick:a,children:&quot;Événements&quot;}),m.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#speakers&quot;,onClick:u,children:&quot;Intervenants&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[m.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;}),m.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;}),m.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),m.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;})]}),m.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:m.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:m.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?m.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):m.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),t&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20&quot;,children:[m.jsx(&quot;a&quot;,{href:&quot;#events&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:l=&gt;{n(!1),a(l)},children:&quot;Événements&quot;}),m.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:l=&gt;{n(!1),u(l)},children:&quot;Intervenants&quot;}),m.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;}),m.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;}),m.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),m.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;})]})]}),m.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden text-surface-0&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;absolute inset-0&quot;,children:[m.jsx(GI,{mode:&quot;wait&quot;,children:m.jsx(v3.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(${Ec[e]})`}},e)}),m.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;}),m.jsx(&quot;div&quot;,{className:&quot;absolute -left-40 -top-40 h-96 w-96 rounded-full bg-brand-700/15 blur-3xl&quot;}),m.jsx(&quot;div&quot;,{className:&quot;absolute -right-40 top-10 h-96 w-96 rounded-full bg-brand-700/10 blur-3xl&quot;})]}),m.jsx(&quot;button&quot;,{onClick:o,className:&quot;absolute left-4 sm:left-6 md:left-8 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-all opacity-60 hover:opacity-100&quot;,&quot;aria-label&quot;:&quot;Image précédente&quot;,children:m.jsx(mD,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),m.jsx(&quot;button&quot;,{onClick:s,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:m.jsx(gD,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),m.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:m.jsxs(v3.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:&quot;max-w-4xl text-center&quot;,children:[m.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;}),m.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;}),m.jsx(&quot;div&quot;,{className:&quot;mt-8 sm:mt-10 flex justify-center&quot;,children:m.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;,m.jsx(Zv,{className:&quot;h-4 w-4 sm:h-5 sm:w-5&quot;})]})})]})})]}),m.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:m.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:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 sm:gap-3&quot;,children:[m.jsx(&quot;img&quot;,{src:D0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-7 sm:h-8 md:h-9 w-auto brightness-0 invert&quot;}),m.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;}),m.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:m.jsx(&quot;span&quot;,{className:&quot;text-brand-900 text-[10px] sm:text-xs md:text-sm font-semibold&quot;,children:&quot;26&quot;})})]}),m.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;})]})}),m.jsx(&quot;section&quot;,{className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-4xl&quot;,children:[m.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;,m.jsx(&quot;br&quot;,{}),&quot;Francophone&quot;,m.jsx(&quot;br&quot;,{}),&quot;2026&quot;]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-4 sm:mb-6&quot;,children:[m.jsx(cD,{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;}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-12 sm:mb-16&quot;,children:[m.jsx(XD,{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;}),m.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;})]}),m.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row gap-4 sm:gap-6&quot;,children:m.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;})})]})})}),m.jsx(&quot;section&quot;,{className:&quot;bg-brand-900 text-surface-0&quot;,children:m.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:m.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-3xl text-center&quot;,children:[m.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;}),m.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;}),m.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;})]})})}),m.jsx(&quot;section&quot;,{id:&quot;speakers&quot;,className:&quot;bg-brand-50 py-14 md:py-18 lg:py-24&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4 md:gap-5&quot;,children:bL.slice(0,4).map((l,i)=&gt;m.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center text-center&quot;,children:[m.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:m.jsx(&quot;img&quot;,{src:l.img,alt:l.name,className:&quot;h-full w-full object-cover transition duration-500 hover:scale-[1.05]&quot;,style:{filter:&quot;contrast(1.1) saturate(1.2) brightness(0.95)&quot;},loading:&quot;lazy&quot;})}),m.jsx(&quot;h3&quot;,{className:&quot;text-sm sm:text-base md:text-lg font-body font-semibold text-ink-900 mb-1 leading-tight&quot;,children:l.name}),m.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm font-body font-extralight text-ink-500 leading-relaxed&quot;,children:l.title})]},i))}),m.jsx(&quot;div&quot;,{className:&quot;mt-10 flex justify-center&quot;,children:m.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;,m.jsx(Zv,{className:&quot;h-4 w-4&quot;})]})})]})}),m.jsx(&quot;section&quot;,{id:&quot;events&quot;,className:&quot;bg-surface-0&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10 sm:py-12&quot;,children:m.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;})}),m.jsx(&quot;div&quot;,{className:&quot;space-y-0&quot;,children:yL.map((l,i)=&gt;m.jsx(&quot;div&quot;,{className:&quot;group overflow-hidden&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;relative aspect-video overflow-hidden bg-ink-500 bg-opacity-10&quot;,children:[m.jsx(&quot;img&quot;,{src:l.imageUrl,alt:l.imageAlt,className:&quot;h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] brightness-110&quot;,loading:&quot;lazy&quot;}),m.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;}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;space-y-3 w-full&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium mb-2 drop-shadow-lg&quot;,children:l.title}),m.jsx(&quot;div&quot;,{className:&quot;text-base sm:text-lg md:text-xl font-body font-medium drop-shadow-md space-y-1&quot;,children:l.title===&quot;Séminaire Régional Hybride&quot;?m.jsxs(m.Fragment,{children:[m.jsx(&quot;p&quot;,{children:&quot;Du 22 au 31 oct : Session en ligne&quot;}),m.jsx(&quot;p&quot;,{children:&quot;Du 15 au 19 nov : Présentiel au Burkina Faso&quot;})]}):m.jsx(&quot;p&quot;,{children:l.dateLocation})}),m.jsxs(&quot;div&quot;,{className:&quot;pt-4 flex flex-wrap gap-3&quot;,children:[m.jsx(S3,{href:&quot;/inscription&quot;,className:&quot;px-4 py-2&quot;,children:l.buttonLabel}),l.title===&quot;Séminaire Régional Hybride&quot;&amp;&amp;m.jsx(xL,{href:&quot;/inscription?preselect=recommend&quot;,className:&quot;px-4 py-2&quot;,children:&quot;Recommander&quot;})]})]})})]})},i))})]})}),m.jsx(&quot;section&quot;,{id:&quot;register&quot;,className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;absolute -left-24 -top-24 h-72 w-72 rounded-full bg-brand-700/22 blur-3xl&quot;}),m.jsx(&quot;div&quot;,{className:&quot;absolute -right-24 -bottom-24 h-72 w-72 rounded-full bg-brand-700/16 blur-3xl&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;relative mx-auto max-w-2xl text-center text-surface-0&quot;,children:[m.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;}),m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mt-7 flex flex-col justify-center gap-3 sm:flex-row&quot;,children:[m.jsx(S3,{href:&quot;/inscription&quot;,children:&quot;S&#039;inscrire maintenant&quot;}),m.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;}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-8 grid gap-3 sm:grid-cols-[1fr_auto]&quot;,children:[m.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;}),m.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;})]})]})]})})}),m.jsx(&quot;footer&quot;,{className:&quot;border-t border-ink-500/20 bg-brand-900 text-surface-0&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8 mb-8&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[m.jsx(&quot;img&quot;,{src:D0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto brightness-0 invert&quot;}),m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-surface-0&quot;,children:&quot;Sommet Francophone&quot;})]}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm sm:text-base text-surface-0/70&quot;,children:[m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#events&quot;,onClick:a,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Événements&quot;})}),m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,onClick:u,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Intervenants&quot;})}),m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Inscription&quot;})}),m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.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;,m.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;})]})]})]}),m.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:m.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})]})}function _L(){const[e,r]=q.useState(!1);return m.jsxs(&quot;nav&quot;,{className:&quot;bg-brand-700 shadow-soft sticky top-0 z-50&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[m.jsxs(xr,{to:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[m.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;}),m.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;})]}),m.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:[m.jsx(xr,{to:&quot;/#events&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Événements&quot;}),m.jsx(xr,{to:&quot;/#speakers&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Intervenants&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[m.jsx(xr,{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;}),m.jsx(xr,{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;}),m.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),m.jsx(xr,{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;})]}),m.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:m.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:m.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?m.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):m.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),e&amp;&amp;m.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:[m.jsx(xr,{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;}),m.jsx(xr,{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;}),m.jsx(xr,{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;}),m.jsx(xr,{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;}),m.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),m.jsx(xr,{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 jL(){return m.jsx(&quot;footer&quot;,{className:&quot;bg-brand-900 text-white mt-auto&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-container mx-auto px-4 sm:px-6 lg:px-8 py-12&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[m.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-white&quot;,children:&quot;Sommet Francophone&quot;})]}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Liens rapides&quot;}),m.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm text-gray-300&quot;,children:[m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Événements&quot;})}),m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Inscription&quot;})}),m.jsx(&quot;li&quot;,{children:m.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Contact&quot;}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-gray-300 space-y-2&quot;,children:[m.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Pour toute question :&quot;,&quot; &quot;,m.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;})]}),m.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Support / communication :&quot;,&quot; &quot;,m.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;]}),m.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Questions finance :&quot;,&quot; &quot;,m.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;})]})]})]})]}),m.jsx(&quot;div&quot;,{className:&quot;mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400&quot;,children:m.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})}function ho({children:e}){return m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen flex flex-col bg-brand-50&quot;,children:[m.jsx(_L,{}),m.jsx(&quot;main&quot;,{className:&quot;flex-1 pt-0&quot;,children:e}),m.jsx(jL,{})]})}const SL=&quot;https://api.sommetfrancophone.org/api&quot;;class vr 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 kL{baseUrl;authToken=null;constructor(r=SL){this.baseUrl=r,typeof window&lt;&quot;u&quot;&amp;&amp;(this.authToken=localStorage.getItem(&quot;auth_token&quot;))}setAuthToken(r){this.authToken=r,r&amp;&amp;typeof window&lt;&quot;u&quot;?localStorage.setItem(&quot;auth_token&quot;,r):typeof window&lt;&quot;u&quot;&amp;&amp;localStorage.removeItem(&quot;auth_token&quot;)}getAuthToken(){if(this.authToken)return this.authToken;if(typeof window&lt;&quot;u&quot;){const r=localStorage.getItem(&quot;auth_token&quot;);return r&amp;&amp;(this.authToken=r),r}return null}buildUrl(r,t){let n;if(this.baseUrl.startsWith(&quot;/&quot;)){const o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl,s=r.startsWith(&quot;/&quot;)?r:`/${r}`;n=`${o}${s}`}else{const o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl;r.startsWith(&quot;/&quot;)?n=`${o}${r}`:n=new URL(r,`${o}/`).toString()}if(t&amp;&amp;Object.keys(t).length&gt;0){const o=[];if(Object.entries(t).forEach(([s,a])=&gt;{a!=null&amp;&amp;(Array.isArray(a)?a.forEach(u=&gt;{o.push(`${encodeURIComponent(s)}[]=${encodeURIComponent(String(u))}`)}):o.push(`${encodeURIComponent(s)}=${encodeURIComponent(String(a))}`))}),o.length&gt;0){const s=n.includes(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;;n=`${n}${s}${o.join(&quot;&amp;&quot;)}`}}return n}async request(r,t={}){const{params:n,requireAuth:o=!1,headers:s={},...a}=t,u=this.buildUrl(r,n),l=a.body instanceof FormData,i={Accept:&quot;application/json&quot;};l||(i[&quot;Content-Type&quot;]=&quot;application/json&quot;),typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;(i[&quot;X-Request-ID&quot;]=crypto.randomUUID()),o&amp;&amp;this.authToken&amp;&amp;(i.Authorization=`Bearer ${this.authToken}`);const c={...i,...s};l&amp;&amp;&quot;Content-Type&quot;in c&amp;&amp;delete c[&quot;Content-Type&quot;];try{let h=a.body;const f=Array.isArray(c)?c.find(b=&gt;b[0]===&quot;Content-Type&quot;)?.[1]:c[&quot;Content-Type&quot;];if(h&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;f?.includes(&quot;application/json&quot;))try{JSON.parse(h)}catch{console.error(&quot;Body JSON invalide:&quot;,h)}const d=await fetch(u,{...a,body:h,headers:c});if(d.status===204)return null;const v=d.headers.get(&quot;content-type&quot;),y=v&amp;&amp;v.includes(&quot;application/json&quot;);let p;if(y)try{const b=await d.text();!b||b.trim()===&quot;&quot;?p={}:p=JSON.parse(b)}catch{throw new vr(d.status,{message:&quot;Réponse invalide du serveur&quot;},&quot;Le serveur a retourné une réponse invalide&quot;)}else p={message:await d.text()||`HTTP ${d.status}: ${d.statusText}`};if(!d.ok){const b={message:p.message||`HTTP ${d.status}: ${d.statusText}`,errors:p.errors||void 0,...p.existing_registration_id!==void 0&amp;&amp;{existing_registration_id:p.existing_registration_id},...p.status!==void 0&amp;&amp;{status:p.status}};throw new vr(d.status,b,b.message)}return r.includes(&quot;/auth/login&quot;)||r.includes(&quot;/auth/register&quot;)||r.includes(&quot;/auth/activate&quot;)?p:r.includes(&quot;/auth/me&quot;)?p.user||p:(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;))&amp;&amp;(p.meta!==void 0||p.data!==void 0)?p:p.data!==void 0?p.data:p}catch(h){throw h instanceof vr?h:h instanceof TypeError&amp;&amp;h.message.includes(&quot;fetch&quot;)?new vr(0,{message:&quot;Erreur de connexion au serveur&quot;},&quot;Impossible de se connecter au serveur&quot;):new vr(500,{message:&quot;Une erreur inattendue est survenue&quot;},h instanceof Error?h.message:&quot;Erreur inconnue&quot;)}}async get(r,t){return this.request(r,{...t,method:&quot;GET&quot;})}async getAsBlob(r,t){const n=this.buildUrl(r,t?.params),o={Accept:&quot;text/csv&quot;};t?.requireAuth!==!1&amp;&amp;this.getAuthToken()&amp;&amp;(o.Authorization=`Bearer ${this.getAuthToken()}`);const s=await fetch(n,{method:&quot;GET&quot;,headers:o});if(!s.ok){const a=await s.text();let u;try{u=JSON.parse(a)}catch{u={message:a||`HTTP ${s.status}`}}throw new vr(s.status,u,u.message)}return s.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 Qe=new kL,Hb={async list(e){const r=await Qe.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 Qe.get(`/events/${e}`)},async getPricingPlans(e){return Qe.get(`/events/${e}/plans`)},async getSettings(e){return(await Qe.get(`/events/${e}/settings`)).settings||{}}},Kb={async create(e,r){try{return await Qe.post(`/public/events/${e}/registrations`,r)}catch(t){throw t.status===409,t}},async verify(e){return Qe.get(`/public/registrations/verify/${e}`)},async resendVerification(e){const r={};return typeof e==&quot;number&quot;?r.registration_id=e:r.email=e,Qe.post(&quot;/public/registrations/resend-verification&quot;,r)}},k3={async create(e){return await Qe.post(&quot;/public/recommendations&quot;,e)}},Gi={async login(e){const r=await Qe.post(&quot;/auth/login&quot;,e);return r&amp;&amp;r.token&amp;&amp;Qe.setAuthToken(r.token),r},async register(e){const r=await Qe.post(&quot;/auth/register&quot;,e);return r.token&amp;&amp;Qe.setAuthToken(r.token),r},async logout(){await Qe.post(&quot;/auth/logout&quot;,void 0,{requireAuth:!0}),Qe.setAuthToken(null)},async me(){return Qe.get(&quot;/auth/me&quot;,{requireAuth:!0})},async checkActivation(e){return Qe.get(&quot;/auth/activate/check&quot;,{params:{token:e.trim()}})},async activate(e){const r=await Qe.post(&quot;/auth/activate&quot;,e);return r?.token&amp;&amp;Qe.setAuthToken(r.token),r},isAuthenticated(){return Qe.getAuthToken()!==null}},zl={async list(e={}){const r={};return e.event_id&amp;&amp;(r.event_id=e.event_id),e.event_type&amp;&amp;(r.event_type=e.event_type),e.status&amp;&amp;(Array.isArray(e.status)?r.status=e.status:r.status=[e.status]),e.q&amp;&amp;(r.q=e.q),e.created_from&amp;&amp;(r.created_from=e.created_from),e.created_to&amp;&amp;(r.created_to=e.created_to),e.page&amp;&amp;(r.page=e.page),e.per_page&amp;&amp;(r.per_page=e.per_page),Qe.get(&quot;/admin/registrations&quot;,{params:r,requireAuth:!0})},async get(e){return Qe.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),Qe.get(&quot;/admin/registrations/stats&quot;,{params:r,requireAuth:!0})},async updateStatus(e,r){return Qe.patch(`/admin/registrations/${e}/status`,r,{requireAuth:!0})},async update(e,r){return Qe.put(`/admin/registrations/${e}`,r,{requireAuth:!0})},async delete(e){return Qe.delete(`/admin/registrations/${e}`,{requireAuth:!0})}},nu={async list(e={}){return await Qe.get(&quot;/admin/recommendations&quot;,{params:e,requireAuth:!0})},async show(e){return await Qe.get(`/admin/recommendations/${e}`,{requireAuth:!0})},async updateStatus(e,r){return await Qe.patch(`/admin/recommendations/${e}/status`,r,{requireAuth:!0})},async sendEmail(e,r){return await Qe.post(`/admin/recommendations/${e}/send-email`,r,{requireAuth:!0})},async delete(e){await Qe.delete(`/admin/recommendations/${e}`,{requireAuth:!0})}},E8={async changePassword(e){return Qe.post(&quot;/account/change-password&quot;,e,{requireAuth:!0})}},ny=[&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;],jf=[...ny,&quot;participant&quot;,&quot;guest&quot;],NL=jf,iy={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;},CL={COMMISSION_FINANCE_SOMMET:iy.COMMISSION_FINANCE,COMMISSION_FINANCE_SEMINAIRE:&quot;Commission Finance Séminaire&quot;,COMMISSION_ADMINISTRATION_SOMMET:iy.COMMISSION_ADMINISTRATION,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;Commission Administration Séminaire&quot;};function qf(e){return iy[e]??CL[e]??e}const EL={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 N3(e){return EL[e]??e}const Pa={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),Qe.get(&quot;/admin/users&quot;,{params:r,requireAuth:!0})},async get(e){return Qe.get(`/admin/users/${e}`,{requireAuth:!0})},async create(e){return Qe.post(&quot;/admin/users&quot;,e,{requireAuth:!0})},async update(e,r){return Qe.put(`/admin/users/${e}`,r,{requireAuth:!0})},async delete(e){return Qe.delete(`/admin/users/${e}`,{requireAuth:!0})},async setDeactivated(e,r){return Qe.patch(`/admin/users/${e}/deactivated`,{deactivated:r},{requireAuth:!0})},async sendActivation(e){return Qe.post(`/admin/users/${e}/send-activation`,void 0,{requireAuth:!0})},async resetPassword(e,r){return Qe.post(`/admin/users/${e}/reset-password`,r,{requireAuth:!0})}},L0=&quot;https://api.sommetfrancophone.org/api&quot;;async function AL(){const e=await Qe.get(&quot;/registrations/me&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data??[]}async function ML(e,r){const{amount:t,method:n,paid_at:o,installment_index:s,reference:a,notes:u,proof:l}=r;if(l){const c=new FormData;return c.append(&quot;amount&quot;,String(t)),c.append(&quot;method&quot;,n),c.append(&quot;paid_at&quot;,o),s!==void 0&amp;&amp;c.append(&quot;installment_index&quot;,String(s)),a?.trim()&amp;&amp;c.append(&quot;reference&quot;,a.trim()),u?.trim()&amp;&amp;c.append(&quot;notes&quot;,u.trim()),c.append(&quot;proof&quot;,l),Qe.postForm(`/registrations/${e}/payments`,c,{requireAuth:!0})}const i={amount:t,method:n,paid_at:o};return s!==void 0&amp;&amp;(i.installment_index=s),a?.trim()&amp;&amp;(i.reference=a.trim()),u?.trim()&amp;&amp;(i.notes=u.trim()),Qe.post(`/registrations/${e}/payments`,i,{requireAuth:!0})}async function OL(e,r){const n=`${L0.endsWith(&quot;/&quot;)?L0.slice(0,-1):L0}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,s=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!s.ok){const l=await s.json().catch(()=&gt;({message:s.statusText}));throw{status:s.status,data:l}}const a=await s.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}const Aa={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),Qe.get(&quot;/admin/treasury-accounts&quot;,{params:r,requireAuth:!0})},async create(e){return Qe.post(&quot;/admin/treasury-accounts&quot;,e,{requireAuth:!0})},async update(e,r){return Qe.put(`/admin/treasury-accounts/${e}`,r,{requireAuth:!0})},async delete(e){return Qe.delete(`/admin/treasury-accounts/${e}`,{requireAuth:!0})}},iu={async list(e={}){const r={};e.event_type&amp;&amp;(r.event_type=e.event_type);const t=await Qe.get(&quot;/admin/budget-categories&quot;,{params:r,requireAuth:!0});return Array.isArray(t)?t:t?.data??[]},async create(e){const r=await Qe.post(&quot;/admin/budget-categories&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Qe.put(`/admin/budget-categories/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Qe.delete(`/admin/budget-categories/${e}`,{requireAuth:!0})}},sy={list(e={}){return Qe.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 Qe.getAsBlob(&quot;/admin/audit-logs/export&quot;,{params:r,requireAuth:!0}),n=URL.createObjectURL(t),o=document.createElement(&quot;a&quot;);o.href=n,o.download=`audit-logs-${new Date().toISOString().slice(0,10)}.csv`,o.click(),URL.revokeObjectURL(n)},async purge(e){return await Qe.post(&quot;/admin/audit-logs/purge&quot;,{before:e},{requireAuth:!0})}},ao={async list(e){const r=await Qe.get(`/finance/events/${e}/budget-lines`,{requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e,r){const t=await Qe.post(`/finance/events/${e}/budget-lines`,r,{requireAuth:!0});return t?.data??t},async update(e,r){const t=await Qe.put(`/finance/budget-lines/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Qe.delete(`/finance/budget-lines/${e}`,{requireAuth:!0})},async moveUp(e){await Qe.post(`/finance/budget-lines/${e}/move-up`,{},{requireAuth:!0})},async moveDown(e){await Qe.post(`/finance/budget-lines/${e}/move-down`,{},{requireAuth:!0})}},F0={async list(e){const r=await Qe.get(&quot;/finance/expenses&quot;,{params:{event_id:e},requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e){const r=await Qe.post(&quot;/finance/expenses&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Qe.put(`/finance/expenses/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Qe.delete(`/finance/expenses/${e}`,{requireAuth:!0})}},TL={async storePublic(e){return Qe.post(&quot;/public/donations&quot;,e,{requireAuth:!1})},async store(e){return Qe.post(&quot;/donations&quot;,e,{requireAuth:!0})}};function Kh(e){const[r,t]=q.useState([]),[n,o]=q.useState(!0),[s,a]=q.useState(null),u=async()=&gt;{o(!0),a(null);try{const l=await Hb.list(e);t(l)}catch(l){a(l)}finally{o(!1)}};return q.useEffect(()=&gt;{u()},[e?.mode,e?.type]),{events:r,loading:n,error:s,refetch:u}}function A8(e){const[r,t]=q.useState([]),[n,o]=q.useState(!0),[s,a]=q.useState(null),u=async()=&gt;{if(!e){o(!1);return}o(!0),a(null);try{const l=await Hb.getPricingPlans(e);t(l)}catch(l){a(l)}finally{o(!1)}};return q.useEffect(()=&gt;{u()},[e]),{plans:r,loading:n,error:s,refetch:u}}function PL(e={},r=!0){const[t,n]=q.useState(null),[o,s]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){s(!1);return}s(!0),u(null);try{const i=await zl.list(e);n(i)}catch(i){u(i)}finally{s(!1)}},[e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page,r]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function IL(e={},r=!0){const[t,n]=q.useState(null),[o,s]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){s(!1);return}s(!0),u(null);try{const i=await zl.getStats(e);n(i)}catch(i){u(i)}finally{s(!1)}},[e.event_id,e.event_type,e.created_from,e.created_to,r]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function RL(e={},r=!0){const[t,n]=q.useState(null),[o,s]=q.useState(r),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){s(!1);return}s(!0),u(null);try{const i=await nu.list(e);n(i)}catch(i){i instanceof vr?u(i):u(new vr(500,{message:&quot;Une erreur inattendue est survenue&quot;},&quot;Erreur inconnue&quot;)),n(null)}finally{s(!1)}},[r,e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function DL(e={},r=!0){const[t,n]=q.useState(null),[o,s]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){s(!1);return}s(!0),u(null);try{const i=await Pa.list(e);n(i)}catch(i){u(i)}finally{s(!1)}},[e.page,e.per_page,e.role,e.q,r]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function LL(e,r){const[t,n]=q.useState(null),[o,s]=q.useState(!1),[a,u]=q.useState(null),l=q.useCallback(()=&gt;{s(!0),u(null),sy.list(e).then(n).catch(i=&gt;u(i?.data?.message??&quot;Erreur lors du chargement du journal d&#039;audit.&quot;)).finally(()=&gt;s(!1))},[r,JSON.stringify(e)]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}const FL=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 BL(e){return typeof e==&quot;string&quot;?e:e.name}function zL(e){return typeof e==&quot;string&quot;?e:e.name}function Ss(){const[e,r]=q.useState(null),[t,n]=q.useState(!0),[o,s]=q.useState(null),a=async()=&gt;{if(!Gi.isAuthenticated())return r(null),n(!1),null;n(!0),s(null);try{const v=await Gi.me();return r(v),v}catch(v){return s(v),r(null),null}finally{n(!1)}};q.useEffect(()=&gt;{a()},[]),q.useEffect(()=&gt;{const v=()=&gt;{Gi.isAuthenticated()?a():(r(null),n(!1))};window.addEventListener(&quot;storage&quot;,v);const y=setInterval(()=&gt;{!Gi.isAuthenticated()&amp;&amp;e&amp;&amp;(r(null),n(!1))},1e3);return()=&gt;{window.removeEventListener(&quot;storage&quot;,v),clearInterval(y)}},[e]);const u=q.useMemo(()=&gt;(e?.roles??[]).map(BL),[e?.roles]),l=q.useMemo(()=&gt;(e?.permissions??[]).map(zL),[e?.permissions]),i=q.useMemo(()=&gt;u.some(v=&gt;FL.has(v)),[u]),c=q.useMemo(()=&gt;u.includes(&quot;participant&quot;)&amp;&amp;!i,[u,i]),h=q.useMemo(()=&gt;v=&gt;u.includes(&quot;SUPER_ADMIN&quot;)?!0:l.includes(v),[u,l]),f=i,d=h(&quot;payments.read&quot;)||h(&quot;batches.read&quot;);return{user:e,loading:t,error:o,isAuthenticated:!!e,isAdmin:f,isTreasurer:d,roles:u,permissions:l,canAccessAdmin:i,isParticipant:c,can:h,refetch:a}}const Fe=q.forwardRef(function({variant:r=&quot;primary&quot;,children:t,className:n=&quot;&quot;,...o},s){const a=&quot;px-6 py-3 rounded-none font-medium transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed uppercase tracking-wider border-2&quot;,u={primary:&quot;bg-brand-700 text-white border-2 border-brand-900 hover:bg-brand-900 font-semibold&quot;,secondary:&quot;border-white bg-transparent text-surface-0 hover:bg-white/10&quot;,outline:&quot;border-2 border-brand-900 text-brand-900 bg-transparent hover:bg-brand-900 hover:text-surface-0&quot;,ghost:&quot;border-transparent text-ink-900 hover:bg-brand-50&quot;};return m.jsx(&quot;button&quot;,{ref:s,className:`${a} ${u[r]} ${n}`,...o,children:t})}),C3=&quot;sommet-haggai-franco-2026&quot;,B0=&quot;seminaire-regional-hybride-2026&quot;,$L=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;}},Yd=[{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)),E3=[{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;}],A3=[{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;}];function UL({preselectedEvents:e,onSuccess:r,onConflict:t,onError:n}){const o=()=&gt;d.selectedEvents.length===0?1:d.selectedEvents.length===1?2:d.selectedEvents.length===2?3:d.selectedEvents.length===3?4:1,[s,a]=q.useState(1),[u,l]=q.useState(!1),[i,c]=q.useState({}),[h,f]=q.useState(!1);q.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[s]);const[d,v]=q.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;,is_haggai_leader:!1,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;&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;,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_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:[],seminar_engagements_autre:&quot;&quot;});q.useEffect(()=&gt;{f(d.package_code===&quot;A&quot;)},[d.package_code]);const y=d.selectedEvents.includes(&quot;summit&quot;)?C3:null,{plans:p,loading:b}=A8(y),x=35e4,_=535,E=()=&gt;d.payment_method_selected===&quot;card_visa&quot;?`${_.toLocaleString(&quot;fr-FR&quot;)} €`:`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`,M=()=&gt;{if(!d.package_code||!p.length)return null;const te=p.find(ae=&gt;ae.code===d.package_code);return te?d.payment_method_selected===&quot;card_visa&quot;?te.price_eur:te.price_xof:null},D=(te,ae)=&gt;ae===&quot;EUR&quot;?`${te.toLocaleString(&quot;fr-FR&quot;)} €`:`${te.toLocaleString(&quot;fr-FR&quot;)} FCFA`,W=()=&gt;{if(!(d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.seminar_want_to_participate===&quot;oui&quot;))return null;const ae=M();if(ae===null)return null;const ce=d.payment_method_selected===&quot;card_visa&quot;?&quot;EUR&quot;:&quot;XOF&quot;,se=ae+(ce===&quot;EUR&quot;?_:x);return{total:se,currency:ce,formatted:D(se,ce)}},L=()=&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;}],V=te=&gt;{for(const se of te){if(!se)continue;const[de,ie]=se.split(&quot;-&quot;).map(Number);if(ie&lt;2||ie&gt;8||de&gt;2026||de===2026&amp;&amp;ie&gt;9)return!1}return!0},H=te=&gt;{const ae=[...d.installment_months];te===1?z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;]):te===2?z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;,ae[1]||&quot;&quot;]):z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;,ae[1]||&quot;&quot;,ae[2]||&quot;&quot;]),z(&quot;installment_count&quot;,te)},K=(te,ae)=&gt;{const ce=[...d.installment_months];ce[te]=ae,z(&quot;installment_months&quot;,ce)},z=(te,ae)=&gt;{v(ce=&gt;({...ce,[te]:ae})),i[te]&amp;&amp;c(ce=&gt;{const he={...ce};return delete he[te],he})},O=te=&gt;{v(ae=&gt;{const ce=ae.seminar_domaines_etude||[],he=ce.includes(te)?ce.filter(se=&gt;se!==te):[...ce,te];return{...ae,seminar_domaines_etude:he}}),c(ae=&gt;{const ce={...ae};return delete ce.seminar_domaines_etude,delete ce.seminar_domaine_etude_autre,ce})},I=te=&gt;{v(ae=&gt;{const ce=ae.seminar_engagements||[],he=ce.includes(te)?ce.filter(se=&gt;se!==te):[...ce,te];return{...ae,seminar_engagements:he}}),c(ae=&gt;{const ce={...ae};return delete ce.seminar_engagements,delete ce.seminar_engagements_autre,ce})},C=te=&gt;{const ae=Yd.find(ce=&gt;ce.name===te);if(z(&quot;country&quot;,te),ae&amp;&amp;ae.dialCode!==&quot;+&quot;){const ce=d.phone.trim(),he=ae.dialCode+&quot; &quot;;if(!ce||ce===&quot;&quot;){z(&quot;phone&quot;,he);return}const se=Yd.find(de=&gt;de.dialCode!==&quot;+&quot;&amp;&amp;(ce.startsWith(de.dialCode)||ce.startsWith(de.dialCode+&quot; &quot;)));if(se){let de=ce;de.startsWith(se.dialCode+&quot; &quot;)?de=de.substring(se.dialCode.length+1):de.startsWith(se.dialCode)&amp;&amp;(de=de.substring(se.dialCode.length)),de=de.trim(),z(&quot;phone&quot;,he+de)}else if(!ce.startsWith(&quot;+&quot;))z(&quot;phone&quot;,he+ce);else if(ce.match(/^\+\s*(\d+)/)){const ie=ce.replace(/^\+\s*/,&quot;&quot;).trim();z(&quot;phone&quot;,he+ie)}else z(&quot;phone&quot;,he)}},j=te=&gt;{const ae=te.trim(),ce=Yd.find(he=&gt;he.name===d.country);if(ce&amp;&amp;ce.dialCode!==&quot;+&quot;&amp;&amp;ae.startsWith(ce.dialCode)&amp;&amp;ae.length&gt;ce.dialCode.length){const he=ae.substring(ce.dialCode.length);if(he&amp;&amp;!he.startsWith(&quot; &quot;)){z(&quot;phone&quot;,ce.dialCode+&quot; &quot;+he);return}}z(&quot;phone&quot;,te)},k=te=&gt;{v(ae=&gt;({...ae,selectedEvents:[te]})),i.selectedEvents&amp;&amp;c(ae=&gt;{const ce={...ae};return delete ce.selectedEvents,ce})},S=()=&gt;d.selectedEvents.length===0?(c({selectedEvents:[&quot;Veuillez choisir une option&quot;]}),!1):!0,N=()=&gt;{const te={};return d.first_name.trim()||(te.first_name=[&quot;Le prénom est requis&quot;]),d.last_name.trim()||(te.last_name=[&quot;Le nom est requis&quot;]),d.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email)||(te.email=[&quot;Format d&#039;email invalide&quot;]):te.email=[&quot;L&#039;email est requis&quot;],d.phone.trim()||(te.phone=[&quot;Le téléphone est requis&quot;]),d.country.trim()||(te.country=[&quot;Le pays est requis&quot;]),c(te),Object.keys(te).length===0},T=()=&gt;{const te={};return d.package_code||(te.package_code=[&quot;Veuillez sélectionner une formule pour le Sommet&quot;]),d.package_code===&quot;A&quot;&amp;&amp;!d.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;]),d.package_code===&quot;D&quot;&amp;&amp;!d.spouse_fullname.trim()&amp;&amp;(te.spouse_fullname=[&quot;Le nom du conjoint est requis pour la formule D&quot;]),c(te),Object.keys(te).length===0},R=()=&gt;{const te={},ae=d.seminar_want_to_participate===&quot;oui&quot;;if(d.seminar_want_to_participate||(te.seminar_want_to_participate=[&quot;Veuillez indiquer si vous souhaitez participer au Séminaire&quot;]),ae){if(d.seminar_church_organization.trim()||(te.seminar_church_organization=[&quot;L&#039;église ou organisation est requise&quot;]),d.seminar_role_ministry.trim()||(te.seminar_role_ministry=[&quot;Le rôle dans le ministère est requis&quot;]),d.seminar_marital_status||(te.seminar_marital_status=[&quot;La situation matrimoniale est requise&quot;]),!d.seminar_age?.trim())te.seminar_age=[&quot;L&#039;âge est requis&quot;];else{const ce=parseInt(d.seminar_age,10);(isNaN(ce)||ce&lt;1||ce&gt;120)&amp;&amp;(te.seminar_age=[&quot;L&#039;âge doit être entre 1 et 120&quot;])}d.seminar_gender||(te.seminar_gender=[&quot;Le genre est requis&quot;]),d.seminar_question_or_concern.trim()||(te.seminar_question_or_concern=[&quot;La question ou préoccupation est requise&quot;]),d.seminar_date_naissance?.trim()||(te.seminar_date_naissance=[&quot;La date de naissance est requise&quot;]),d.seminar_contact_urgence_nom_lien.trim()||(te.seminar_contact_urgence_nom_lien=[&quot;Le contact d&#039;urgence (nom et lien) est requis&quot;]),d.seminar_niveau_etudes||(te.seminar_niveau_etudes=[&quot;Le niveau d&#039;études est requis&quot;]),!d.seminar_domaines_etude?.length&amp;&amp;!d.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;]),d.seminar_niveau_francais||(te.seminar_niveau_francais=[&quot;Le niveau de français est requis&quot;]),d.seminar_besoin_lettre_absence||(te.seminar_besoin_lettre_absence=[&quot;Indiquez si vous avez besoin d&#039;une lettre d&#039;absence&quot;]),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;!d.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;]),d.seminar_sante_details?.trim()||(te.seminar_sante_details=[&quot;Les informations de santé sont requises (indiquez « Aucun » si applicable)&quot;]),d.seminar_regime_sans_sel||(te.seminar_regime_sans_sel=[&quot;Indiquez si vous suivez un régime sans sel&quot;]),d.seminar_confession_religieuse||(te.seminar_confession_religieuse=[&quot;La confession religieuse est requise&quot;]),d.seminar_fardeau_transformation?.trim()||(te.seminar_fardeau_transformation=[&quot;Le fardeau de transformation est requis&quot;]),d.seminar_recommande_par?.trim()||(te.seminar_recommande_par=[&quot;Indiquez par qui vous êtes recommandé(e)&quot;]),!d.seminar_engagements?.length&amp;&amp;!d.seminar_engagements_autre?.trim()&amp;&amp;(te.seminar_engagements=[&quot;Sélectionnez au moins un engagement ou précisez dans « Autre »&quot;])}return c(te),Object.keys(te).length===0},B=()=&gt;{const te={};for(let ce=0;ce&lt;d.installment_count;ce++)(!d.installment_months[ce]||!d.installment_months[ce].trim())&amp;&amp;(te[`installment_month_${ce}`]=[`L&#039;échéance ${ce+1} est requise`]);const ae=d.installment_months.filter(ce=&gt;ce&amp;&amp;ce.trim());return ae.length&gt;0&amp;&amp;!V(ae)&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;]),c(te),Object.keys(te).length===0},Y=()=&gt;!(!d.first_name.trim()||!d.last_name.trim()||!d.email.trim()||!d.phone.trim()||!d.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email)||!d.recommended_first_name.trim()||!d.recommended_last_name.trim()||!d.recommended_profession.trim()||!d.recommended_residence_country.trim()||!d.recommended_phone_whatsapp.trim()||!d.recommended_email.trim()||!d.recommended_gender||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.recommended_email)),Z=()=&gt;{if(!d.first_name.trim()||!d.last_name.trim()||!d.email.trim()||!d.phone.trim()||!d.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email))return!1;const te=d.selectedEvents.includes(&quot;summit&quot;);return!(te&amp;&amp;!d.package_code||te&amp;&amp;d.package_code===&quot;A&quot;&amp;&amp;!d.ouaga_resident_confirmed||te&amp;&amp;d.package_code===&quot;D&quot;&amp;&amp;!d.spouse_fullname.trim())},ne=()=&gt;{const te={};return d.recommended_first_name.trim()||(te.recommended_first_name=[&quot;Le prénom de la personne recommandée est requis&quot;]),d.recommended_last_name.trim()||(te.recommended_last_name=[&quot;Le nom de la personne recommandée est requis&quot;]),d.recommended_profession.trim()||(te.recommended_profession=[&quot;La profession est requise&quot;]),d.recommended_residence_country.trim()||(te.recommended_residence_country=[&quot;Le pays de résidence est requis&quot;]),d.recommended_phone_whatsapp.trim()||(te.recommended_phone_whatsapp=[&quot;Le téléphone WhatsApp est requis&quot;]),d.recommended_email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.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;],d.recommended_gender||(te.recommended_gender=[&quot;Le genre de la personne recommandée est requis&quot;]),c(te),Object.keys(te).length===0},U=()=&gt;{S()&amp;&amp;a(2)},ee=()=&gt;{const te=o();if(!N())return;const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),he=d.selectedEvents.includes(&quot;recommend&quot;),se=he&amp;&amp;!ae&amp;&amp;!ce?!0:B();te===4?T()&amp;&amp;se&amp;&amp;a(3):te===3?ae&amp;&amp;ce||ae&amp;&amp;he?T()&amp;&amp;se&amp;&amp;a(3):ce&amp;&amp;he&amp;&amp;R()&amp;&amp;se&amp;&amp;a(3):te===2&amp;&amp;(ae?T()&amp;&amp;se&amp;&amp;re():ce?R()&amp;&amp;se&amp;&amp;re():he&amp;&amp;ne()&amp;&amp;re())},F=()=&gt;{a(1)},P=()=&gt;{a(2)},X=()=&gt;{const te=o();if(!N())return;const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),he=d.selectedEvents.includes(&quot;recommend&quot;);te===4?R()&amp;&amp;a(4):te===3&amp;&amp;(ae&amp;&amp;ce?T()&amp;&amp;R()&amp;&amp;re():ae&amp;&amp;he?T()&amp;&amp;ne()&amp;&amp;re():ce&amp;&amp;he&amp;&amp;ne()&amp;&amp;re())},re=async te=&gt;{const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),he=d.selectedEvents.includes(&quot;recommend&quot;),se=he&amp;&amp;d.selectedEvents.length===1;if(N()&amp;&amp;!(ae&amp;&amp;!T())&amp;&amp;!(ce&amp;&amp;!R())&amp;&amp;!(se&amp;&amp;!ne())&amp;&amp;!(!se&amp;&amp;!B())){l(!0),c({});try{const de=[],ie=[],me=[],ve=[];if(se)try{const ge={website:&quot;&quot;,event:B0,recommender_first_name:d.first_name.trim(),recommender_last_name:d.last_name.trim(),recommender_email:d.email.trim().toLowerCase(),recommender_phone:d.phone.trim(),recommender_country:d.country.trim()||void 0,recommended_full_name:[d.recommended_first_name.trim(),d.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:d.recommended_profession.trim(),recommended_residence_country:d.recommended_residence_country.trim(),recommended_phone_whatsapp:d.recommended_phone_whatsapp.trim(),recommended_email:d.recommended_email.trim()?d.recommended_email.trim().toLowerCase():void 0,recommended_gender:d.recommended_gender,...d.recommended_contacted_before===&quot;oui&quot;||d.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:d.recommended_contacted_before}:{}},le=await k3.create(ge);ie.push(le.recommendation_id),r&amp;&amp;r({id:le.recommendation_id,type:&quot;recommendation&quot;}),l(!1);return}catch(ge){if(ge instanceof vr)if(ge.status===422){const le=ge.data.errors||{};c(le),me.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else me.push(`Erreur lors de la création de la recommandation: ${ge.data.message||&quot;Une erreur est survenue.&quot;}`);else me.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;);me.length&gt;0&amp;&amp;n&amp;&amp;n(me.join(&quot; &quot;)),l(!1);return}for(const ge of d.selectedEvents){if(ge===&quot;recommend&quot;)continue;const le=ge===&quot;summit&quot;?C3:B0;let _e=0;if(ge===&quot;summit&quot;){if(!d.package_code){me.push(&quot;Veuillez sélectionner une formule pour le Sommet&quot;);continue}if(b){me.push(&quot;Chargement des formules du Sommet en cours...&quot;);continue}if(p.length===0){me.push(&quot;Aucune formule disponible pour le Sommet. Veuillez réessayer.&quot;);continue}const Oe=p.find(Te=&gt;Te.code===d.package_code);if(!Oe){me.push(&quot;La formule sélectionnée n&#039;existe pas pour le Sommet&quot;);continue}_e=Oe.id}else ge===&quot;seminar&quot;&amp;&amp;(_e=0);const Se={website:&quot;&quot;,...ge===&quot;summit&quot;&amp;&amp;{pricing_plan_id:_e},first_name:d.first_name.trim(),last_name:d.last_name.trim(),email:d.email.trim().toLowerCase(),phone:d.phone.trim(),country:d.country.trim(),city:d.city.trim()||void 0,organization:d.organization.trim()||void 0,position:d.position.trim()||void 0,nationality:d.nationality.trim()||void 0,is_haggai_leader:d.is_haggai_leader,haggai_id:d.hle_vhle_number.trim()||void 0,payment_method_selected:d.payment_method_selected};if(d.installment_months.some(Oe=&gt;Oe&amp;&amp;Oe.trim())&amp;&amp;(Se.installment_config={method:d.payment_method_selected,number_of_installments:d.installment_count,installments:d.installment_months.filter(Oe=&gt;Oe&amp;&amp;Oe.trim()).map(Oe=&gt;({month:Oe.trim()}))}),ge===&quot;summit&quot;&amp;&amp;(Se.ouaga_resident_confirmed=d.ouaga_resident_confirmed||!1,d.package_code===&quot;D&quot;&amp;&amp;d.spouse_fullname.trim()&amp;&amp;(Se.spouse_fullname=d.spouse_fullname.trim()),d.package_code===&quot;D&quot;&amp;&amp;d.spouse_email?.trim()&amp;&amp;(Se.spouse_email=d.spouse_email.trim().toLowerCase()),d.package_code===&quot;D&quot;&amp;&amp;d.spouse_haggai_id?.trim()&amp;&amp;(Se.spouse_haggai_id=d.spouse_haggai_id.trim())),ge===&quot;seminar&quot;){let Oe=&quot;participate&quot;;d.selectedEvents.includes(&quot;seminar&quot;)||(Oe=&quot;na&quot;),Se.seminar_intent=Oe,Se.seminar_want_to_participate=d.seminar_want_to_participate&amp;&amp;(d.seminar_want_to_participate===&quot;oui&quot;||d.seminar_want_to_participate===&quot;non&quot;)?d.seminar_want_to_participate:&quot;non&quot;,Se.seminar_marital_status=d.seminar_marital_status&amp;&amp;(d.seminar_marital_status===&quot;marie&quot;||d.seminar_marital_status===&quot;non_marie&quot;)?d.seminar_marital_status:&quot;non_marie&quot;;const Te=d.seminar_age?String(d.seminar_age).trim():&quot;&quot;,Ie=Te?parseInt(Te,10):25;Se.seminar_age=isNaN(Ie)||Ie&lt;1?25:Ie&gt;120?120:Ie,Se.seminar_gender=d.seminar_gender&amp;&amp;(d.seminar_gender===&quot;homme&quot;||d.seminar_gender===&quot;femme&quot;)?d.seminar_gender:&quot;homme&quot;,Se.seminar_church_organization=d.seminar_church_organization.trim(),Se.seminar_role_ministry=d.seminar_role_ministry.trim(),Se.seminar_question_or_concern=d.seminar_question_or_concern.trim(),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;(Se.seminar_date_naissance=d.seminar_date_naissance?.trim()||void 0,Se.seminar_contact_urgence_nom_lien=d.seminar_contact_urgence_nom_lien?.trim()||void 0,Se.seminar_niveau_etudes=d.seminar_niveau_etudes&amp;&amp;[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].includes(d.seminar_niveau_etudes)?d.seminar_niveau_etudes:void 0,Se.seminar_domaines_etude=d.seminar_domaines_etude?.length?d.seminar_domaines_etude:void 0,Se.seminar_domaine_etude_autre=d.seminar_domaine_etude_autre?.trim()||void 0,Se.seminar_niveau_francais=d.seminar_niveau_francais&amp;&amp;[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].includes(d.seminar_niveau_francais)?d.seminar_niveau_francais:void 0,Se.seminar_besoin_lettre_absence=d.seminar_besoin_lettre_absence===&quot;oui&quot;||d.seminar_besoin_lettre_absence===&quot;non&quot;?d.seminar_besoin_lettre_absence:void 0,Se.seminar_besoin_lettre_details=d.seminar_besoin_lettre_details?.trim()||void 0,Se.seminar_sante_details=d.seminar_sante_details?.trim()||void 0,Se.seminar_regime_sans_sel=d.seminar_regime_sans_sel===&quot;oui&quot;||d.seminar_regime_sans_sel===&quot;non&quot;?d.seminar_regime_sans_sel:void 0,Se.seminar_confession_religieuse=d.seminar_confession_religieuse&amp;&amp;[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].includes(d.seminar_confession_religieuse)?d.seminar_confession_religieuse:void 0,Se.seminar_fardeau_transformation=d.seminar_fardeau_transformation?.trim()||void 0,Se.seminar_recommande_par=d.seminar_recommande_par?.trim()||void 0,Se.seminar_engagements=d.seminar_engagements?.length?d.seminar_engagements:void 0,Se.seminar_engagements_autre=d.seminar_engagements_autre?.trim()||void 0)}try{const Oe=await Kb.create(le,Se);Oe&amp;&amp;Oe.registration_id?de.push(Oe.registration_id):(console.error(&quot;Réponse invalide pour&quot;,ge,Oe),me.push(`Réponse invalide lors de l&#039;inscription à ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`))}catch(Oe){if(console.error(&quot;Erreur lors de l&#039;inscription à&quot;,ge,Oe),Oe instanceof vr)if(Oe.status===409){const Te=Oe.data;Te?.existing_registration_id?ve.push({eventType:ge===&quot;summit&quot;?&quot;Sommet&quot;:&quot;Séminaire&quot;,existingId:Te.existing_registration_id}):me.push(`Erreur lors de l&#039;inscription à ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Oe.data.message||&quot;Une erreur est survenue.&quot;}`)}else if(Oe.status===422){const Te=Oe.data?.errors||{};Object.keys(Te).length&gt;0&amp;&amp;console.error(&quot;Validation 422 (inscription)&quot;,Te);const Ie=[],Ve={};Object.keys(Te).forEach(Ye=&gt;{const Ze=Array.isArray(Te[Ye])?Te[Ye]:[Te[Ye]];Ze.forEach(ct=&gt;Ie.push(ct)),Ve[`${Ye}_${ge}`]=Ze,ge===&quot;summit&quot;&amp;&amp;Ye===&quot;pricing_plan_id&quot;&amp;&amp;(Ve.package_code=Ze),Ye===&quot;payment_method_selected&quot;&amp;&amp;(Ve.payment_method_selected=Ze),Ye===&quot;ouaga_resident_confirmed&quot;&amp;&amp;(Ve.ouaga_resident_confirmed=Ze),Ye===&quot;spouse_fullname&quot;&amp;&amp;(Ve.spouse_fullname=Ze)}),Ie.length&gt;0&amp;&amp;(Ve._general=Ie),c(Ye=&gt;({...Ye,...Ve})),me.push(`Erreurs de validation pour ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}else Oe.status===404?me.push(`Les inscriptions publiques ne sont pas disponibles pour ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`):me.push(`Erreur lors de l&#039;inscription à ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Oe.data.message||&quot;Une erreur est survenue.&quot;}`);else me.push(`Erreur inattendue lors de l&#039;inscription à ${ge===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}}if(he&amp;&amp;!se)try{const ge={website:&quot;&quot;,event:B0,recommender_first_name:d.first_name.trim(),recommender_last_name:d.last_name.trim(),recommender_email:d.email.trim().toLowerCase(),recommender_phone:d.phone.trim(),recommender_country:d.country.trim()||void 0,recommended_full_name:[d.recommended_first_name.trim(),d.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:d.recommended_profession.trim(),recommended_residence_country:d.recommended_residence_country.trim(),recommended_phone_whatsapp:d.recommended_phone_whatsapp.trim(),recommended_email:d.recommended_email.trim()?d.recommended_email.trim().toLowerCase():void 0,recommended_gender:d.recommended_gender,...d.recommended_contacted_before===&quot;oui&quot;||d.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:d.recommended_contacted_before}:{}},le=await k3.create(ge);ie.push(le.recommendation_id)}catch(ge){if(ge instanceof vr)if(ge.status===422){const le=ge.data.errors||{};c(_e=&gt;({..._e,...le})),me.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else me.push(`Erreur lors de la création de la recommandation: ${ge.data.message||&quot;Une erreur est survenue.&quot;}`);else me.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;)}if(de.length&gt;0||ie.length&gt;0){if(r&amp;&amp;(de.length&gt;0?r({id:de[0],type:&quot;registration&quot;}):ie.length&gt;0&amp;&amp;r({id:ie[0],type:&quot;recommendation&quot;})),ve.length&gt;0&amp;&amp;t&amp;&amp;t(ve[0].existingId),me.length&gt;0&amp;&amp;n){const ge=me.join(&quot; &quot;),le=ve.length&gt;0?` Note: ${ve.length} inscription(s) existante(s) détectée(s) pour ${ve.map(_e=&gt;_e.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: ${ge}${le}`)}else if(ve.length&gt;0&amp;&amp;!t){const ge=`${ve.length} inscription(s) existante(s) détectée(s) pour ${ve.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`;n&amp;&amp;n(ge)}}else if(ve.length&gt;0&amp;&amp;me.length===0){const ge=ve.map(_e=&gt;`${_e.eventType} (ID: ${_e.existingId})`).join(&quot; et &quot;),le=`Vous avez déjà une inscription pour ${ve.length&gt;1?&quot;les événements suivants&quot;:&quot;cet événement&quot;}: ${ge}.`;c({_general:[le]}),t?t(ve[0].existingId):n&amp;&amp;n(le)}else if(me.length&gt;0){if(c(ge=&gt;Object.keys(ge).some(_e=&gt;_e!==&quot;_general&quot;&amp;&amp;Array.isArray(ge[_e])&amp;&amp;ge[_e].length&gt;0)&amp;&amp;ge._general&amp;&amp;ge._general.length&gt;0?ge:{...ge,_general:me}),n){const ge=ve.length&gt;0?` Note: ${ve.length} inscription(s) existante(s) détectée(s) pour ${ve.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(me.join(&quot; &quot;)+ge)}}else c({_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{c({_general:[&quot;Une erreur inattendue est survenue.&quot;]}),n&amp;&amp;n(&quot;Une erreur inattendue est survenue.&quot;)}finally{l(!1)}}},Q=te=&gt;{const ae=i[te];return ae&amp;&amp;ae.length&gt;0?ae[0]:void 0};if(u)return m.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:[m.jsx(VD,{className:&quot;w-14 h-14 text-brand-600 animate-spin mb-6&quot;,&quot;aria-hidden&quot;:!0}),m.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;}),m.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(s===1){const te=e?.length===1?e[0]:null,ae=!te||te===&quot;summit&quot;,ce=!te||te===&quot;seminar&quot;,he=!te||te===&quot;recommend&quot;;return m.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;div&quot;,{className:te?&quot;max-w-sm mx-auto&quot;:&quot;&quot;,children:m.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:[ae&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[m.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 ${d.selectedEvents.includes(&quot;summit&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[m.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:m.jsx(&quot;img&quot;,{src:&quot;/sommet1.webp&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;w-full h-full object-cover&quot;})}),m.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Sommet Francophone&quot;})})]}),m.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;summit&quot;,checked:d.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;}),m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),ce&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[m.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 ${d.selectedEvents.includes(&quot;seminar&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[m.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:m.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;})}),m.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Séminaire Régional&quot;})})]}),m.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;seminar&quot;,checked:d.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;}),m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),he&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[m.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 ${d.selectedEvents.includes(&quot;recommend&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[m.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:m.jsx(&quot;img&quot;,{src:&quot;/recommandation.webp&quot;,alt:&quot;Recommander des participants&quot;,className:&quot;w-full h-full object-cover&quot;})}),m.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Recommander des participants&quot;})})]}),m.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;recommend&quot;,checked:d.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;}),m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]})]})}),Q(&quot;selectedEvents&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Q(&quot;selectedEvents&quot;)})]}),d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates et horaire (GMT) général du sommet:&quot;}),m.jsx(&quot;p&quot;,{children:&quot;Du 19 au 22 novembre 2026, à Ouagadougou - Burkina Faso&quot;}),m.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2 mt-2&quot;,children:[m.jsx(&quot;li&quot;,{children:&quot;Check-in dans les Hotels: 12h00-15h00, jeudi 19 novembre 2026&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Enregistrement des participants au sommet: 15h00-17h00, jeudi 19 novembre 2026&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Début du sommet: 17h00, jeudi 19 novembre 2026&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Fin du sommet: 21h30, samedi 21 novembre 2026&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Check-out/Culte/Visite-détente/départ: 8.30-15.00, dimanche 22 novembre 2026&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium mb-2&quot;,children:&quot;Les formules d&#039;inscription au sommet:&quot;}),m.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2&quot;,children:[m.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;}),m.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;}),m.jsx(&quot;li&quot;,{children:&quot;Formule C 450 000 FCFA / 690 € (un délégué par chambre en pension complète)&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Formule D 550 000 FCFA / 840 € (pour les couples mariés par chambre en pension complète)&quot;})]})]})]})]}),(d.selectedEvents.includes(&quot;seminar&quot;)||d.selectedEvents.includes(&quot;recommend&quot;))&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500 mb-4&quot;,children:m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates du séminaire:&quot;}),m.jsx(&quot;p&quot;,{children:&quot;1ère partie en ligne : Du 22 au 31 octobre 2026&quot;}),m.jsx(&quot;p&quot;,{children:&quot;2ème partie présentielle : Du 15 au 19 novembre 2026, au Burkina Faso&quot;})]})}),m.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;}),m.jsxs(&quot;ol&quot;,{className:&quot;space-y-3 text-sm font-light text-ink-500 list-decimal list-inside&quot;,children:[m.jsxs(&quot;li&quot;,{children:[m.jsx(&quot;strong&quot;,{children:&quot;Âge:&quot;}),&quot; de 25 à 60 ans&quot;]}),m.jsxs(&quot;li&quot;,{children:[m.jsx(&quot;strong&quot;,{children:&quot;Éducation:&quot;}),&quot; niveau Bac+3, exemption faite aux leaders chrétiens reconnus&quot;]}),m.jsxs(&quot;li&quot;,{children:[m.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 31 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;]}),m.jsxs(&quot;li&quot;,{children:[m.jsx(&quot;strong&quot;,{children:&quot;Leadership:&quot;}),&quot; être un leader chrétien laïc ou ecclésiastique&quot;]}),m.jsxs(&quot;li&quot;,{children:[m.jsx(&quot;strong&quot;,{children:&quot;Niveau de langue:&quot;}),&quot; être capable de communiquer clairement en français parlé &amp; écrit&quot;]}),m.jsxs(&quot;li&quot;,{children:[m.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;]}),m.jsxs(&quot;li&quot;,{children:[m.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;]}),m.jsxs(&quot;li&quot;,{children:[m.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;]})]})]}),m.jsx(Fe,{type:&quot;button&quot;,onClick:U,className:&quot;w-full mt-6&quot;,children:&quot;Continuer&quot;})]})}if(s===2){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;),he=d.selectedEvents.length===1&amp;&amp;te,se=d.selectedEvents.length===1&amp;&amp;ae,de=d.selectedEvents.length===1&amp;&amp;ce,ie=d.selectedEvents.length===2&amp;&amp;!ce,me=te&amp;&amp;ae&amp;&amp;ce,ve=ae&amp;&amp;ce&amp;&amp;!te,ge=te&amp;&amp;ce&amp;&amp;!ae;return m.jsxs(&quot;form&quot;,{onSubmit:le=&gt;{le.preventDefault(),ee()},className:&quot;space-y-6&quot;,children:[i._general&amp;&amp;i._general.length&gt;0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;p-4 rounded-xl bg-red-50 border border-red-200 text-red-800 text-sm&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Erreur(s) de validation :&quot;}),m.jsx(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-0.5&quot;,children:i._general.map((le,_e)=&gt;m.jsx(&quot;li&quot;,{children:le},_e))})]}),m.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:[m.jsx(&quot;label&quot;,{htmlFor:&quot;website-hp&quot;,children:&quot;Site web&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;website-hp&quot;,name:&quot;website&quot;,tabIndex:-1,autoComplete:&quot;off&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:ce?&quot;INFORMATIONS SUR LE LEADER QUI RECOMMANDE&quot;:&quot;INFORMATIONS PERSONNELLES&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.first_name,onChange:le=&gt;z(&quot;first_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.last_name,onChange:le=&gt;z(&quot;last_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;last_name&quot;)})]})]}),m.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;}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.email,onChange:le=&gt;z(&quot;email&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:d.country,onChange:le=&gt;C(le.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un pays&quot;}),Yd.map(le=&gt;{const _e=$L(le.code);return m.jsxs(&quot;option&quot;,{value:le.name,children:[_e?`${_e} ${le.name}`:le.name,&quot; &quot;,le.dialCode]},le.code)})]}),Q(&quot;country&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;country&quot;)})]}),!de&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.city,onChange:le=&gt;z(&quot;city&quot;,le.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone (WhatsApp) &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.phone,onChange:le=&gt;j(le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;phone&quot;)})]}),m.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:!de&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.nationality,onChange:le=&gt;z(&quot;nationality&quot;,le.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.organization,onChange:le=&gt;z(&quot;organization&quot;,le.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Poste / Fonction&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.position,onChange:le=&gt;z(&quot;position&quot;,le.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;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.is_haggai_leader,onChange:le=&gt;z(&quot;is_haggai_leader&quot;,le.target.checked),className:&quot;rounded&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Je suis un leader Haggai&quot;})]}),d.is_haggai_leader&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Haggai ID ou Année de HLE :&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.hle_vhle_number,onChange:le=&gt;z(&quot;hle_vhle_number&quot;,le.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||he||me||ge)&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{children:[b?m.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Chargement des formules...&quot;}):p.length===0?m.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune formule disponible&quot;}):m.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-4&quot;,children:p.sort((le,_e)=&gt;le.sort_order-_e.sort_order).map(le=&gt;{const Se={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;}}[le.code]||{price:le.currency_primary===&quot;XOF&quot;?`${le.price_xof.toLocaleString(&quot;fr-FR&quot;)} XOF`:`${le.price_eur.toLocaleString(&quot;fr-FR&quot;)} EUR`,description:le.description||&quot;&quot;},Te={A:&quot;/formules/formule-a.jpg&quot;,B:&quot;/formules/formule-b.jpg&quot;,C:&quot;/formules/formule-c.jpg&quot;,D:&quot;/formules/formule-d.jpg&quot;}[le.code]||&quot;/formules/default.jpg&quot;;return m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.package_code===le.code?&quot;border-brand-700 shadow-lg&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md&quot;}`,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;package_code&quot;,value:le.code,checked:d.package_code===le.code,onChange:()=&gt;z(&quot;package_code&quot;,le.code),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100&quot;,children:[m.jsx(&quot;img&quot;,{src:Te,alt:le.title,className:&quot;w-full h-full object-cover&quot;,onError:Ie=&gt;{Ie.target.src=&quot;/sommet1.webp&quot;}}),d.package_code===le.code&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-5 h-5&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]}),m.jsxs(&quot;div&quot;,{className:&quot;p-4 bg-white&quot;,children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-2&quot;,children:le.title}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 font-light mb-2&quot;,children:Se.description}),m.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-brand-700&quot;,children:Se.price})]})]},le.id)})}),Q(&quot;package_code&quot;)&amp;&amp;m.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;m.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:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-start gap-3 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.ouaga_resident_confirmed,onChange:le=&gt;z(&quot;ouaga_resident_confirmed&quot;,le.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;}`}),m.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;m.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;)})]})]}),d.package_code===&quot;D&quot;&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.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;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.spouse_fullname,onChange:le=&gt;z(&quot;spouse_fullname&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;spouse_fullname&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.spouse_email,onChange:le=&gt;z(&quot;spouse_email&quot;,le.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Haggai ID / Année de HLE (conjoint / conjointe)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.spouse_haggai_id,onChange:le=&gt;z(&quot;spouse_haggai_id&quot;,le.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;})]})]})]}),(se||ve)&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;OPTIONS SÉMINAIRE&quot;}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Je veux participer au séminaire &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;oui&quot;,checked:d.seminar_want_to_participate===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;non&quot;,checked:d.seminar_want_to_participate===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_want_to_participate&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_want_to_participate&quot;)})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-xl p-4 border border-brand-700/30&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Frais de participation&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Formule résidentielle obligatoire pour le séminaire à un montant fixe de 350 000 FCFA / 535 €. Si vous êtes aussi inscrit(e) au Sommet, vous aurez à payer additionnellement les frais selon la formule choisie.&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-brand-700&quot;,children:E()}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:d.payment_method_selected===&quot;card_visa&quot;?`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`:`${_.toLocaleString(&quot;fr-FR&quot;)} €`})]})]})}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_church_organization,onChange:le=&gt;z(&quot;seminar_church_organization&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_role_ministry,onChange:le=&gt;z(&quot;seminar_role_ministry&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:d.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:d.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Âge &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:d.seminar_age,onChange:le=&gt;z(&quot;seminar_age&quot;,le.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_age&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_age&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_age&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:d.seminar_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:d.seminar_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),m.jsx(&quot;textarea&quot;,{value:d.seminar_question_or_concern,onChange:le=&gt;z(&quot;seminar_question_or_concern&quot;,le.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;})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:d.seminar_date_naissance,onChange:le=&gt;z(&quot;seminar_date_naissance&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_contact_urgence_nom_lien,onChange:le=&gt;z(&quot;seminar_contact_urgence_nom_lien&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),m.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(le=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_1&quot;,value:le,checked:d.seminar_niveau_etudes===le,onChange:()=&gt;z(&quot;seminar_niveau_etudes&quot;,le),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;primaire&quot;?&quot;Primaire&quot;:le===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},le))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:E3.map(({value:le,label:_e})=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_domaines_etude?.includes(le)??!1,onChange:()=&gt;O(le),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:_e})]},le))}),d.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_domaine_etude_autre,onChange:le=&gt;z(&quot;seminar_domaine_etude_autre&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(le=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_1&quot;,value:le,checked:d.seminar_niveau_francais===le,onChange:()=&gt;z(&quot;seminar_niveau_francais&quot;,le),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;natif&quot;?&quot;Natif/Native&quot;:le===&quot;avance&quot;?&quot;Avancé&quot;:le===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},le))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),m.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;oui&quot;,checked:d.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;non&quot;,checked:d.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_besoin_lettre_details,onChange:le=&gt;z(&quot;seminar_besoin_lettre_details&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_sante_details,onChange:le=&gt;z(&quot;seminar_sante_details&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;oui&quot;,checked:d.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;non&quot;,checked:d.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].map(le=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_1&quot;,value:le,checked:d.seminar_confession_religieuse===le,onChange:()=&gt;z(&quot;seminar_confession_religieuse&quot;,le),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;evangelique&quot;?&quot;Evangélique&quot;:le.charAt(0).toUpperCase()+le.slice(1)})]},le))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Fardeau pour transformation des nations par l&#039;Évangile ?&quot;}),m.jsx(&quot;textarea&quot;,{value:d.seminar_fardeau_transformation,onChange:le=&gt;z(&quot;seminar_fardeau_transformation&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_recommande_par,onChange:le=&gt;z(&quot;seminar_recommande_par&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:A3.map(({value:le,label:_e})=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_engagements?.includes(le)??!1,onChange:()=&gt;I(le),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:_e})]},le))}),d.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_engagements_autre,onChange:le=&gt;z(&quot;seminar_engagements_autre&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),d.selectedEvents.includes(&quot;recommend&quot;)&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:le=&gt;z(&quot;recommended_first_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:le=&gt;z(&quot;recommended_last_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:le=&gt;z(&quot;recommended_profession&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:le=&gt;z(&quot;recommended_residence_country&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:le=&gt;z(&quot;recommended_phone_whatsapp&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:le=&gt;z(&quot;recommended_email&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]})]}),de&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:le=&gt;z(&quot;recommended_first_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:le=&gt;z(&quot;recommended_last_name&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:le=&gt;z(&quot;recommended_profession&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:le=&gt;z(&quot;recommended_residence_country&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:le=&gt;z(&quot;recommended_phone_whatsapp&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:le=&gt;z(&quot;recommended_email&quot;,le.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),(!ie||ie&amp;&amp;d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;))&amp;&amp;!de&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),(()=&gt;{const le=W();if(!(d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.seminar_want_to_participate===&quot;oui&quot;)||!le)return null;const Se=p.find(Te=&gt;Te.code===d.package_code),Oe=Se?le.currency===&quot;EUR&quot;?Se.price_eur:Se.price_xof:0;return m.jsxs(&quot;div&quot;,{className:&quot;mb-6 bg-brand-50 rounded-xl p-6 space-y-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[&quot;Sommet - &quot;,Se?.title||&quot;Formule sélectionnée&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Se?.code||&quot;&quot;})]}),m.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:D(Oe,le.currency)})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:&quot;Séminaire - Résidentiel&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Formule obligatoire&quot;})]}),m.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:D(le.currency===&quot;EUR&quot;?_:x,le.currency)})]}),m.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-lg font-heading font-semibold text-ink-900&quot;,children:&quot;Total à payer&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-2xl font-bold text-brand-700&quot;,children:le.formatted})]}),m.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;})]})]})]})})(),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:d.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.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;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),d.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]}),m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:d.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),d.payment_method_selected===&quot;card_visa&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]}),m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:d.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.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;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),d.payment_method_selected===&quot;national_office&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[m.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;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(le=&gt;m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(le),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${d.installment_count===le?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[le,&quot; &quot;,le===1?&quot;échéance&quot;:&quot;échéances&quot;]},le))})]}),m.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:d.installment_count}).map((le,_e)=&gt;{const Se=d.installment_months[_e]||&quot;&quot;,Oe=!Se||V([Se]),Te=i[`installment_month_${_e}`],Ie=!!Te||!Oe&amp;&amp;!!Se;return m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,_e+1,&quot; &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:Se,onChange:Ve=&gt;K(_e,Ve.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Ie?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Ve=&gt;m.jsx(&quot;option&quot;,{value:Ve.value,children:Ve.label},Ve.value))]}),Te&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Te[0]}),!Te&amp;&amp;!Oe&amp;&amp;Se&amp;&amp;m.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;})]},_e)})}),i.installment_months&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:i.installment_months[0]})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:F,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),ie||me||te&amp;&amp;ce&amp;&amp;!ae?m.jsx(Fe,{type:&quot;button&quot;,onClick:ee,disabled:!Z(),className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):m.jsx(Fe,{type:&quot;submit&quot;,disabled:u||de&amp;&amp;!Y(),className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}if(s===3){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;),he=te&amp;&amp;ce&amp;&amp;!ae,se=ae&amp;&amp;ce&amp;&amp;!te,de=te&amp;&amp;ae&amp;&amp;ce;return se?m.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):he?m.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):m.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;OPTIONS SÉMINAIRE&quot;}),de&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg&quot;,children:m.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.`})}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Je veux participer au séminaire &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;oui&quot;,checked:d.seminar_want_to_participate===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;non&quot;,checked:d.seminar_want_to_participate===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_want_to_participate&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_want_to_participate&quot;)})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-xl p-4 border border-brand-700/30&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Frais de participation&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Formule résidentielle obligatoire pour le séminaire à un montant fixe de 350 000 FCFA / 535 €. Si vous êtes aussi inscrit(e) au Sommet, vous aurez à payer additionnellement les frais selon la formule choisie.&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-brand-700&quot;,children:E()}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:d.payment_method_selected===&quot;card_visa&quot;?`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`:`${_.toLocaleString(&quot;fr-FR&quot;)} €`})]})]})}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_church_organization,onChange:ie=&gt;z(&quot;seminar_church_organization&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;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_church_organization&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_role_ministry,onChange:ie=&gt;z(&quot;seminar_role_ministry&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;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_role_ministry&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:d.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:d.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Âge &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:d.seminar_age,onChange:ie=&gt;z(&quot;seminar_age&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;seminar_age&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_age&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_age&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:d.seminar_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:d.seminar_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),m.jsx(&quot;textarea&quot;,{value:d.seminar_question_or_concern,onChange:ie=&gt;z(&quot;seminar_question_or_concern&quot;,ie.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;})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:d.seminar_date_naissance,onChange:ie=&gt;z(&quot;seminar_date_naissance&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;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_date_naissance&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_contact_urgence_nom_lien,onChange:ie=&gt;z(&quot;seminar_contact_urgence_nom_lien&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),m.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ie=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_2&quot;,value:ie,checked:d.seminar_niveau_etudes===ie,onChange:()=&gt;z(&quot;seminar_niveau_etudes&quot;,ie),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;primaire&quot;?&quot;Primaire&quot;:ie===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},ie))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:E3.map(({value:ie,label:me})=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_domaines_etude?.includes(ie)??!1,onChange:()=&gt;O(ie),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:me})]},ie))}),d.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_domaine_etude_autre,onChange:ie=&gt;z(&quot;seminar_domaine_etude_autre&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(ie=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_2&quot;,value:ie,checked:d.seminar_niveau_francais===ie,onChange:()=&gt;z(&quot;seminar_niveau_francais&quot;,ie),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;natif&quot;?&quot;Natif/Native&quot;:ie===&quot;avance&quot;?&quot;Avancé&quot;:ie===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},ie))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),m.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;oui&quot;,checked:d.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;non&quot;,checked:d.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_besoin_lettre_details,onChange:ie=&gt;z(&quot;seminar_besoin_lettre_details&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_sante_details,onChange:ie=&gt;z(&quot;seminar_sante_details&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;oui&quot;,checked:d.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;non&quot;,checked:d.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].map(ie=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_2&quot;,value:ie,checked:d.seminar_confession_religieuse===ie,onChange:()=&gt;z(&quot;seminar_confession_religieuse&quot;,ie),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;evangelique&quot;?&quot;Evangélique&quot;:ie.charAt(0).toUpperCase()+ie.slice(1)})]},ie))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Fardeau pour transformation des nations par l&#039;Évangile ?&quot;}),m.jsx(&quot;textarea&quot;,{value:d.seminar_fardeau_transformation,onChange:ie=&gt;z(&quot;seminar_fardeau_transformation&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_recommande_par,onChange:ie=&gt;z(&quot;seminar_recommande_par&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;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_recommande_par&quot;)&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:A3.map(({value:ie,label:me})=&gt;m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_engagements?.includes(ie)??!1,onChange:()=&gt;I(ie),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:me})]},ie))}),d.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_engagements_autre,onChange:ie=&gt;z(&quot;seminar_engagements_autre&quot;,ie.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),d.seminar_intent===&quot;recommend&quot;&amp;&amp;!de&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email (optionnel)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&quot;recommended_email&quot;,ie.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[m.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;}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:d.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.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;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),d.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]}),m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:d.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),d.payment_method_selected===&quot;card_visa&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]}),m.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:d.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:m.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:m.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;})})})}),m.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),d.payment_method_selected===&quot;national_office&quot;&amp;&amp;m.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:m.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:m.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;})})})]})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[m.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;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ie=&gt;m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(ie),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${d.installment_count===ie?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[ie,&quot; &quot;,ie===1?&quot;échéance&quot;:&quot;échéances&quot;]},ie))})]}),m.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:d.installment_count}).map((ie,me)=&gt;{const ve=d.installment_months[me]||&quot;&quot;,ge=!ve||V([ve]),le=i[`installment_month_${me}`],_e=!!le||!ge&amp;&amp;!!ve;return m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,me+1,&quot; &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:ve,onChange:Se=&gt;K(me,Se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${_e?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Se=&gt;m.jsx(&quot;option&quot;,{value:Se.value,children:Se.label},Se.value))]}),le&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:le[0]}),!le&amp;&amp;!ge&amp;&amp;ve&amp;&amp;m.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;})]},me)})}),i.installment_months&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:i.installment_months[0]})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),de?m.jsx(Fe,{type:&quot;button&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):m.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})})}if(s===4){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;);return te&amp;&amp;ae&amp;&amp;ce?m.jsx(&quot;form&quot;,{onSubmit:se=&gt;{se.preventDefault(),re()},className:&quot;space-y-6&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:se=&gt;z(&quot;recommended_first_name&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:se=&gt;z(&quot;recommended_last_name&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:se=&gt;z(&quot;recommended_profession&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:se=&gt;z(&quot;recommended_residence_country&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:se=&gt;z(&quot;recommended_phone_whatsapp&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:se=&gt;z(&quot;recommended_email&quot;,se.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),m.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;a(3),className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):null}return null}const xa=&quot;communication@sommetfrancophone.org&quot;,Zd=&quot;+225 05 5427 5725 (WhatsApp)&quot;;function VL(){const[e]=Uh(),r=e.get(&quot;preselect&quot;),t=r===&quot;summit&quot;?[&quot;summit&quot;]:r===&quot;seminar&quot;?[&quot;seminar&quot;]:r===&quot;recommend&quot;?[&quot;recommend&quot;]:void 0,[n,o]=q.useState(&quot;form&quot;),[s,a]=q.useState({}),[u,l]=q.useState(!1),[i,c]=q.useState(null),h=p=&gt;{p.type===&quot;recommendation&quot;?a({recommendationId:p.id,type:&quot;recommendation&quot;}):a({registrationId:p.id,type:&quot;registration&quot;}),o(&quot;success&quot;)},f=p=&gt;{a(b=&gt;b.registrationId||b.recommendationId||n===&quot;success&quot;?{...b,existingRegistrationId:p,hasConflict:!0}:(o(&quot;conflict&quot;),{existingRegistrationId:p}))},d=p=&gt;{a({errorMessage:p}),p.includes(&quot;indisponibles&quot;)?o(&quot;unavailable&quot;):o(&quot;error&quot;)},v=()=&gt;{o(&quot;form&quot;),a({}),c(null)};q.useEffect(()=&gt;{n!==&quot;form&quot;&amp;&amp;window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[n]);const y=async()=&gt;{if(s.existingRegistrationId){l(!0),c(null);try{await Kb.resendVerification(s.existingRegistrationId),c(&quot;Email de vérification renvoyé avec succès. Vérifiez votre boîte de réception.&quot;)}catch(p){p instanceof vr?p.status===422?c(p.data.errors?.registration?.[0]||p.message):c(p.message||&quot;Erreur lors du renvoi de l&#039;email.&quot;):c(&quot;Une erreur est survenue lors du renvoi de l&#039;email.&quot;)}finally{l(!1)}}};return n===&quot;success&quot;?m.jsx(ho,{children:m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:m.jsx(wD,{className:&quot;w-16 h-16 text-green-600&quot;})}),m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:s.type===&quot;recommendation&quot;?&quot;Recommandation reçue&quot;:&quot;Inscription reçue&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-6&quot;,children:s.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;}),s.type===&quot;registration&quot;&amp;&amp;m.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;}),s.type===&quot;recommendation&quot;&amp;&amp;m.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;}),s.registrationId&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription : &quot;,m.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,s.registrationId]})]}),s.recommendationId&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro de recommandation : &quot;,m.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,s.recommendationId]})]}),s.hasConflict&amp;&amp;s.existingRegistrationId&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-8&quot;,children:m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-yellow-800&quot;,children:[m.jsx(&quot;strong&quot;,{children:&quot;Note :&quot;}),&quot; Une inscription existe déjà pour un autre événement (numéro #&quot;,s.existingRegistrationId,&quot;).&quot;]})}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsx(Fe,{onClick:v,variant:&quot;secondary&quot;,children:&quot;Nouvelle inscription&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Pour toute question :&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center gap-4 flex-wrap&quot;,children:[m.jsxs(&quot;a&quot;,{href:`mailto:${xa}`,className:&quot;hover:text-brand-9002 inline-flex items-center gap-1&quot;,children:[m.jsx(ms,{className:&quot;w-4 h-4&quot;}),xa]}),m.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1&quot;,children:[m.jsx(zc,{className:&quot;w-4 h-4&quot;}),Zd]})]})]}),m.jsx(&quot;div&quot;,{children:m.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;?m.jsx(ho,{children:m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:m.jsx(Qv,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),m.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;}),m.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;}),s.existingRegistrationId&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription existante : &quot;,m.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,s.existingRegistrationId]})]}),m.jsx(&quot;div&quot;,{className:&quot;space-y-4 mb-8&quot;,children:m.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;})}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsx(Fe,{onClick:y,variant:&quot;secondary&quot;,disabled:u,children:u?&quot;Envoi en cours...&quot;:&quot;Renvoyer l&#039;email de vérification&quot;}),i&amp;&amp;m.jsx(&quot;p&quot;,{className:`text-sm ${i.includes(&quot;succès&quot;)?&quot;text-green-600&quot;:&quot;text-red-600&quot;}`,children:i}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[m.jsx(ms,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;a&quot;,{href:`mailto:${xa}`,className:&quot;hover:text-brand-9002&quot;,children:xa})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[m.jsx(zc,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;span&quot;,{children:Zd})]})]}),m.jsx(Fe,{onClick:v,variant:&quot;outline&quot;,children:&quot;Nouvelle inscription&quot;}),m.jsx(&quot;div&quot;,{children:m.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;?m.jsx(ho,{children:m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:m.jsx(ND,{className:&quot;w-16 h-16 text-red-600&quot;})}),m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:s.errorMessage||&quot;Une erreur est survenue lors de l&#039;inscription.&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsx(Fe,{onClick:v,children:&quot;Réessayer&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[m.jsx(ms,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;a&quot;,{href:`mailto:${xa}`,className:&quot;hover:text-brand-9002&quot;,children:xa})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[m.jsx(zc,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;span&quot;,{children:Zd})]})]}),m.jsx(&quot;div&quot;,{children:m.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;?m.jsx(ho,{children:m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:m.jsx(Qv,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscriptions publiques indisponibles&quot;}),m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2 mb-2&quot;,children:[m.jsx(ms,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;a&quot;,{href:`mailto:${xa}`,className:&quot;hover:text-brand-9002&quot;,children:xa})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[m.jsx(zc,{className:&quot;w-4 h-4&quot;}),m.jsx(&quot;span&quot;,{children:Zd})]})]}),m.jsx(&quot;div&quot;,{children:m.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;})})]})]})})})}):m.jsx(ho,{children:m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;w-full mx-auto&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;text-center mb-12 px-4 sm:px-6 lg:px-8&quot;,children:[m.jsx(&quot;h1&quot;,{className:&quot;text-4xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light text-lg&quot;,children:&quot;Sélectionner une option ci-dessous. Vous pourrez revenir pour un autre choix.&quot;})]}),m.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:m.jsx(UL,{preselectedEvents:t,onSuccess:h,onConflict:f,onError:d})})]})})})}function ln({children:e,className:r=&quot;&quot;}){return m.jsx(&quot;div&quot;,{className:`bg-surface-0 rounded-xl2 shadow-soft p-6 ${r}`,children:e})}function qL(){const e=js(),{isAuthenticated:r,canAccessAdmin:t,loading:n,refetch:o,roles:s}=Ss(),[a,u]=q.useState(&quot;&quot;),[l,i]=q.useState(&quot;&quot;),[c,h]=q.useState(!1),[f,d]=q.useState(null);if(n)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(r){const p=t&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;(s.includes(&quot;COMMISSION_FINANCE&quot;)||s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;return m.jsx(Jn,{to:t?p:&quot;/account&quot;,replace:!0})}const v=async y=&gt;{y.preventDefault(),h(!0),d(null);try{const p=await Gi.login({email:a,password:l});if(!p||!p.token){d(&quot;Réponse invalide du serveur.&quot;);return}const b=await o(),x=[&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;],_=(b?.roles??[]).map(W=&gt;typeof W==&quot;string&quot;?W:W.name).filter(W=&gt;typeof W==&quot;string&quot;),E=_.some(W=&gt;x.includes(W)),D=!_.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(_.includes(&quot;COMMISSION_FINANCE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;e(E?D:&quot;/account&quot;,{replace:!0})}catch(p){if(console.error(&quot;Erreur de connexion complète:&quot;,p),p instanceof vr)if(console.error(&quot;Détails de l&#039;erreur API:&quot;,{status:p.status,data:p.data,message:p.message}),p.status===422&amp;&amp;p.data.errors){const b=Object.values(p.data.errors).flat();d(b.join(&quot;. &quot;)||&quot;Erreur de validation.&quot;)}else p.status===401||p.status===422?p.data.errors&amp;&amp;p.data.errors.email?d(p.data.errors.email[0]||&quot;Email ou mot de passe incorrect.&quot;):d(p.data.message||&quot;Email ou mot de passe incorrect.&quot;):p.status===403?d(&quot;Votre compte n&#039;a pas les permissions nécessaires.&quot;):d(p.data?.message||&quot;Une erreur est survenue lors de la connexion.&quot;);else d(&quot;Une erreur inattendue est survenue.&quot;)}finally{h(!1)}};return m.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:m.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Connexion&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Connectez-vous à votre espace&quot;})]}),m.jsx(ln,{children:m.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;space-y-6&quot;,children:[f&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f})}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:a,onChange:y=&gt;u(y.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:l,onChange:y=&gt;i(y.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;})]}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:c,children:c?&quot;Connexion...&quot;:&quot;Se connecter&quot;})]})}),m.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:m.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 WL(){const[e]=Uh(),r=js(),t=e.get(&quot;token&quot;)??&quot;&quot;,[n,o]=q.useState(t?&quot;initial&quot;:&quot;error&quot;),[s,a]=q.useState(!!t),[u,l]=q.useState(!1),[i,c]=q.useState(&quot;&quot;),[h,f]=q.useState(&quot;&quot;),[d,v]=q.useState(!1),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState({});q.useEffect(()=&gt;{if(!t){p(&quot;Lien d&#039;activation invalide ou manquant.&quot;);return}let M=!1;return Gi.checkActivation(t).then(D=&gt;{M||(l(D.already_active),a(!1))}).catch(D=&gt;{M||(a(!1),o(&quot;error&quot;),p(D instanceof vr?D.data?.errors?.token?.[0]??D.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){x({}),v(!0),p(&quot;&quot;);try{const D={token:t.trim()};u||(D.password=i,D.password_confirmation=h);const W=await Gi.activate(D);o(&quot;success&quot;);const L=u?&quot;Inscription confirmée.&quot;:&quot;Votre compte est activé. Vous pouvez maintenant accéder à votre espace.&quot;;p(W?.message??L)}catch(D){if(o(&quot;error&quot;),D instanceof vr)if(D.status===422&amp;&amp;D.data.errors){const W={};Object.entries(D.data.errors).forEach(([L,V])=&gt;{Array.isArray(V)&amp;&amp;V[0]&amp;&amp;(W[L]=V[0])}),x(W),p(D.data.errors?.token?.[0]??D.data.errors?.password?.[0]??&quot;Vérifiez votre mot de passe (8 caractères minimum) et la confirmation.&quot;)}else p(D.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 p(&quot;Une erreur est survenue. Veuillez réessayer plus tard.&quot;)}finally{v(!1)}}},E=()=&gt;{_({preventDefault:()=&gt;{}})};return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Activation de compte&quot;}),m.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;})]}),m.jsxs(ln,{children:[n===&quot;error&quot;&amp;&amp;!t&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-red-600&quot;,children:y}),m.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;mt-4&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]}),s&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Vérification du lien en cours...&quot;}),!s&amp;&amp;u&amp;&amp;(n===&quot;initial&quot;||n===&quot;error&quot;)&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[m.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;}),y&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),m.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:E,disabled:d,children:d?&quot;Confirmation en cours...&quot;:&quot;Confirmer cette inscription&quot;})]}),!s&amp;&amp;!u&amp;&amp;(n===&quot;initial&quot;||n===&quot;loading&quot;||n===&quot;error&quot;&amp;&amp;t)&amp;&amp;m.jsxs(&quot;form&quot;,{onSubmit:_,className:&quot;space-y-6&quot;,children:[y&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:i,onChange:M=&gt;c(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 ${b.password?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),b.password&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:h,onChange:M=&gt;f(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 ${b.password_confirmation?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),b.password_confirmation&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password_confirmation})]}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:d,children:d?&quot;Activation en cours...&quot;:&quot;Activer mon compte&quot;})]}),n===&quot;success&quot;&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;text-center&quot;,children:[m.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:m.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:m.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})}),m.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Compte activé&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:y}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[m.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/account&quot;),children:&quot;Aller à mon espace&quot;}),m.jsx(Fe,{variant:&quot;outline&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]})]})]}),m.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:m.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 HL={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;},KL={pending_review:&quot;En attente de validation&quot;,confirmed:&quot;Validé&quot;,rejected:&quot;Rejeté&quot;},M8=[&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 XL(e){const[r,t]=e.split(&quot;-&quot;).map(Number);return Number.isNaN(r)||Number.isNaN(t)?e:`${M8[t-1]??e} ${r}`}function GL(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const o=new Date(r,t,0).getDate(),s=M8[t-1]??String(t);return`${o} ${s} ${r}`}function YL(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 ZL(){const e=js(),{user:r,isAuthenticated:t,canAccessAdmin:n,loading:o,refetch:s,roles:a}=Ss(),[u,l]=q.useState([]),[i,c]=q.useState(!0),[h,f]=q.useState(null),[d,v]=q.useState(&quot;&quot;),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState(null),[_,E]=q.useState(!1),[M,D]=q.useState(null),[W,L]=q.useState(null),[V,H]=q.useState(&quot;&quot;),[K,z]=q.useState(&quot;mobile_money&quot;),[O,I]=q.useState(()=&gt;new Date().toISOString().slice(0,10)),[C,j]=q.useState(&quot;&quot;),[k,S]=q.useState(&quot;&quot;),[N,T]=q.useState(null),[R,B]=q.useState(null),[Y,Z]=q.useState(!1),[ne,U]=q.useState(null),ee=()=&gt;{c(!0),f(null),AL().then(l).catch(re=&gt;{if(re instanceof vr){if(re.status===401){Gi.logout().catch(()=&gt;{}),e(&quot;/login&quot;,{replace:!0});return}f(re.data?.message??&quot;Une erreur est survenue.&quot;)}else f(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;c(!1))};q.useEffect(()=&gt;{!t||!Gi.isAuthenticated()||r?.must_change_password||ee()},[t,e,r?.must_change_password]);const F=()=&gt;{const re=d.trim(),Q=y.trim();if(x(null),re.length&lt;8){x(&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;);return}if(re!==Q){x(&quot;Les deux mots de passe ne correspondent pas.&quot;);return}E(!0),E8.changePassword({new_password:re,new_password_confirmation:Q}).then(()=&gt;{v(&quot;&quot;),p(&quot;&quot;),s()}).catch(te=&gt;{const ae=te?.data?.message??te?.message??&quot;Erreur lors du changement de mot de passe.&quot;,ce=te?.data?.errors;x(ce?Object.values(ce).flat().join(&quot; &quot;):ae)}).finally(()=&gt;E(!1))},P=()=&gt;{if(!M)return;const re=parseInt(V,10);if(isNaN(re)||re&lt;=0){B(&quot;Montant invalide.&quot;);return}B(null),Z(!0);const Q={amount:re,method:K,paid_at:new Date(O).toISOString(),installment_index:W??void 0,reference:C.trim()||void 0,notes:k.trim()||void 0,proof:N??void 0};ML(M.id,Q).then(()=&gt;{D(null),L(null),ee()}).catch(te=&gt;{B(te?.data?.message??te?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)}).finally(()=&gt;Z(!1))},X=(re,Q)=&gt;{U(re),OL(re,`${Q}.pdf`).catch(()=&gt;{}).finally(()=&gt;U(null))};return o?m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?n&amp;&amp;!r?.must_change_password?m.jsx(Jn,{to:&quot;/admin/registrations&quot;,replace:!0}):m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon espace participant&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Consultez vos inscriptions, échéances et paiements&quot;})]}),m.jsxs(ln,{className:&quot;mb-8&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes informations&quot;}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:[m.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Nom :&quot;}),&quot; &quot;,r?.name??&quot;—&quot;]}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mt-1&quot;,children:[m.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;m.jsxs(ln,{className:&quot;mb-8 border-amber-200 bg-amber-50/50&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Changer votre mot de passe&quot;}),m.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;}),b&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:b})}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4 max-w-md&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Nouveau mot de passe &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:d,onChange:re=&gt;v(re.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:y,onChange:re=&gt;p(re.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;})]}),m.jsx(Fe,{variant:&quot;primary&quot;,onClick:F,disabled:!!_,children:_?&quot;Enregistrement...&quot;:&quot;Enregistrer le mot de passe&quot;})]})]}),!r?.must_change_password&amp;&amp;m.jsxs(ln,{children:[m.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes inscriptions&quot;}),i&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),h&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4 mb-4&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:h}),m.jsx(Fe,{variant:&quot;outline&quot;,className:&quot;mt-2&quot;,onClick:()=&gt;ee(),children:&quot;Réessayer&quot;})]}),!i&amp;&amp;!h&amp;&amp;u.length===0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;mb-4&quot;,children:&quot;Vous n&#039;avez pas encore d&#039;inscription.&quot;}),m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/inscription&quot;),children:&quot;S&#039;inscrire à un événement&quot;})]}),!i&amp;&amp;!h&amp;&amp;u.length&gt;0&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:u.map(re=&gt;{const Q=YL(re),te=re.currency_selected===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,ae=re.installment_config?.installments??[],ce=ae.length&gt;0,he=ce&amp;&amp;Q&gt;0?Math.round(Q/ae.length):Q,se=re.payments??[],de=se.filter(me=&gt;me.status===&quot;confirmed&quot;).reduce((me,ve)=&gt;me+ve.amount,0),ie=Math.max(0,Q-de);return m.jsxs(&quot;div&quot;,{className:&quot;border border-gray-200 rounded-lg p-4 hover:bg-gray-50/50 transition-colors&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:re.event?.name??`Inscription #${re.id}`}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[re.first_name,&quot; &quot;,re.last_name,&quot; · &quot;,re.email]})]}),m.jsx(&quot;span&quot;,{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${re.status===&quot;paid&quot;?&quot;bg-green-100 text-green-800&quot;:re.status===&quot;submitted&quot;||re.status===&quot;pending_payment&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-gray-100 text-gray-800&quot;}`,children:HL[re.status]??re.status})]}),re.pricing_plan&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Formule : &quot;,re.pricing_plan.title,&quot; (&quot;,re.pricing_plan.code,&quot;)&quot;]}),(re.amount_due_eur!=null||re.amount_due_xof!=null)&amp;&amp;!ce&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Montant dû :&quot;,&quot; &quot;,re.amount_due_eur!=null&amp;&amp;`${re.amount_due_eur} €`,re.amount_due_eur!=null&amp;&amp;re.amount_due_xof!=null&amp;&amp;&quot; / &quot;,re.amount_due_xof!=null&amp;&amp;`${re.amount_due_xof.toLocaleString(&quot;fr-FR&quot;)} FCFA`]}),ce?m.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-1&quot;,children:[&quot;Montant total :&quot;,&quot; &quot;,m.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[Q.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]}),m.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;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:ae.map((me,ve)=&gt;{const ge=me.amount??he,le=me.currency===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,_e=GL(me.month),Se=se.find(Ie=&gt;Ie.installment_index===ve),Oe=Se?.status===&quot;confirmed&quot;,Te=!!Se&amp;&amp;Se.status!==&quot;confirmed&quot;;return m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-3 rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[&quot;Échéance &quot;,ve+1,&quot; — &quot;,XL(me.month)]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-0.5&quot;,children:[&quot;Date limite : &quot;,m.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-700&quot;,children:_e})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 flex-wrap&quot;,children:[m.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[ge.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,le]}),Oe&amp;&amp;Se?.receipt?m.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.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;}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;X(Se.receipt.id,Se.receipt.receipt_number),disabled:ne===Se.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:[m.jsx(fo,{size:14}),ne===Se.receipt?.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]})]}):Te?m.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${Se.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:Se.status===&quot;rejected&quot;?&quot;Rejeté&quot;:&quot;Déclaré — En attente de validation&quot;}):null,Q&gt;0&amp;&amp;!Oe&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1 text-sm text-red-600 italic&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;})]})]},ve)})})]}):Q&gt;0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Montant dû&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3 flex flex-wrap items-center justify-between gap-2&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Total à régler&quot;}),m.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[Q.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]})]}),Q&gt;0&amp;&amp;m.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:[m.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-[#5C262D]&quot;,children:&quot;Restant à payer&quot;}),m.jsxs(&quot;span&quot;,{className:`text-sm font-semibold ${ie&gt;0?&quot;text-[#722F37]&quot;:&quot;text-green-700&quot;}`,children:[ie.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te,ie===0&amp;&amp;Q&gt;0&amp;&amp;&quot; — Soldé&quot;]})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2 mb-2&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700&quot;,children:&quot;Paiements&quot;}),Q&gt;0&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1 text-sm text-red-600 italic&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;})]}),se.length===0?m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun paiement déclaré.&quot;}):m.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:se.map(me=&gt;m.jsxs(&quot;li&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 text-sm py-1.5 border-b border-gray-50 last:border-0&quot;,children:[m.jsxs(&quot;span&quot;,{children:[me.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,me.currency,&quot; — &quot;,me.paid_at?new Date(me.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;,me.reference&amp;&amp;` (${me.reference})`]}),m.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[m.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${me.status===&quot;confirmed&quot;?&quot;bg-green-100 text-green-800&quot;:me.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:KL[me.status]??me.status}),me.status===&quot;confirmed&quot;&amp;&amp;(me.receipt?m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;X(me.receipt.id,me.receipt.receipt_number),disabled:ne===me.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:[m.jsx(fo,{size:14}),ne===me.receipt.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]}):m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 text-xs&quot;,children:&quot;Reçu à venir&quot;}))]})]},me.id))})]})]},re.id)})})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-wrap gap-4&quot;,children:[m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Gi.logout().then(()=&gt;e(&quot;/login&quot;,{replace:!0})),children:&quot;Déconnexion&quot;}),n&amp;&amp;m.jsx(&quot;a&quot;,{href:a?.includes(&quot;COMMISSION_FINANCE&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||a?.includes(&quot;COMMISSARIAT_GENERAL&quot;)?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline self-center&quot;,children:&quot;Accéder à l&#039;administration&quot;}),m.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;})]})]}),M&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;{Y||(D(null),L(null))},&quot;aria-hidden&quot;:!0}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-red-600&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;{Y||(D(null),L(null))},className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:M.event?.name}),R&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:R})}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:V,onChange:re=&gt;H(re.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:!!Y})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Mode de paiement &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:K,onChange:re=&gt;z(re.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:!!Y,children:[m.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),m.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte Visa&quot;}),m.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),m.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau national&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:O,onChange:re=&gt;I(re.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:!!Y})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:C,onChange:re=&gt;j(re.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&quot;,disabled:!!Y})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou photo)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;image/*,.pdf&quot;,capture:&quot;environment&quot;,onChange:re=&gt;T(re.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:!!Y}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Photo ou scan du reçu, max 5 Mo. Sur mobile, la caméra peut être utilisée.&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),m.jsx(&quot;textarea&quot;,{value:k,onChange:re=&gt;S(re.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 éventuel&quot;,disabled:!!Y})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 mt-6&quot;,children:[m.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;{D(null),L(null)},disabled:!!Y,children:&quot;Annuler&quot;}),m.jsx(Fe,{variant:&quot;primary&quot;,onClick:P,disabled:!!Y,children:Y?&quot;Envoi...&quot;:&quot;Envoyer la déclaration&quot;})]})]})})]})})]}):m.jsx(Jn,{to:&quot;/login&quot;,replace:!0})}function Xh({showRefresh:e=!1,refreshing:r=!1,onRefresh:t}){const n=js(),{user:o}=Ss(),s=async()=&gt;{try{await Gi.logout(),n(&quot;/login&quot;,{replace:!0})}catch{n(&quot;/login&quot;,{replace:!0})}};return m.jsx(&quot;header&quot;,{className:&quot;bg-white shadow-soft border-b border-gray-200 sticky top-0 z-50 w-full&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-4&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3&quot;,children:[m.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Haggai Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),m.jsx(&quot;h1&quot;,{className:&quot;text-xl md:text-2xl font-heading font-medium text-ink-900 uppercase tracking-wide&quot;,children:&quot;Sommet Haggai Francophone&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[o&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;text-right hidden sm:block&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:o.name}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:o.email}),o.roles&amp;&amp;o.roles.length&gt;0&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:typeof o.roles[0]==&quot;string&quot;?o.roles[0]:o.roles[0].name})]}),e&amp;&amp;t&amp;&amp;m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:t,disabled:r,className:&quot;flex items-center gap-2&quot;,title:&quot;Rafraîchir les données&quot;,children:[m.jsx(rL,{size:18,className:r?&quot;animate-spin&quot;:&quot;&quot;}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:r?&quot;Rafraîchissement...&quot;:&quot;Rafraîchir&quot;})]}),m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:s,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(WD,{size:18}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:&quot;Déconnexion&quot;})]})]})]})})})}const rr=&#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 QL(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;${rr}&gt;${e}&lt;/svg&gt;`;return`data:image/svg+xml,${encodeURIComponent(r)}`}const JL={layoutDashboard:[`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;${rr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;${rr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;14&quot; y=&quot;12&quot; rx=&quot;1&quot;${rr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;3&quot; y=&quot;16&quot; rx=&quot;1&quot;${rr}/&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;${rr}/&gt;`,`&lt;path d=&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;${rr}/&gt;`,`&lt;path d=&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;${rr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${rr}/&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;${rr}/&gt;`].join(&quot;&quot;),userCog:[`&lt;path d=&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;${rr}/&gt;`,`&lt;path d=&quot;m14.305 16.53.923-.382&quot;${rr}/&gt;`,`&lt;path d=&quot;m15.228 13.852-.923-.383&quot;${rr}/&gt;`,`&lt;path d=&quot;m16.852 12.228-.383-.923&quot;${rr}/&gt;`,`&lt;path d=&quot;m16.852 17.772-.383.924&quot;${rr}/&gt;`,`&lt;path d=&quot;m19.148 12.228.383-.923&quot;${rr}/&gt;`,`&lt;path d=&quot;m19.53 18.696-.382-.924&quot;${rr}/&gt;`,`&lt;path d=&quot;m20.772 13.852.924-.383&quot;${rr}/&gt;`,`&lt;path d=&quot;m20.772 16.148.924.383&quot;${rr}/&gt;`,`&lt;circle cx=&quot;18&quot; cy=&quot;15&quot; r=&quot;3&quot;${rr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${rr}/&gt;`].join(&quot;&quot;),userCircle:[`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;10&quot;${rr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;10&quot; r=&quot;3&quot;${rr}/&gt;`,`&lt;path d=&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;${rr}/&gt;`].join(&quot;&quot;),dollarSign:[`&lt;line x1=&quot;12&quot; x2=&quot;12&quot; y1=&quot;2&quot; y2=&quot;22&quot;${rr}/&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;${rr}/&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;${rr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;3&quot;${rr}/&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;${rr}/&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;${rr}/&gt;`].join(&quot;&quot;)},O8={};for(const[e,r]of Object.entries(JL))O8[e]=QL(r);function eF(){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 tF(e){return O8[e]??&quot;&quot;}function Gh({currentSection:e,registrationView:r=&quot;summit&quot;,showSommet:t=!0,showSeminar:n=!1,showRecommendations:o=!0,showUsers:s=!1,showFinance:a=!1,showSettings:u=!1}){const l=e===&quot;registrations&quot;,i=e===&quot;users&quot;,c=e===&quot;account&quot;,h=e===&quot;finance&quot;,f=e===&quot;settings&quot;,d=b=&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 ${b?&quot;bg-brand-700 text-white shadow-soft&quot;:&quot;text-ink-500 hover:bg-brand-50 hover:text-ink-900&quot;}`,v=m.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:[m.jsx(&quot;div&quot;,{className:&quot;p-4 border-b border-gray-200&quot;,children:m.jsx(&quot;h2&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Menu&quot;})}),m.jsxs(&quot;nav&quot;,{className:&quot;flex-1 p-2 overflow-y-auto&quot;,children:[t&amp;&amp;m.jsxs(xr,{to:&quot;/admin/registrations?view=summit&quot;,className:d(l&amp;&amp;r===&quot;summit&quot;),children:[m.jsx(_3,{size:18}),&quot;Sommet Francophone&quot;]}),n&amp;&amp;m.jsxs(xr,{to:&quot;/admin/registrations?view=seminar&quot;,className:d(l&amp;&amp;r===&quot;seminar&quot;),children:[m.jsx(Vf,{size:18}),&quot;Séminaire régional&quot;]}),o&amp;&amp;m.jsxs(xr,{to:&quot;/admin/registrations?view=recommendations&quot;,className:d(l&amp;&amp;r===&quot;recommendations&quot;),children:[m.jsx(j3,{size:18}),&quot;Recommandations&quot;]}),s&amp;&amp;m.jsxs(xr,{to:&quot;/admin/users&quot;,className:d(i),children:[m.jsx(Uf,{size:18}),&quot;Utilisateurs&quot;]}),a&amp;&amp;m.jsxs(xr,{to:&quot;/admin/finance&quot;,className:d(h),children:[m.jsx(Jv,{size:18}),&quot;Finance&quot;]}),u&amp;&amp;m.jsxs(xr,{to:&quot;/admin/settings&quot;,className:d(f),children:[m.jsx(ry,{size:18}),&quot;Paramétrage&quot;]}),m.jsxs(xr,{to:&quot;/admin/account&quot;,className:d(c),children:[m.jsx(x3,{size:18}),&quot;Mon compte&quot;]}),m.jsxs(xr,{to:&quot;/account&quot;,className:d(!1),children:[m.jsx(ey,{size:18}),&quot;Ma page personnelle&quot;]})]})]}),y=eF(),p=[t&amp;&amp;{to:&quot;/admin/registrations?view=summit&quot;,label:&quot;Sommet&quot;,icon:_3,iconKey:&quot;layoutDashboard&quot;,active:l&amp;&amp;r===&quot;summit&quot;},n&amp;&amp;{to:&quot;/admin/registrations?view=seminar&quot;,label:&quot;Séminaire&quot;,icon:Vf,iconKey:&quot;users&quot;,active:l&amp;&amp;r===&quot;seminar&quot;},o&amp;&amp;{to:&quot;/admin/registrations?view=recommendations&quot;,label:&quot;Recommandations&quot;,icon:j3,iconKey:&quot;messageSquare&quot;,active:l&amp;&amp;r===&quot;recommendations&quot;},s&amp;&amp;{to:&quot;/admin/users&quot;,label:&quot;Utilisateurs&quot;,icon:Uf,iconKey:&quot;userCog&quot;,active:i},a&amp;&amp;{to:&quot;/admin/finance&quot;,label:&quot;Finance&quot;,icon:Jv,iconKey:&quot;dollarSign&quot;,active:h},u&amp;&amp;{to:&quot;/admin/settings&quot;,label:&quot;Paramétrage&quot;,icon:ry,iconKey:&quot;settings&quot;,active:f},{to:&quot;/admin/account&quot;,label:&quot;Mon compte&quot;,icon:x3,iconKey:&quot;userCircle&quot;,active:c},{to:&quot;/account&quot;,label:&quot;Ma page&quot;,icon:ey,iconKey:&quot;home&quot;,active:!1}].filter(Boolean);return m.jsxs(m.Fragment,{children:[v,m.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:m.jsx(&quot;div&quot;,{className:&quot;grid h-14 min-h-[56px] items-center justify-items-center py-2&quot;,style:{gridTemplateColumns:`repeat(${p.length}, minmax(0, 1fr))`},children:p.map(b=&gt;{const x=b.icon;return m.jsxs(xr,{to:b.to,className:`flex flex-col items-center justify-center gap-0.5 w-full h-full min-h-[52px] transition-colors ${b.active?&quot;text-brand-700&quot;:&quot;text-ink-500 hover:text-ink-700&quot;}`,title:b.label,&quot;aria-label&quot;:b.label,children:[m.jsx(&quot;span&quot;,{className:&quot;mobile-nav-icon-cell shrink-0 flex items-center justify-center&quot;,&quot;aria-hidden&quot;:!0,children:y?m.jsx(&quot;img&quot;,{src:tF(b.iconKey),alt:&quot;&quot;,width:22,height:22,className:&quot;block&quot;}):m.jsx(x,{size:22,strokeWidth:2,stroke:&quot;currentColor&quot;,fill:&quot;none&quot;})}),m.jsx(&quot;span&quot;,{className:&quot;text-[10px] font-medium leading-tight max-w-full truncate px-0.5&quot;,children:b.label})]},b.to)})})})]})}const rF=[{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 nF({filters:e,onFiltersChange:r,hideEventFilter:t=!1}){const{events:n,loading:o}=Kh(),[s,a]=q.useState(e),[u,l]=q.useState(null);q.useEffect(()=&gt;{a(e)},[e]);const i=(f,d)=&gt;{const v={...s,[f]:d};if(a(v),f===&quot;q&quot;){u&amp;&amp;clearTimeout(u);const y=setTimeout(()=&gt;{r(v)},400);l(y)}else r(v)},c=f=&gt;{const d=s.status||[],v=d.includes(f)?d.filter(y=&gt;y!==f):[...d,f];i(&quot;status&quot;,v.length&gt;0?v:void 0)},h=()=&gt;{const f={event_id:void 0,status:void 0,q:void 0,created_from:void 0,created_to:void 0};a(f),r(f)};return m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-6 space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Filtres&quot;}),m.jsx(Fe,{variant:&quot;ghost&quot;,onClick:h,className:&quot;text-sm&quot;,children:&quot;Réinitialiser&quot;})]}),m.jsxs(&quot;div&quot;,{className:`grid grid-cols-1 md:grid-cols-2 ${t?&quot;lg:grid-cols-3&quot;:&quot;lg:grid-cols-4&quot;} gap-4`,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Recherche&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:s.q||&quot;&quot;,onChange:f=&gt;i(&quot;q&quot;,f.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&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;})]}),!t&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Événement&quot;}),m.jsxs(&quot;select&quot;,{value:s.event_id||&quot;&quot;,onChange:f=&gt;i(&quot;event_id&quot;,f.target.value?Number(f.target.value):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;,disabled:o,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(f=&gt;m.jsx(&quot;option&quot;,{value:f.id,children:f.name},f.id))]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Date début&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:s.created_from||&quot;&quot;,onChange:f=&gt;i(&quot;created_from&quot;,f.target.value||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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Date fin&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:s.created_to||&quot;&quot;,onChange:f=&gt;i(&quot;created_to&quot;,f.target.value||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;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statuts&quot;}),m.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:rF.map(f=&gt;{const d=s.status?.includes(f.value);return m.jsx(&quot;button&quot;,{onClick:()=&gt;c(f.value),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${d?&quot;bg-brand-700 text-white&quot;:&quot;bg-gray-100 text-gray-700 hover:bg-gray-200&quot;}`,children:f.label},f.value)})})]})]})}const z0={draft:{label:&quot;Brouillon&quot;,className:&quot;bg-gray-100 text-gray-700&quot;},submitted:{label:&quot;Soumis&quot;,className:&quot;bg-blue-100 text-blue-700&quot;},pending_payment:{label:&quot;En attente&quot;,className:&quot;bg-yellow-100 text-yellow-700&quot;},correction:{label:&quot;Dossier en correction&quot;,className:&quot;bg-amber-100 text-amber-800&quot;},paid:{label:&quot;Payé&quot;,className:&quot;bg-green-100 text-green-700&quot;},rejected:{label:&quot;Rejeté&quot;,className:&quot;bg-red-100 text-red-700&quot;},cancelled:{label:&quot;Annulé&quot;,className:&quot;bg-gray-100 text-gray-700&quot;},refunded:{label:&quot;Remboursé&quot;,className:&quot;bg-orange-100 text-orange-700&quot;}},M3={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;}};function Yh({status:e}){if(!e)return m.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-gray-100 text-gray-700&quot;,children:&quot;-&quot;});const t=e in z0?z0[e]||z0.draft:M3[e]||M3.pending;return m.jsx(&quot;span&quot;,{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium ${t.className}`,children:t.label})}function iF(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 sF({registrations:e,loading:r,eventType:t,onViewDetails:n,onUpdateStatus:o,onEdit:s,onDelete:a,canUpdateStatus:u=!1,canEdit:l=!1,canDelete:i=!1}){return r?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Téléphone&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Événement&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:t===&quot;seminar&quot;?&quot;Frais de participation&quot;:&quot;Formule&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Date création&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-right text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(c=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50 cursor-pointer&quot;,onClick:()=&gt;n(c),children:[m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[c.first_name,&quot; &quot;,c.last_name]})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:c.email})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:c.phone||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:c.event?.name||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t===&quot;seminar&quot;?iF(c):c.pricing_plan?.code||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(Yh,{status:c.status})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:new Date(c.created_at).toLocaleDateString(&quot;fr-FR&quot;)})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap text-right text-sm font-medium&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-2&quot;,onClick:h=&gt;h.stopPropagation(),children:[m.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;n(c),className:&quot;text-xs&quot;,children:&quot;Voir&quot;}),l&amp;&amp;s&amp;&amp;m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;s(c),className:&quot;text-xs&quot;,children:&quot;Modifier&quot;}),u&amp;&amp;o&amp;&amp;m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;o(c),className:&quot;text-xs&quot;,children:&quot;Changer statut&quot;}),i&amp;&amp;a&amp;&amp;m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;a(c),className:&quot;text-xs text-red-600 hover:text-red-700 hover:border-red-300&quot;,children:&quot;Supprimer&quot;})]})})]},c.id))})]})})})}function aF({registrations:e,loading:r}){return r?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Pays&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(t=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900&quot;,children:t.email})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t.country||&quot;—&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(Yh,{status:t.status})})]},t.id))})]})})})}function oF({recommendations:e,loading:r,onViewDetails:t,onTreat:n,onDelete:o,canDelete:s}){return r?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune recommandation trouvée&quot;})}):m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-[1200px]&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Recommandé&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email recommandé&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Profession&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Pays&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Recommandeur&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Événement&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Date création&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-right text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(a=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50 cursor-pointer&quot;,onClick:()=&gt;t(a),children:[m.jsxs(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:a.recommended_full_name}),m.jsx(&quot;div&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;})]}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_email||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_profession||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_residence_country||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[a.recommender_first_name,&quot; &quot;,a.recommender_last_name]})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.event?.name||&quot;-&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(Yh,{status:a.status})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:new Date(a.created_at).toLocaleDateString(&quot;fr-FR&quot;)})}),m.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap text-right text-sm font-medium&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-2&quot;,onClick:u=&gt;u.stopPropagation(),children:[m.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;t(a),className:&quot;text-xs px-3 py-1.5&quot;,children:&quot;Voir&quot;}),n&amp;&amp;m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;n(a),className:&quot;text-xs px-4 py-1.5 min-w-[80px]&quot;,children:&quot;Traiter&quot;}),s&amp;&amp;o&amp;&amp;m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;o(a),className:&quot;inline-flex items-center gap-1 px-2 py-1.5 text-xs font-medium text-red-600 hover:bg-red-50 rounded border border-transparent hover:border-red-200 transition-colors&quot;,title:&quot;Supprimer la recommandation&quot;,children:[m.jsx(ru,{size:14}),&quot;Supprimer&quot;]})]})})]},a.id))})]})})})}function lF({registration:e,isOpen:r,onClose:t,onUpdateStatus:n,canUpdateStatus:o=!1}){return!r||!e?null:m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),m.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:[m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-2xl font-semibold text-ink-900&quot;,children:[&quot;Inscription #&quot;,e.id]}),m.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:m.jsx(Rr,{size:24})})]}),o&amp;&amp;n&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4&quot;,children:m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;{n(e)},children:&quot;Changer le statut&quot;})}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-6&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),m.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom complet&quot;}),m.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.first_name,&quot; &quot;,e.last_name]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.email})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Téléphone&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.phone||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.country||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Ville&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.city||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nationalité&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.nationality||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Organisation&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.organization||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Poste&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.position||&quot;-&quot;})]})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations inscription&quot;}),m.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Statut&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm&quot;,children:m.jsx(Yh,{status:e.status})})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.event?.name||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Formule&quot;}),m.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;m.jsxs(m.Fragment,{children:[e.spouse_fullname&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_fullname})]}),e.spouse_email&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_email})]}),e.spouse_haggai_id&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Haggai ID / Année de HLE (conjoint)&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_haggai_id})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (XOF)&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_xof?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (EUR)&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_eur?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de création&quot;}),m.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;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de soumission&quot;}),m.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;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de paiement&quot;}),m.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;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Type&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:m.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;m.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),m.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Souhaite participer&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Église ou organisation&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_church_organization||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Rôle/Ministère&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_role_ministry||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Situation matrimoniale&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Âge&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_age??&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Genre&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Question ou préoccupation&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_question_or_concern||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de naissance&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_contact_urgence_nom_lien||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau d&#039;études&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaines d&#039;étude&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaine_etude_autre||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau de français&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),m.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;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_details||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Informations santé&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_sante_details||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Régime sans sel&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Confession religieuse&quot;}),m.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;-&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Fardeau de transformation&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_fardeau_transformation||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Recommandé par&quot;}),m.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_recommande_par||&quot;-&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements (autre)&quot;}),m.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;m.jsxs(&quot;div&quot;,{className:&quot;mt-6&quot;,children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Historique des changements&quot;}),m.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:e.status_changes.map(s=&gt;m.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-lg p-4 border-l-4 border-brand-700&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[s.from_status,&quot; → &quot;,s.to_status]}),s.notes&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:s.notes})]}),m.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:s.actor?.name||&quot;Système&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:new Date(s.created_at).toLocaleString(&quot;fr-FR&quot;)})]})]})},s.id))})]})]}),m.jsx(&quot;div&quot;,{className:&quot;bg-gray-50 px-6 py-4 flex justify-end&quot;,children:m.jsx(Fe,{variant:&quot;secondary&quot;,onClick:t,children:&quot;Fermer&quot;})})]})]})})}const Qd=[{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 cF({registration:e,isOpen:r,onClose:t,onSuccess:n,canSendToCorrection:o=!1}){const[s,a]=q.useState(&quot;draft&quot;),[u,l]=q.useState(&quot;&quot;),[i,c]=q.useState(!1),[h,f]=q.useState(null),d=q.useMemo(()=&gt;e?e.status===&quot;correction&quot;?Qd.filter(_=&gt;_.value===&quot;pending_payment&quot;):e.status===&quot;pending_payment&quot;?Qd.filter(_=&gt;_.value!==&quot;submitted&quot;&amp;&amp;(_.value!==&quot;correction&quot;||o)):Qd:Qd,[e?.status,o]),y=s===&quot;correction&quot;,p=10;q.useEffect(()=&gt;{e&amp;&amp;(a(e.status),l(&quot;&quot;),f(null))},[e,r]),q.useEffect(()=&gt;{e&amp;&amp;d.length&gt;0&amp;&amp;!d.some(_=&gt;_.value===s)&amp;&amp;a(d[0].value)},[d,e,s]);const b=async _=&gt;{if(_.preventDefault(),!!e){if(y&amp;&amp;(!u.trim()||u.trim().length&lt;p)){f(`La raison de la mise en correction est obligatoire (min. ${p} caractères).`);return}c(!0),f(null);try{await zl.updateStatus(e.id,{status:s,notes:u.trim()||void 0}),n(),t()}catch(E){if(E instanceof vr)if(E.status===422&amp;&amp;E.data.errors){const M=E.data.errors.notes?.[0],D=E.data.errors.status?.[0];f(M||D||E.data.message||&quot;Erreur de validation&quot;)}else E.status===403?f(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):f(E.data.message||&quot;Une erreur est survenue&quot;);else f(&quot;Une erreur inattendue est survenue&quot;)}finally{c(!1)}}};if(!r||!e)return null;const x=e.status===&quot;correction&quot;&amp;&amp;s===&quot;pending_payment&quot;;return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:x?&quot;Terminer la correction&quot;:&quot;Changer le statut&quot;}),m.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;form&quot;,{onSubmit:b,className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statut actuel&quot;}),m.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900 bg-brand-50 px-4 py-2 rounded-lg&quot;,children:e.status})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;select&quot;,{value:s,onChange:_=&gt;a(_.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0,children:d.map(_=&gt;m.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:y?m.jsxs(m.Fragment,{children:[&quot;Raison de la mise en correction &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;}),&quot; (min. 10 caractères)&quot;]}):&quot;Notes (optionnel)&quot;}),m.jsx(&quot;textarea&quot;,{value:u,onChange:_=&gt;l(_.target.value),rows:4,maxLength:1e3,required:y,minLength:y?p: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:y?&quot;Indiquez la raison de la mise en correction...&quot;:&quot;Ajouter des notes sur ce changement de statut...&quot;}),m.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:[u.length,&quot;/1000 caractères&quot;,y&amp;&amp;u.trim().length&gt;0&amp;&amp;u.trim().length&lt;p&amp;&amp;m.jsxs(&quot;span&quot;,{className:&quot;text-amber-600 ml-1&quot;,children:[&quot;(min. &quot;,p,&quot; requis)&quot;]})]})]}),h&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:h})}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:i,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement...&quot;:x?&quot;Terminer la correction&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function uF({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,s]=q.useState(!1),[a,u]=q.useState(null),[l,i]=q.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_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:&quot;&quot;,seminar_engagements_autre:&quot;&quot;});q.useEffect(()=&gt;{e&amp;&amp;(i({first_name:e.first_name||&quot;&quot;,last_name:e.last_name||&quot;&quot;,email:e.email||&quot;&quot;,phone:e.phone||&quot;&quot;,country:e.country||&quot;&quot;,city:e.city||&quot;&quot;,organization:e.organization||&quot;&quot;,position:e.position||&quot;&quot;,nationality:e.nationality||&quot;&quot;,is_haggai_leader:e.is_haggai_leader||!1,haggai_id:e.haggai_id||&quot;&quot;,payment_method_selected:e.payment_method_selected||&quot;&quot;,currency_selected:e.currency_selected||&quot;&quot;,amount_due_xof:e.amount_due_xof?.toString()||&quot;&quot;,amount_due_eur:e.amount_due_eur?.toString()||&quot;&quot;,pricing_plan_id:e.pricing_plan_id?.toString()||e.pricing_plan?.id?.toString()||&quot;&quot;,ouaga_resident_confirmed:e.ouaga_resident_confirmed||!1,spouse_fullname:e.spouse_fullname||&quot;&quot;,spouse_email:e.spouse_email||&quot;&quot;,spouse_haggai_id:e.spouse_haggai_id||&quot;&quot;,seminar_intent:e.seminar_intent||&quot;&quot;,seminar_want_to_participate:e.seminar_want_to_participate||&quot;&quot;,seminar_church_organization:e.seminar_church_organization||&quot;&quot;,seminar_role_ministry:e.seminar_role_ministry||&quot;&quot;,seminar_marital_status:e.seminar_marital_status||&quot;&quot;,seminar_age:e.seminar_age?.toString()||&quot;&quot;,seminar_gender:e.seminar_gender||&quot;&quot;,seminar_question_or_concern:e.seminar_question_or_concern||&quot;&quot;,seminar_date_naissance:(()=&gt;{const p=e.seminar_date_naissance;return p?typeof p==&quot;string&quot;&amp;&amp;p.includes(&quot;T&quot;)?p.split(&quot;T&quot;)[0]:String(p).slice(0,10):&quot;&quot;})(),seminar_contact_urgence_nom_lien:e.seminar_contact_urgence_nom_lien||&quot;&quot;,seminar_niveau_etudes:e.seminar_niveau_etudes||&quot;&quot;,seminar_domaines_etude:Array.isArray(e.seminar_domaines_etude)?e.seminar_domaines_etude.join(&quot;, &quot;):&quot;&quot;,seminar_domaine_etude_autre:e.seminar_domaine_etude_autre||&quot;&quot;,seminar_niveau_francais:e.seminar_niveau_francais||&quot;&quot;,seminar_besoin_lettre_absence:e.seminar_besoin_lettre_absence||&quot;&quot;,seminar_besoin_lettre_details:e.seminar_besoin_lettre_details||&quot;&quot;,seminar_sante_details:e.seminar_sante_details||&quot;&quot;,seminar_regime_sans_sel:e.seminar_regime_sans_sel||&quot;&quot;,seminar_confession_religieuse:e.seminar_confession_religieuse||&quot;&quot;,seminar_fardeau_transformation:e.seminar_fardeau_transformation||&quot;&quot;,seminar_recommande_par:e.seminar_recommande_par||&quot;&quot;,seminar_engagements:Array.isArray(e.seminar_engagements)?e.seminar_engagements.join(&quot;, &quot;):&quot;&quot;,seminar_engagements_autre:e.seminar_engagements_autre||&quot;&quot;}),u(null))},[e,r]);const c=e?.event?.event_type===&quot;summit&quot;,h=e?.event?.event_type===&quot;seminar&quot;,f=e?.status===&quot;correction&quot;,d=e?.event?.slug??null,{plans:v}=A8(c&amp;&amp;f?d:null),y=async p=&gt;{if(p.preventDefault(),!!e){s(!0),u(null);try{const b={first_name:l.first_name.trim(),last_name:l.last_name.trim(),email:l.email.trim().toLowerCase(),phone:l.phone.trim(),country:l.country.trim(),city:l.city.trim()||void 0,organization:l.organization.trim()||void 0,position:l.position.trim()||void 0,nationality:l.nationality.trim()||void 0,is_haggai_leader:l.is_haggai_leader,haggai_id:l.haggai_id.trim()||void 0,payment_method_selected:l.payment_method_selected||void 0};f&amp;&amp;(l.pricing_plan_id&amp;&amp;(b.pricing_plan_id=Number(l.pricing_plan_id)),b.currency_selected=l.currency_selected||void 0,b.amount_due_xof=l.amount_due_xof?parseFloat(l.amount_due_xof):void 0,b.amount_due_eur=l.amount_due_eur?parseFloat(l.amount_due_eur):void 0),c&amp;&amp;(b.ouaga_resident_confirmed=l.ouaga_resident_confirmed,b.spouse_fullname=l.spouse_fullname.trim()||void 0,b.spouse_email=l.spouse_email.trim()||void 0,b.spouse_haggai_id=l.spouse_haggai_id.trim()||void 0),h&amp;&amp;(b.seminar_intent=l.seminar_intent||void 0,b.seminar_want_to_participate=l.seminar_want_to_participate||void 0,b.seminar_church_organization=l.seminar_church_organization.trim()||void 0,b.seminar_role_ministry=l.seminar_role_ministry.trim()||void 0,b.seminar_marital_status=l.seminar_marital_status||void 0,b.seminar_age=l.seminar_age?parseInt(l.seminar_age):void 0,b.seminar_gender=l.seminar_gender||void 0,b.seminar_question_or_concern=l.seminar_question_or_concern.trim()||void 0,b.seminar_date_naissance=l.seminar_date_naissance?.trim()||void 0,b.seminar_contact_urgence_nom_lien=l.seminar_contact_urgence_nom_lien.trim()||void 0,b.seminar_niveau_etudes=l.seminar_niveau_etudes||void 0,b.seminar_domaines_etude=l.seminar_domaines_etude?.trim()?l.seminar_domaines_etude.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_domaine_etude_autre=l.seminar_domaine_etude_autre.trim()||void 0,b.seminar_niveau_francais=l.seminar_niveau_francais||void 0,b.seminar_besoin_lettre_absence=l.seminar_besoin_lettre_absence||void 0,b.seminar_besoin_lettre_details=l.seminar_besoin_lettre_details.trim()||void 0,b.seminar_sante_details=l.seminar_sante_details.trim()||void 0,b.seminar_regime_sans_sel=l.seminar_regime_sans_sel||void 0,b.seminar_confession_religieuse=l.seminar_confession_religieuse||void 0,b.seminar_fardeau_transformation=l.seminar_fardeau_transformation.trim()||void 0,b.seminar_recommande_par=l.seminar_recommande_par.trim()||void 0,b.seminar_engagements=l.seminar_engagements?.trim()?l.seminar_engagements.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_engagements_autre=l.seminar_engagements_autre.trim()||void 0),await zl.update(e.id,b),n(),t()}catch(b){if(b instanceof vr)if(b.status===422&amp;&amp;b.data.errors){const x=Object.values(b.data.errors).flat();u(x.join(&quot;, &quot;))}else b.status===403?u(&quot;Vous n&#039;avez pas la permission de modifier cette inscription&quot;):u(b.data.message||&quot;Une erreur est survenue&quot;);else u(&quot;Une erreur inattendue est survenue&quot;)}finally{s(!1)}}};return!r||!e?null:m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Modifier l&#039;inscription #&quot;,e.id]}),m.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;form&quot;,{onSubmit:y,className:&quot;space-y-6&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.first_name,onChange:p=&gt;i({...l,first_name:p.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})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.last_name,onChange:p=&gt;i({...l,last_name:p.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})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.email,onChange:p=&gt;i({...l,email:p.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})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Téléphone&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.phone,onChange:p=&gt;i({...l,phone:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Pays&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.country,onChange:p=&gt;i({...l,country:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.city,onChange:p=&gt;i({...l,city:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.organization,onChange:p=&gt;i({...l,organization:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Poste&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.position,onChange:p=&gt;i({...l,position:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.nationality,onChange:p=&gt;i({...l,nationality:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 mt-6&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.is_haggai_leader,onChange:p=&gt;i({...l,is_haggai_leader:p.target.checked}),className:&quot;rounded&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Leader Haggai&quot;})]}),l.is_haggai_leader&amp;&amp;m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.haggai_id,onChange:p=&gt;i({...l,haggai_id:p.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;})]})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations paiement&quot;}),!f&amp;&amp;m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Formule (solo/couple)&quot;}),m.jsxs(&quot;select&quot;,{value:l.pricing_plan_id,onChange:p=&gt;i({...l,pricing_plan_id:p.target.value}),disabled:!f,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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),v.map(p=&gt;m.jsxs(&quot;option&quot;,{value:p.id,children:[p.code,&quot; - &quot;,p.title,&quot; (&quot;,p.price_xof,&quot; XOF / &quot;,p.price_eur,&quot; EUR)&quot;]},p.id))]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Méthode de paiement&quot;}),m.jsxs(&quot;select&quot;,{value:l.payment_method_selected,onChange:p=&gt;i({...l,payment_method_selected:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte de crédit (Visa)&quot;}),m.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),m.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),m.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau National&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Devise&quot;}),m.jsxs(&quot;select&quot;,{value:l.currency_selected,onChange:p=&gt;i({...l,currency_selected:p.target.value}),disabled:!f,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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),m.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (XOF)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_xof,onChange:p=&gt;i({...l,amount_due_xof:p.target.value}),disabled:!f,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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (EUR)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_eur,onChange:p=&gt;i({...l,amount_due_eur:p.target.value}),disabled:!f,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;})]})]})]}),c&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Sommet&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsx(&quot;div&quot;,{children:m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.ouaga_resident_confirmed,onChange:p=&gt;i({...l,ouaga_resident_confirmed:p.target.checked}),className:&quot;rounded&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Résident à Ouaga&quot;})]})}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_fullname,onChange:p=&gt;i({...l,spouse_fullname:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.spouse_email,onChange:p=&gt;i({...l,spouse_email:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_haggai_id,onChange:p=&gt;i({...l,spouse_haggai_id:p.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;})]})]})]}),h&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Veut participer&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_want_to_participate,onChange:p=&gt;i({...l,seminar_want_to_participate:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),m.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Église/Organisation&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_church_organization,onChange:p=&gt;i({...l,seminar_church_organization:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_role_ministry,onChange:p=&gt;i({...l,seminar_role_ministry:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Situation matrimoniale&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_marital_status,onChange:p=&gt;i({...l,seminar_marital_status:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;marie&quot;,children:&quot;Marié(e)&quot;}),m.jsx(&quot;option&quot;,{value:&quot;non_marie&quot;,children:&quot;Non marié(e)&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Âge&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:l.seminar_age,onChange:p=&gt;i({...l,seminar_age:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Genre&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_gender,onChange:p=&gt;i({...l,seminar_gender:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;homme&quot;,children:&quot;Homme&quot;}),m.jsx(&quot;option&quot;,{value:&quot;femme&quot;,children:&quot;Femme&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),m.jsx(&quot;textarea&quot;,{value:l.seminar_question_or_concern,onChange:p=&gt;i({...l,seminar_question_or_concern:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:l.seminar_date_naissance,onChange:p=&gt;i({...l,seminar_date_naissance:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_contact_urgence_nom_lien,onChange:p=&gt;i({...l,seminar_contact_urgence_nom_lien:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau d&#039;études&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_niveau_etudes,onChange:p=&gt;i({...l,seminar_niveau_etudes:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;primaire&quot;,children:&quot;Primaire&quot;}),m.jsx(&quot;option&quot;,{value:&quot;secondaire_2&quot;,children:&quot;Secondaire 2e cycle&quot;}),m.jsx(&quot;option&quot;,{value:&quot;universitaire&quot;,children:&quot;Universitaire&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaines_etude,onChange:p=&gt;i({...l,seminar_domaines_etude:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaine_etude_autre,onChange:p=&gt;i({...l,seminar_domaine_etude_autre:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau de français&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_niveau_francais,onChange:p=&gt;i({...l,seminar_niveau_francais:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;natif&quot;,children:&quot;Natif&quot;}),m.jsx(&quot;option&quot;,{value:&quot;avance&quot;,children:&quot;Avancé&quot;}),m.jsx(&quot;option&quot;,{value:&quot;intermediaire&quot;,children:&quot;Intermédiaire&quot;}),m.jsx(&quot;option&quot;,{value:&quot;faible&quot;,children:&quot;Faible&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsxs(&quot;select&quot;,{value:l.seminar_besoin_lettre_absence,onChange:p=&gt;i({...l,seminar_besoin_lettre_absence:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),m.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_besoin_lettre_details,onChange:p=&gt;i({...l,seminar_besoin_lettre_details:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Informations santé&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_sante_details,onChange:p=&gt;i({...l,seminar_sante_details:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Régime sans sel&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_regime_sans_sel,onChange:p=&gt;i({...l,seminar_regime_sans_sel:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),m.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Confession religieuse&quot;}),m.jsxs(&quot;select&quot;,{value:l.seminar_confession_religieuse,onChange:p=&gt;i({...l,seminar_confession_religieuse:p.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:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),m.jsx(&quot;option&quot;,{value:&quot;musulmane&quot;,children:&quot;Musulmane&quot;}),m.jsx(&quot;option&quot;,{value:&quot;catholique&quot;,children:&quot;Catholique&quot;}),m.jsx(&quot;option&quot;,{value:&quot;protestante&quot;,children:&quot;Protestante&quot;}),m.jsx(&quot;option&quot;,{value:&quot;pentecotiste&quot;,children:&quot;Pentecôtiste&quot;}),m.jsx(&quot;option&quot;,{value:&quot;evangelique&quot;,children:&quot;Évangélique&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Fardeau de transformation&quot;}),m.jsx(&quot;textarea&quot;,{value:l.seminar_fardeau_transformation,onChange:p=&gt;i({...l,seminar_fardeau_transformation:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Recommandé par&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_recommande_par,onChange:p=&gt;i({...l,seminar_recommande_par:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements,onChange:p=&gt;i({...l,seminar_engagements:p.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (autre)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements_autre,onChange:p=&gt;i({...l,seminar_engagements_autre:p.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),a&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function dF({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,s]=q.useState(!1),[a,u]=q.useState(null),l=async()=&gt;{if(e){s(!0),u(null);try{await zl.delete(e.id),n(),t()}catch(i){i instanceof vr?i.status===403?u(&quot;Vous n&#039;avez pas la permission de supprimer cette inscription&quot;):u(i.data.message||&quot;Une erreur est survenue lors de la suppression&quot;):u(&quot;Une erreur inattendue est survenue&quot;)}finally{s(!1)}}};return!r||!e?null:m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Supprimer l&#039;inscription&quot;}),m.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 mb-6&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-12 h-12 rounded-full bg-red-100&quot;,children:m.jsx(uL,{className:&quot;w-6 h-6 text-red-600&quot;})})}),m.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[m.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;}),m.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;,m.jsxs(&quot;strong&quot;,{children:[e.first_name,&quot; &quot;,e.last_name]}),&quot; sera définitivement supprimée.&quot;]}),e.event&amp;&amp;m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Événement: &quot;,m.jsx(&quot;strong&quot;,{children:e.event.name})]})]})]}),a&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3 mb-4&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l,disabled:o,className:&quot;bg-red-600 hover:bg-red-700 text-white&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})]})})}const fF=[{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 hF({recommendation:e,isOpen:r,onClose:t,onSuccess:n}){const[o,s]=q.useState(&quot;pending&quot;),[a,u]=q.useState(&quot;&quot;),[l,i]=q.useState(&quot;&quot;),[c,h]=q.useState(&quot;&quot;),[f,d]=q.useState(!1),[v,y]=q.useState(!1),[p,b]=q.useState(&quot;status&quot;),[x,_]=q.useState(!1),[E,M]=q.useState(null),[D,W]=q.useState(null);q.useEffect(()=&gt;{e&amp;&amp;(s(e.status),u(e.notes||&quot;&quot;),i(&quot;&quot;),h(&quot;&quot;),d(!1),y(!1),M(null),W(null),b(&quot;status&quot;))},[e,r]);const L=async H=&gt;{if(H.preventDefault(),!!e){_(!0),M(null),W(null);try{await nu.updateStatus(e.id,{status:o,notes:a.trim()||void 0}),W(&quot;Statut mis à jour avec succès&quot;),setTimeout(()=&gt;{n(),t()},1e3)}catch(K){if(K instanceof vr)if(K.status===422&amp;&amp;K.data.errors){const z=K.data.errors.status?.[0];M(z||K.data.message||&quot;Erreur de validation&quot;)}else K.status===403?M(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):M(K.data.message||&quot;Une erreur est survenue&quot;);else M(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}},V=async H=&gt;{if(H.preventDefault(),!!e){if(!f&amp;&amp;!v){M(&quot;Veuillez sélectionner au moins un destinataire&quot;);return}_(!0),M(null),W(null);try{const K=await nu.sendEmail(e.id,{subject:l.trim(),message:c.trim(),send_to_recommender:f,send_to_recommended:v});W(`Email(s) envoyé(s) à: ${K.data.emails_sent.join(&quot;, &quot;)}`),setTimeout(()=&gt;{n(),t()},2e3)}catch(K){if(K instanceof vr)if(K.status===422&amp;&amp;K.data.errors){const z=K.data.errors.subject?.[0],O=K.data.errors.message?.[0];M(z||O||K.data.message||&quot;Erreur de validation&quot;)}else M(K.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:m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Traiter la recommandation #&quot;,e.id]}),m.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-brand-50 rounded-lg&quot;,children:[m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[m.jsx(&quot;strong&quot;,{children:&quot;Recommandé:&quot;}),&quot; &quot;,e.recommended_full_name]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[m.jsx(&quot;strong&quot;,{children:&quot;Email recommandé:&quot;}),&quot; &quot;,e.recommended_email||&quot;-&quot;]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[m.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;]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex border-b border-gray-200 mb-4&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;status&quot;),className:`px-4 py-2 text-sm font-medium ${p===&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;}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;email&quot;),className:`px-4 py-2 text-sm font-medium flex items-center gap-2 ${p===&quot;email&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:[m.jsx(ms,{size:16}),&quot;Envoyer un email&quot;]})]}),E&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:E})}),D&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-green-800&quot;,children:D})}),p===&quot;status&quot;&amp;&amp;m.jsxs(&quot;form&quot;,{onSubmit:L,className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;select&quot;,{value:o,onChange:H=&gt;s(H.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:fF.map(H=&gt;m.jsx(&quot;option&quot;,{value:H.value,children:H.label},H.value))})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Notes (optionnel)&quot;}),m.jsx(&quot;textarea&quot;,{value:a,onChange:H=&gt;u(H.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,disabled:x,children:x?&quot;Mise à jour...&quot;:&quot;Mettre à jour le statut&quot;})]})]}),p===&quot;email&quot;&amp;&amp;m.jsxs(&quot;form&quot;,{onSubmit:V,className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Destinataires &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[e.recommended_email?m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:v,onChange:H=&gt;y(H.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandé (&quot;,e.recommended_email,&quot;)&quot;]})]}):m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 italic&quot;,children:&quot;Aucun email disponible pour le recommandé&quot;}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:f,onChange:H=&gt;d(H.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandeur (&quot;,e.recommender_email,&quot;)&quot;]})]})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Sujet &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,onChange:H=&gt;i(H.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})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Message &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;textarea&quot;,{value:c,onChange:H=&gt;h(H.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}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,disabled:x||!f&amp;&amp;!v,children:x?&quot;Envoi...&quot;:&quot;Envoyer l&#039;email&quot;})]})]})]})})]})})}function T8(e){var r,t,n=&quot;&quot;;if(typeof e==&quot;string&quot;||typeof e==&quot;number&quot;)n+=e;else if(typeof e==&quot;object&quot;)if(Array.isArray(e)){var o=e.length;for(r=0;r&lt;o;r++)e[r]&amp;&amp;(t=T8(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 sr(){for(var e,r,t=0,n=&quot;&quot;,o=arguments.length;t&lt;o;t++)(e=arguments[t])&amp;&amp;(r=T8(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=r);return n}var mF=[&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 Xb(e){if(typeof e!=&quot;string&quot;)return!1;var r=mF;return r.includes(e)}var pF=[&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;],gF=new Set(pF);function P8(e){return typeof e!=&quot;string&quot;?!1:gF.has(e)}function I8(e){return typeof e==&quot;string&quot;&amp;&amp;e.startsWith(&quot;data-&quot;)}function Zi(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;(P8(t)||I8(t))&amp;&amp;(r[t]=e[t]);return r}function ku(e){if(e==null)return null;if(q.isValidElement(e)&amp;&amp;typeof e.props==&quot;object&quot;&amp;&amp;e.props!==null){var r=e.props;return Zi(r)}return typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?Zi(e):null}function Bn(e){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(P8(t)||I8(t)||Xb(t))&amp;&amp;(r[t]=e[t]);return r}function vF(e){return e==null?null:q.isValidElement(e)?Bn(e.props):typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?Bn(e):null}var yF=[&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 ay(){return ay=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},ay.apply(null,arguments)}function bF(e,r){if(e==null)return{};var t,n,o=xF(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function xF(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 Gb=q.forwardRef((e,r)=&gt;{var{children:t,width:n,height:o,viewBox:s,className:a,style:u,title:l,desc:i}=e,c=bF(e,yF),h=s||{width:n,height:o,x:0,y:0},f=sr(&quot;recharts-surface&quot;,a);return q.createElement(&quot;svg&quot;,ay({},Bn(c),{className:f,width:n,height:o,style:u,viewBox:&quot;&quot;.concat(h.x,&quot; &quot;).concat(h.y,&quot; &quot;).concat(h.width,&quot; &quot;).concat(h.height),ref:r}),q.createElement(&quot;title&quot;,null,l),q.createElement(&quot;desc&quot;,null,i),t)}),wF=[&quot;children&quot;,&quot;className&quot;];function oy(){return oy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},oy.apply(null,arguments)}function _F(e,r){if(e==null)return{};var t,n,o=jF(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function jF(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 Mi=q.forwardRef((e,r)=&gt;{var{children:t,className:n}=e,o=_F(e,wF),s=sr(&quot;recharts-layer&quot;,n);return q.createElement(&quot;g&quot;,oy({className:s},Bn(o),{ref:r}),t)}),R8=q.createContext(null),SF=()=&gt;q.useContext(R8);function hr(e){return function(){return e}}const D8=Math.cos,Wf=Math.sin,rs=Math.sqrt,Hf=Math.PI,Zh=2*Hf,ly=Math.PI,cy=2*ly,lo=1e-6,kF=cy-lo;function L8(e){this._+=e[0];for(let r=1,t=e.length;r&lt;t;++r)this._+=arguments[r]+e[r]}function NF(e){let r=Math.floor(e);if(!(r&gt;=0))throw new Error(`invalid digits: ${e}`);if(r&gt;15)return L8;const t=10**r;return function(n){this._+=n[0];for(let o=1,s=n.length;o&lt;s;++o)this._+=Math.round(arguments[o]*t)/t+n[o]}}class CF{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._=&quot;&quot;,this._append=r==null?L8:NF(r)}moveTo(r,t){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&amp;&amp;(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,t){this._append`L${this._x1=+r},${this._y1=+t}`}quadraticCurveTo(r,t,n,o){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+o}`}bezierCurveTo(r,t,n,o,s,a){this._append`C${+r},${+t},${+n},${+o},${this._x1=+s},${this._y1=+a}`}arcTo(r,t,n,o,s){if(r=+r,t=+t,n=+n,o=+o,s=+s,s&lt;0)throw new Error(`negative radius: ${s}`);let a=this._x1,u=this._y1,l=n-r,i=o-t,c=a-r,h=u-t,f=c*c+h*h;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(f&gt;lo)if(!(Math.abs(h*l-i*c)&gt;lo)||!s)this._append`L${this._x1=r},${this._y1=t}`;else{let d=n-a,v=o-u,y=l*l+i*i,p=d*d+v*v,b=Math.sqrt(y),x=Math.sqrt(f),_=s*Math.tan((ly-Math.acos((y+f-p)/(2*b*x)))/2),E=_/x,M=_/b;Math.abs(E-1)&gt;lo&amp;&amp;this._append`L${r+E*c},${t+E*h}`,this._append`A${s},${s},0,0,${+(h*d&gt;c*v)},${this._x1=r+M*l},${this._y1=t+M*i}`}}arc(r,t,n,o,s,a){if(r=+r,t=+t,n=+n,a=!!a,n&lt;0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(o),l=n*Math.sin(o),i=r+u,c=t+l,h=1^a,f=a?o-s:s-o;this._x1===null?this._append`M${i},${c}`:(Math.abs(this._x1-i)&gt;lo||Math.abs(this._y1-c)&gt;lo)&amp;&amp;this._append`L${i},${c}`,n&amp;&amp;(f&lt;0&amp;&amp;(f=f%cy+cy),f&gt;kF?this._append`A${n},${n},0,1,${h},${r-u},${t-l}A${n},${n},0,1,${h},${this._x1=i},${this._y1=c}`:f&gt;lo&amp;&amp;this._append`A${n},${n},0,${+(f&gt;=ly)},${h},${this._x1=r+n*Math.cos(s)},${this._y1=t+n*Math.sin(s)}`)}rect(r,t,n,o){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function Yb(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 CF(r)}function Zb(e){return typeof e==&quot;object&quot;&amp;&amp;&quot;length&quot;in e?e:Array.from(e)}function F8(e){this._context=e}F8.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 Qh(e){return new F8(e)}function B8(e){return e[0]}function z8(e){return e[1]}function $8(e,r){var t=hr(!0),n=null,o=Qh,s=null,a=Yb(u);e=typeof e==&quot;function&quot;?e:e===void 0?B8:hr(e),r=typeof r==&quot;function&quot;?r:r===void 0?z8:hr(r);function u(l){var i,c=(l=Zb(l)).length,h,f=!1,d;for(n==null&amp;&amp;(s=o(d=a())),i=0;i&lt;=c;++i)!(i&lt;c&amp;&amp;t(h=l[i],i,l))===f&amp;&amp;((f=!f)?s.lineStart():s.lineEnd()),f&amp;&amp;s.point(+e(h,i,l),+r(h,i,l));if(d)return s=null,d+&quot;&quot;||null}return u.x=function(l){return arguments.length?(e=typeof l==&quot;function&quot;?l:hr(+l),u):e},u.y=function(l){return arguments.length?(r=typeof l==&quot;function&quot;?l:hr(+l),u):r},u.defined=function(l){return arguments.length?(t=typeof l==&quot;function&quot;?l:hr(!!l),u):t},u.curve=function(l){return arguments.length?(o=l,n!=null&amp;&amp;(s=o(n)),u):o},u.context=function(l){return arguments.length?(l==null?n=s=null:s=o(n=l),u):n},u}function Jd(e,r,t){var n=null,o=hr(!0),s=null,a=Qh,u=null,l=Yb(i);e=typeof e==&quot;function&quot;?e:e===void 0?B8:hr(+e),r=typeof r==&quot;function&quot;?r:hr(r===void 0?0:+r),t=typeof t==&quot;function&quot;?t:t===void 0?z8:hr(+t);function i(h){var f,d,v,y=(h=Zb(h)).length,p,b=!1,x,_=new Array(y),E=new Array(y);for(s==null&amp;&amp;(u=a(x=l())),f=0;f&lt;=y;++f){if(!(f&lt;y&amp;&amp;o(p=h[f],f,h))===b)if(b=!b)d=f,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),v=f-1;v&gt;=d;--v)u.point(_[v],E[v]);u.lineEnd(),u.areaEnd()}b&amp;&amp;(_[f]=+e(p,f,h),E[f]=+r(p,f,h),u.point(n?+n(p,f,h):_[f],t?+t(p,f,h):E[f]))}if(x)return u=null,x+&quot;&quot;||null}function c(){return $8().defined(o).curve(a).context(s)}return i.x=function(h){return arguments.length?(e=typeof h==&quot;function&quot;?h:hr(+h),n=null,i):e},i.x0=function(h){return arguments.length?(e=typeof h==&quot;function&quot;?h:hr(+h),i):e},i.x1=function(h){return arguments.length?(n=h==null?null:typeof h==&quot;function&quot;?h:hr(+h),i):n},i.y=function(h){return arguments.length?(r=typeof h==&quot;function&quot;?h:hr(+h),t=null,i):r},i.y0=function(h){return arguments.length?(r=typeof h==&quot;function&quot;?h:hr(+h),i):r},i.y1=function(h){return arguments.length?(t=h==null?null:typeof h==&quot;function&quot;?h:hr(+h),i):t},i.lineX0=i.lineY0=function(){return c().x(e).y(r)},i.lineY1=function(){return c().x(e).y(t)},i.lineX1=function(){return c().x(n).y(r)},i.defined=function(h){return arguments.length?(o=typeof h==&quot;function&quot;?h:hr(!!h),i):o},i.curve=function(h){return arguments.length?(a=h,s!=null&amp;&amp;(u=a(s)),i):a},i.context=function(h){return arguments.length?(h==null?s=u=null:u=a(s=h),i):s},i}class U8{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 EF(e){return new U8(e,!0)}function AF(e){return new U8(e,!1)}const Qb={draw(e,r){const t=rs(r/Hf);e.moveTo(t,0),e.arc(0,0,t,0,Zh)}},MF={draw(e,r){const t=rs(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()}},V8=rs(1/3),OF=V8*2,TF={draw(e,r){const t=rs(r/OF),n=t*V8;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},PF={draw(e,r){const t=rs(r),n=-t/2;e.rect(n,n,t,t)}},IF=.8908130915292852,q8=Wf(Hf/10)/Wf(7*Hf/10),RF=Wf(Zh/10)*q8,DF=-D8(Zh/10)*q8,LF={draw(e,r){const t=rs(r*IF),n=RF*t,o=DF*t;e.moveTo(0,-t),e.lineTo(n,o);for(let s=1;s&lt;5;++s){const a=Zh*s/5,u=D8(a),l=Wf(a);e.lineTo(l*t,-u*t),e.lineTo(u*n-l*o,l*n+u*o)}e.closePath()}},$0=rs(3),FF={draw(e,r){const t=-rs(r/($0*3));e.moveTo(0,t*2),e.lineTo(-$0*t,-t),e.lineTo($0*t,-t),e.closePath()}},_i=-.5,ji=rs(3)/2,uy=1/rs(12),BF=(uy/2+1)*3,zF={draw(e,r){const t=rs(r/BF),n=t/2,o=t*uy,s=n,a=t*uy+t,u=-s,l=a;e.moveTo(n,o),e.lineTo(s,a),e.lineTo(u,l),e.lineTo(_i*n-ji*o,ji*n+_i*o),e.lineTo(_i*s-ji*a,ji*s+_i*a),e.lineTo(_i*u-ji*l,ji*u+_i*l),e.lineTo(_i*n+ji*o,_i*o-ji*n),e.lineTo(_i*s+ji*a,_i*a-ji*s),e.lineTo(_i*u+ji*l,_i*l-ji*u),e.closePath()}};function $F(e,r){let t=null,n=Yb(o);e=typeof e==&quot;function&quot;?e:hr(e||Qb),r=typeof r==&quot;function&quot;?r:hr(r===void 0?64:+r);function o(){let s;if(t||(t=s=n()),e.apply(this,arguments).draw(t,+r.apply(this,arguments)),s)return t=null,s+&quot;&quot;||null}return o.type=function(s){return arguments.length?(e=typeof s==&quot;function&quot;?s:hr(s),o):e},o.size=function(s){return arguments.length?(r=typeof s==&quot;function&quot;?s:hr(+s),o):r},o.context=function(s){return arguments.length?(t=s??null,o):t},o}function Kf(){}function Xf(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 W8(e){this._context=e}W8.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:Xf(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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function UF(e){return new W8(e)}function H8(e){this._context=e}H8.prototype={areaStart:Kf,areaEnd:Kf,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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function VF(e){return new H8(e)}function K8(e){this._context=e}K8.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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function qF(e){return new K8(e)}function X8(e){this._context=e}X8.prototype={areaStart:Kf,areaEnd:Kf,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 WF(e){return new X8(e)}function O3(e){return e&lt;0?-1:1}function T3(e,r,t){var n=e._x1-e._x0,o=r-e._x1,s=(e._y1-e._y0)/(n||o&lt;0&amp;&amp;-0),a=(t-e._y1)/(o||n&lt;0&amp;&amp;-0),u=(s*o+a*n)/(n+o);return(O3(s)+O3(a))*Math.min(Math.abs(s),Math.abs(a),.5*Math.abs(u))||0}function P3(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function U0(e,r,t){var n=e._x0,o=e._y0,s=e._x1,a=e._y1,u=(s-n)/3;e._context.bezierCurveTo(n+u,o+u*r,s-u,a-u*t,s,a)}function Gf(e){this._context=e}Gf.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:U0(this,this._t0,P3(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,U0(this,P3(this,t=T3(this,e,r)),t);break;default:U0(this,this._t0,t=T3(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function G8(e){this._context=new Y8(e)}(G8.prototype=Object.create(Gf.prototype)).point=function(e,r){Gf.prototype.point.call(this,r,e)};function Y8(e){this._context=e}Y8.prototype={moveTo:function(e,r){this._context.moveTo(r,e)},closePath:function(){this._context.closePath()},lineTo:function(e,r){this._context.lineTo(r,e)},bezierCurveTo:function(e,r,t,n,o,s){this._context.bezierCurveTo(r,e,n,t,s,o)}};function HF(e){return new Gf(e)}function KF(e){return new G8(e)}function Z8(e){this._context=e}Z8.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=I3(e),o=I3(r),s=0,a=1;a&lt;t;++s,++a)this._context.bezierCurveTo(n[0][s],o[0][s],n[1][s],o[1][s],e[a],r[a]);(this._line||this._line!==0&amp;&amp;t===1)&amp;&amp;this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,r){this._x.push(+e),this._y.push(+r)}};function I3(e){var r,t=e.length-1,n,o=new Array(t),s=new Array(t),a=new Array(t);for(o[0]=0,s[0]=2,a[0]=e[0]+2*e[1],r=1;r&lt;t-1;++r)o[r]=1,s[r]=4,a[r]=4*e[r]+2*e[r+1];for(o[t-1]=2,s[t-1]=7,a[t-1]=8*e[t-1]+e[t],r=1;r&lt;t;++r)n=o[r]/s[r-1],s[r]-=n,a[r]-=n*a[r-1];for(o[t-1]=a[t-1]/s[t-1],r=t-2;r&gt;=0;--r)o[r]=(a[r]-o[r+1])/s[r];for(s[t-1]=(e[t]+o[t-1])/2,r=0;r&lt;t-1;++r)s[r]=2*e[r+1]-o[r+1];return[o,s]}function XF(e){return new Z8(e)}function Jh(e,r){this._context=e,this._t=r}Jh.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 GF(e){return new Jh(e,.5)}function YF(e){return new Jh(e,0)}function ZF(e){return new Jh(e,1)}function So(e,r){if((a=e.length)&gt;1)for(var t=1,n,o,s=e[r[0]],a,u=s.length;t&lt;a;++t)for(o=s,s=e[r[t]],n=0;n&lt;u;++n)s[n][1]+=s[n][0]=isNaN(o[n][1])?o[n][0]:o[n][1]}function dy(e){for(var r=e.length,t=new Array(r);--r&gt;=0;)t[r]=r;return t}function QF(e,r){return e[r]}function JF(e){const r=[];return r.key=e,r}function eB(){var e=hr([]),r=dy,t=So,n=QF;function o(s){var a=Array.from(e.apply(this,arguments),JF),u,l=a.length,i=-1,c;for(const h of s)for(u=0,++i;u&lt;l;++u)(a[u][i]=[0,+n(h,a[u].key,i,s)]).data=h;for(u=0,c=Zb(r(a));u&lt;l;++u)a[c[u]].index=u;return t(a,c),a}return o.keys=function(s){return arguments.length?(e=typeof s==&quot;function&quot;?s:hr(Array.from(s)),o):e},o.value=function(s){return arguments.length?(n=typeof s==&quot;function&quot;?s:hr(+s),o):n},o.order=function(s){return arguments.length?(r=s==null?dy:typeof s==&quot;function&quot;?s:hr(Array.from(s)),o):r},o.offset=function(s){return arguments.length?(t=s??So,o):t},o}function tB(e,r){if((n=e.length)&gt;0){for(var t,n,o=0,s=e[0].length,a;o&lt;s;++o){for(a=t=0;t&lt;n;++t)a+=e[t][o][1]||0;if(a)for(t=0;t&lt;n;++t)e[t][o][1]/=a}So(e,r)}}function rB(e,r){if((o=e.length)&gt;0){for(var t=0,n=e[r[0]],o,s=n.length;t&lt;s;++t){for(var a=0,u=0;a&lt;o;++a)u+=e[a][t][1]||0;n[t][1]+=n[t][0]=-u/2}So(e,r)}}function nB(e,r){if(!(!((a=e.length)&gt;0)||!((s=(o=e[r[0]]).length)&gt;0))){for(var t=0,n=1,o,s,a;n&lt;s;++n){for(var u=0,l=0,i=0;u&lt;a;++u){for(var c=e[r[u]],h=c[n][1]||0,f=c[n-1][1]||0,d=(h-f)/2,v=0;v&lt;u;++v){var y=e[r[v]],p=y[n][1]||0,b=y[n-1][1]||0;d+=p-b}l+=h,i+=d*h}o[n-1][1]+=o[n-1][0]=t,l&amp;&amp;(t-=i/l)}o[n-1][1]+=o[n-1][0]=t,So(e,r)}}var V0={},q0={},R3;function iB(){return R3||(R3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t===&quot;__proto__&quot;}e.isUnsafeProperty=r})(q0)),q0}var W0={},D3;function Q8(){return D3||(D3=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})(W0)),W0}var H0={},L3;function Jb(){return L3||(L3=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})(H0)),H0}var K0={},X0={},F3;function sB(){return F3||(F3=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})(X0)),X0}var B3;function ex(){return B3||(B3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=sB(),t=Jb();function n(o){if(Array.isArray(o))return o.map(t.toKey);if(typeof o==&quot;symbol&quot;)return[o];o=r.toString(o);const s=[],a=o.length;if(a===0)return s;let u=0,l=&quot;&quot;,i=&quot;&quot;,c=!1;for(o.charCodeAt(0)===46&amp;&amp;(s.push(&quot;&quot;),u++);u&lt;a;){const h=o[u];i?h===&quot;\\&quot;&amp;&amp;u+1&lt;a?(u++,l+=o[u]):h===i?i=&quot;&quot;:l+=h:c?h===&#039;&quot;&#039;||h===&quot;&#039;&quot;?i=h:h===&quot;]&quot;?(c=!1,s.push(l),l=&quot;&quot;):l+=h:h===&quot;[&quot;?(c=!0,l&amp;&amp;(s.push(l),l=&quot;&quot;)):h===&quot;.&quot;?l&amp;&amp;(s.push(l),l=&quot;&quot;):l+=h,u++}return l&amp;&amp;s.push(l),s}e.toPath=n})(K0)),K0}var z3;function tx(){return z3||(z3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=iB(),t=Q8(),n=Jb(),o=ex();function s(u,l,i){if(u==null)return i;switch(typeof l){case&quot;string&quot;:{if(r.isUnsafeProperty(l))return i;const c=u[l];return c===void 0?t.isDeepKey(l)?s(u,o.toPath(l),i):i:c}case&quot;number&quot;:case&quot;symbol&quot;:{typeof l==&quot;number&quot;&amp;&amp;(l=n.toKey(l));const c=u[l];return c===void 0?i:c}default:{if(Array.isArray(l))return a(u,l,i);if(Object.is(l?.valueOf(),-0)?l=&quot;-0&quot;:l=String(l),r.isUnsafeProperty(l))return i;const c=u[l];return c===void 0?i:c}}}function a(u,l,i){if(l.length===0)return i;let c=u;for(let h=0;h&lt;l.length;h++){if(c==null||r.isUnsafeProperty(l[h]))return i;c=c[l[h]]}return c===void 0?i:c}e.get=s})(V0)),V0}var G0,$3;function aB(){return $3||($3=1,G0=tx().get),G0}var oB=aB();const Nl=ts(oB);var lB=4;function Ca(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:lB,t=10**r,n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Pr(e){for(var r=arguments.length,t=new Array(r&gt;1?r-1:0),n=1;n&lt;r;n++)t[n-1]=arguments[n];return e.reduce((o,s,a)=&gt;{var u=t[a-1];return typeof u==&quot;string&quot;?o+u+s:u!==void 0?o+Ca(u)+s:o+s},&quot;&quot;)}var Zn=e=&gt;e===0?0:e&gt;0?1:-1,Qi=e=&gt;typeof e==&quot;number&quot;&amp;&amp;e!=+e,qs=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.indexOf(&quot;%&quot;)===e.length-1,pt=e=&gt;(typeof e==&quot;number&quot;||e instanceof Number)&amp;&amp;!Qi(e),bs=e=&gt;pt(e)||typeof e==&quot;string&quot;,cB=0,su=e=&gt;{var r=++cB;return&quot;&quot;.concat(e||&quot;&quot;).concat(r)},Ji=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0,o=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:!1;if(!pt(r)&amp;&amp;typeof r!=&quot;string&quot;)return n;var s;if(qs(r)){if(t==null)return n;var a=r.indexOf(&quot;%&quot;);s=t*parseFloat(r.slice(0,a))/100}else s=+r;return Qi(s)&amp;&amp;(s=n),o&amp;&amp;t!=null&amp;&amp;s&gt;t&amp;&amp;(s=t),s},J8=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 Ir(e,r,t){return pt(e)&amp;&amp;pt(r)?Ca(e+t*(r-e)):r}function eN(e,r,t){if(!(!e||!e.length))return e.find(n=&gt;n&amp;&amp;(typeof r==&quot;function&quot;?r(n):Nl(n,r))===t)}var jr=e=&gt;e===null||typeof e&gt;&quot;u&quot;,Nu=e=&gt;jr(e)?e:&quot;&quot;.concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function uB(e){return e!=null}function Cu(){}var dB=[&quot;type&quot;,&quot;size&quot;,&quot;sizeType&quot;];function fy(){return fy=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},fy.apply(null,arguments)}function U3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function V3(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?U3(Object(t),!0).forEach(function(n){fB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):U3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fB(e,r,t){return(r=hB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function hB(e){var r=mB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function mB(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 pB(e,r){if(e==null)return{};var t,n,o=gB(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function gB(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 tN={symbolCircle:Qb,symbolCross:MF,symbolDiamond:TF,symbolSquare:PF,symbolStar:LF,symbolTriangle:FF,symbolWye:zF},vB=Math.PI/180,yB=e=&gt;{var r=&quot;symbol&quot;.concat(Nu(e));return tN[r]||Qb},bB=(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*vB;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}},xB=(e,r)=&gt;{tN[&quot;symbol&quot;.concat(Nu(e))]=r},rx=e=&gt;{var{type:r=&quot;circle&quot;,size:t=64,sizeType:n=&quot;area&quot;}=e,o=pB(e,dB),s=V3(V3({},o),{},{type:r,size:t,sizeType:n}),a=&quot;circle&quot;;typeof r==&quot;string&quot;&amp;&amp;(a=r);var u=()=&gt;{var f=yB(a),d=$F().type(f).size(bB(t,n,a)),v=d();if(v!==null)return v},{className:l,cx:i,cy:c}=s,h=Bn(s);return pt(i)&amp;&amp;pt(c)&amp;&amp;pt(t)?q.createElement(&quot;path&quot;,fy({},h,{className:sr(&quot;recharts-symbols&quot;,l),transform:&quot;translate(&quot;.concat(i,&quot;, &quot;).concat(c,&quot;)&quot;),d:u()})):null};rx.registerSymbol=xB;var rN=e=&gt;&quot;radius&quot;in e&amp;&amp;&quot;startAngle&quot;in e&amp;&amp;&quot;endAngle&quot;in e,nx=(e,r)=&gt;{if(!e||typeof e==&quot;function&quot;||typeof e==&quot;boolean&quot;)return null;var t=e;if(q.isValidElement(e)&amp;&amp;(t=e.props),typeof t!=&quot;object&quot;&amp;&amp;typeof t!=&quot;function&quot;)return null;var n={};return Object.keys(t).forEach(o=&gt;{Xb(o)&amp;&amp;(n[o]=(s=&gt;t[o](t,s)))}),n},wB=(e,r,t)=&gt;n=&gt;(e(r,t,n),null),em=(e,r,t)=&gt;{if(e===null||typeof e!=&quot;object&quot;&amp;&amp;typeof e!=&quot;function&quot;)return null;var n=null;return Object.keys(e).forEach(o=&gt;{var s=e[o];Xb(o)&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;(n||(n={}),n[o]=wB(s,r,t))}),n};function q3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function _B(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?q3(Object(t),!0).forEach(function(n){jB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function jB(e,r,t){return(r=SB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function SB(e){var r=kB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function kB(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 xn(e,r){var t=_B({},e),n=r,o=Object.keys(r),s=o.reduce((a,u)=&gt;(a[u]===void 0&amp;&amp;n[u]!==void 0&amp;&amp;(a[u]=n[u]),a),t);return s}function Yf(){return Yf=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},Yf.apply(null,arguments)}function W3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function NB(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?W3(Object(t),!0).forEach(function(n){CB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function CB(e,r,t){return(r=EB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function EB(e){var r=AB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function AB(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 Ni=32,MB={align:&quot;center&quot;,iconSize:14,inactiveColor:&quot;#ccc&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;middle&quot;};function OB(e){var{data:r,iconType:t,inactiveColor:n}=e,o=Ni/2,s=Ni/6,a=Ni/3,u=r.inactive?n:r.color,l=t??r.type;if(l===&quot;none&quot;)return null;if(l===&quot;plainline&quot;){var i;return q.createElement(&quot;line&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,strokeDasharray:(i=r.payload)===null||i===void 0?void 0:i.strokeDasharray,x1:0,y1:o,x2:Ni,y2:o,className:&quot;recharts-legend-icon&quot;})}if(l===&quot;line&quot;)return q.createElement(&quot;path&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,d:&quot;M0,&quot;.concat(o,&quot;h&quot;).concat(a,`
            A`).concat(s,&quot;,&quot;).concat(s,&quot;,0,1,1,&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            H`).concat(Ni,&quot;M&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            A`).concat(s,&quot;,&quot;).concat(s,&quot;,0,1,1,&quot;).concat(a,&quot;,&quot;).concat(o),className:&quot;recharts-legend-icon&quot;});if(l===&quot;rect&quot;)return q.createElement(&quot;path&quot;,{stroke:&quot;none&quot;,fill:u,d:&quot;M0,&quot;.concat(Ni/8,&quot;h&quot;).concat(Ni,&quot;v&quot;).concat(Ni*3/4,&quot;h&quot;).concat(-Ni,&quot;z&quot;),className:&quot;recharts-legend-icon&quot;});if(q.isValidElement(r.legendIcon)){var c=NB({},r);return delete c.legendIcon,q.cloneElement(r.legendIcon,c)}return q.createElement(rx,{fill:u,cx:o,cy:o,size:Ni,sizeType:&quot;diameter&quot;,type:l})}function TB(e){var{payload:r,iconSize:t,layout:n,formatter:o,inactiveColor:s,iconType:a}=e,u={x:0,y:0,width:Ni,height:Ni},l={display:n===&quot;horizontal&quot;?&quot;inline-block&quot;:&quot;block&quot;,marginRight:10},i={display:&quot;inline-block&quot;,verticalAlign:&quot;middle&quot;,marginRight:4};return r.map((c,h)=&gt;{var f=c.formatter||o,d=sr({&quot;recharts-legend-item&quot;:!0,[&quot;legend-item-&quot;.concat(h)]:!0,inactive:c.inactive});if(c.type===&quot;none&quot;)return null;var v=c.inactive?s:c.color,y=f?f(c.value,c,h):c.value;return q.createElement(&quot;li&quot;,Yf({className:d,style:l,key:&quot;legend-item-&quot;.concat(h)},em(e,c,h)),q.createElement(Gb,{width:t,height:t,viewBox:u,style:i,&quot;aria-label&quot;:&quot;&quot;.concat(y,&quot; legend icon&quot;)},q.createElement(OB,{data:c,iconType:a,inactiveColor:s})),q.createElement(&quot;span&quot;,{className:&quot;recharts-legend-item-text&quot;,style:{color:v}},y))})}var PB=e=&gt;{var r=xn(e,MB),{payload:t,layout:n,align:o}=r;if(!t||!t.length)return null;var s={padding:0,margin:0,textAlign:n===&quot;horizontal&quot;?o:&quot;left&quot;};return q.createElement(&quot;ul&quot;,{className:&quot;recharts-default-legend&quot;,style:s},q.createElement(TB,Yf({},r,{payload:t})))},Y0={},Z0={},H3;function IB(){return H3||(H3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){const o=new Map;for(let s=0;s&lt;t.length;s++){const a=t[s],u=n(a,s,t);o.has(u)||o.set(u,a)}return Array.from(o.values())}e.uniqBy=r})(Z0)),Z0}var Q0={},K3;function RB(){return K3||(K3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return function(...o){return t.apply(this,o.slice(0,n))}}e.ary=r})(Q0)),Q0}var J0={},X3;function nN(){return X3||(X3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t}e.identity=r})(J0)),J0}var eg={},tg={},rg={},G3;function DB(){return G3||(G3=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})(rg)),rg}var Y3;function ix(){return Y3||(Y3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=DB();function t(n){return n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;r.isLength(n.length)}e.isArrayLike=t})(tg)),tg}var ng={},Z3;function LB(){return Z3||(Z3=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})(ng)),ng}var Q3;function FB(){return Q3||(Q3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=ix(),t=LB();function n(o){return t.isObjectLike(o)&amp;&amp;r.isArrayLike(o)}e.isArrayLikeObject=n})(eg)),eg}var ig={},sg={},J3;function BB(){return J3||(J3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=tx();function t(n){return function(o){return r.get(o,n)}}e.property=t})(sg)),sg}var ag={},og={},lg={},cg={},e4;function iN(){return e4||(e4=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})(cg)),cg}var ug={},t4;function sN(){return t4||(t4=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})(ug)),ug}var dg={},r4;function aN(){return r4||(r4=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})(dg)),dg}var n4;function zB(){return n4||(n4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=iN(),t=sN(),n=aN();function o(c,h,f){return typeof f!=&quot;function&quot;?o(c,h,()=&gt;{}):s(c,h,function d(v,y,p,b,x,_){const E=f(v,y,p,b,x,_);return E!==void 0?!!E:s(v,y,d,_)},new Map)}function s(c,h,f,d){if(h===c)return!0;switch(typeof h){case&quot;object&quot;:return a(c,h,f,d);case&quot;function&quot;:return Object.keys(h).length&gt;0?s(c,{...h},f,d):n.isEqualsSameValueZero(c,h);default:return r.isObject(c)?typeof h==&quot;string&quot;?h===&quot;&quot;:!0:n.isEqualsSameValueZero(c,h)}}function a(c,h,f,d){if(h==null)return!0;if(Array.isArray(h))return l(c,h,f,d);if(h instanceof Map)return u(c,h,f,d);if(h instanceof Set)return i(c,h,f,d);const v=Object.keys(h);if(c==null||t.isPrimitive(c))return v.length===0;if(v.length===0)return!0;if(d?.has(h))return d.get(h)===c;d?.set(h,c);try{for(let y=0;y&lt;v.length;y++){const p=v[y];if(!t.isPrimitive(c)&amp;&amp;!(p in c)||h[p]===void 0&amp;&amp;c[p]!==void 0||h[p]===null&amp;&amp;c[p]!==null||!f(c[p],h[p],p,c,h,d))return!1}return!0}finally{d?.delete(h)}}function u(c,h,f,d){if(h.size===0)return!0;if(!(c instanceof Map))return!1;for(const[v,y]of h.entries()){const p=c.get(v);if(f(p,y,v,c,h,d)===!1)return!1}return!0}function l(c,h,f,d){if(h.length===0)return!0;if(!Array.isArray(c))return!1;const v=new Set;for(let y=0;y&lt;h.length;y++){const p=h[y];let b=!1;for(let x=0;x&lt;c.length;x++){if(v.has(x))continue;const _=c[x];let E=!1;if(f(_,p,y,c,h,d)&amp;&amp;(E=!0),E){v.add(x),b=!0;break}}if(!b)return!1}return!0}function i(c,h,f,d){return h.size===0?!0:c instanceof Set?l([...c],[...h],f,d):!1}e.isMatchWith=o,e.isSetMatch=i})(lg)),lg}var i4;function oN(){return i4||(i4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=zB();function t(n,o){return r.isMatchWith(n,o,()=&gt;{})}e.isMatch=t})(og)),og}var fg={},hg={},mg={},s4;function $B(){return s4||(s4=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})(mg)),mg}var pg={},a4;function sx(){return a4||(a4=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})(pg)),pg}var gg={},o4;function lN(){return o4||(o4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=&quot;[object RegExp]&quot;,t=&quot;[object String]&quot;,n=&quot;[object Number]&quot;,o=&quot;[object Boolean]&quot;,s=&quot;[object Arguments]&quot;,a=&quot;[object Symbol]&quot;,u=&quot;[object Date]&quot;,l=&quot;[object Map]&quot;,i=&quot;[object Set]&quot;,c=&quot;[object Array]&quot;,h=&quot;[object Function]&quot;,f=&quot;[object ArrayBuffer]&quot;,d=&quot;[object Object]&quot;,v=&quot;[object Error]&quot;,y=&quot;[object DataView]&quot;,p=&quot;[object Uint8Array]&quot;,b=&quot;[object Uint8ClampedArray]&quot;,x=&quot;[object Uint16Array]&quot;,_=&quot;[object Uint32Array]&quot;,E=&quot;[object BigUint64Array]&quot;,M=&quot;[object Int8Array]&quot;,D=&quot;[object Int16Array]&quot;,W=&quot;[object Int32Array]&quot;,L=&quot;[object BigInt64Array]&quot;,V=&quot;[object Float32Array]&quot;,H=&quot;[object Float64Array]&quot;;e.argumentsTag=s,e.arrayBufferTag=f,e.arrayTag=c,e.bigInt64ArrayTag=L,e.bigUint64ArrayTag=E,e.booleanTag=o,e.dataViewTag=y,e.dateTag=u,e.errorTag=v,e.float32ArrayTag=V,e.float64ArrayTag=H,e.functionTag=h,e.int16ArrayTag=D,e.int32ArrayTag=W,e.int8ArrayTag=M,e.mapTag=l,e.numberTag=n,e.objectTag=d,e.regexpTag=r,e.setTag=i,e.stringTag=t,e.symbolTag=a,e.uint16ArrayTag=x,e.uint32ArrayTag=_,e.uint8ArrayTag=p,e.uint8ClampedArrayTag=b})(gg)),gg}var vg={},l4;function UB(){return l4||(l4=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})(vg)),vg}var c4;function cN(){return c4||(c4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=$B(),t=sx(),n=lN(),o=sN(),s=UB();function a(c,h){return u(c,void 0,c,new Map,h)}function u(c,h,f,d=new Map,v=void 0){const y=v?.(c,h,f,d);if(y!==void 0)return y;if(o.isPrimitive(c))return c;if(d.has(c))return d.get(c);if(Array.isArray(c)){const p=new Array(c.length);d.set(c,p);for(let b=0;b&lt;c.length;b++)p[b]=u(c[b],b,f,d,v);return Object.hasOwn(c,&quot;index&quot;)&amp;&amp;(p.index=c.index),Object.hasOwn(c,&quot;input&quot;)&amp;&amp;(p.input=c.input),p}if(c instanceof Date)return new Date(c.getTime());if(c instanceof RegExp){const p=new RegExp(c.source,c.flags);return p.lastIndex=c.lastIndex,p}if(c instanceof Map){const p=new Map;d.set(c,p);for(const[b,x]of c)p.set(b,u(x,b,f,d,v));return p}if(c instanceof Set){const p=new Set;d.set(c,p);for(const b of c)p.add(u(b,void 0,f,d,v));return p}if(typeof Buffer&lt;&quot;u&quot;&amp;&amp;Buffer.isBuffer(c))return c.subarray();if(s.isTypedArray(c)){const p=new(Object.getPrototypeOf(c)).constructor(c.length);d.set(c,p);for(let b=0;b&lt;c.length;b++)p[b]=u(c[b],b,f,d,v);return p}if(c instanceof ArrayBuffer||typeof SharedArrayBuffer&lt;&quot;u&quot;&amp;&amp;c instanceof SharedArrayBuffer)return c.slice(0);if(c instanceof DataView){const p=new DataView(c.buffer.slice(0),c.byteOffset,c.byteLength);return d.set(c,p),l(p,c,f,d,v),p}if(typeof File&lt;&quot;u&quot;&amp;&amp;c instanceof File){const p=new File([c],c.name,{type:c.type});return d.set(c,p),l(p,c,f,d,v),p}if(typeof Blob&lt;&quot;u&quot;&amp;&amp;c instanceof Blob){const p=new Blob([c],{type:c.type});return d.set(c,p),l(p,c,f,d,v),p}if(c instanceof Error){const p=new c.constructor;return d.set(c,p),p.message=c.message,p.name=c.name,p.stack=c.stack,p.cause=c.cause,l(p,c,f,d,v),p}if(c instanceof Boolean){const p=new Boolean(c.valueOf());return d.set(c,p),l(p,c,f,d,v),p}if(c instanceof Number){const p=new Number(c.valueOf());return d.set(c,p),l(p,c,f,d,v),p}if(c instanceof String){const p=new String(c.valueOf());return d.set(c,p),l(p,c,f,d,v),p}if(typeof c==&quot;object&quot;&amp;&amp;i(c)){const p=Object.create(Object.getPrototypeOf(c));return d.set(c,p),l(p,c,f,d,v),p}return c}function l(c,h,f=c,d,v){const y=[...Object.keys(h),...r.getSymbols(h)];for(let p=0;p&lt;y.length;p++){const b=y[p],x=Object.getOwnPropertyDescriptor(c,b);(x==null||x.writable)&amp;&amp;(c[b]=u(h[b],b,f,d,v))}}function i(c){switch(t.getTag(c)){case n.argumentsTag:case n.arrayTag:case n.arrayBufferTag:case n.dataViewTag:case n.booleanTag:case n.dateTag:case n.float32ArrayTag:case n.float64ArrayTag:case n.int8ArrayTag:case n.int16ArrayTag:case n.int32ArrayTag:case n.mapTag:case n.numberTag:case n.objectTag:case n.regexpTag:case n.setTag:case n.stringTag:case n.symbolTag:case n.uint8ArrayTag:case n.uint8ClampedArrayTag:case n.uint16ArrayTag:case n.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=a,e.cloneDeepWithImpl=u,e.copyProperties=l})(hg)),hg}var u4;function VB(){return u4||(u4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=cN();function t(n){return r.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=t})(fg)),fg}var d4;function qB(){return d4||(d4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=oN(),t=VB();function n(o){return o=t.cloneDeep(o),s=&gt;r.isMatch(s,o)}e.matches=n})(ag)),ag}var yg={},bg={},xg={},f4;function WB(){return f4||(f4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=cN(),t=sx(),n=lN();function o(s,a){return r.cloneDeepWith(s,(u,l,i,c)=&gt;{const h=a?.(u,l,i,c);if(h!==void 0)return h;if(typeof s==&quot;object&quot;){if(t.getTag(s)===n.objectTag&amp;&amp;typeof s.constructor!=&quot;function&quot;){const f={};return c.set(s,f),r.copyProperties(f,s,i,c),f}switch(Object.prototype.toString.call(s)){case n.numberTag:case n.stringTag:case n.booleanTag:{const f=new s.constructor(s?.valueOf());return r.copyProperties(f,s),f}case n.argumentsTag:{const f={};return r.copyProperties(f,s),f.length=s.length,f[Symbol.iterator]=s[Symbol.iterator],f}default:return}}})}e.cloneDeepWith=o})(xg)),xg}var h4;function HB(){return h4||(h4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=WB();function t(n){return r.cloneDeepWith(n)}e.cloneDeep=t})(bg)),bg}var wg={},_g={},m4;function uN(){return m4||(m4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=/^(?:0|[1-9]\d*)$/;function t(n,o=Number.MAX_SAFE_INTEGER){switch(typeof n){case&quot;number&quot;:return Number.isInteger(n)&amp;&amp;n&gt;=0&amp;&amp;n&lt;o;case&quot;symbol&quot;:return!1;case&quot;string&quot;:return r.test(n)}}e.isIndex=t})(_g)),_g}var jg={},p4;function KB(){return p4||(p4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=sx();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})(jg)),jg}var g4;function XB(){return g4||(g4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Q8(),t=uN(),n=KB(),o=ex();function s(a,u){let l;if(Array.isArray(u)?l=u:typeof u==&quot;string&quot;&amp;&amp;r.isDeepKey(u)&amp;&amp;a?.[u]==null?l=o.toPath(u):l=[u],l.length===0)return!1;let i=a;for(let c=0;c&lt;l.length;c++){const h=l[c];if((i==null||!Object.hasOwn(i,h))&amp;&amp;!((Array.isArray(i)||n.isArguments(i))&amp;&amp;t.isIndex(h)&amp;&amp;h&lt;i.length))return!1;i=i[h]}return!0}e.has=s})(wg)),wg}var v4;function GB(){return v4||(v4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=oN(),t=Jb(),n=HB(),o=tx(),s=XB();function a(u,l){switch(typeof u){case&quot;object&quot;:{Object.is(u?.valueOf(),-0)&amp;&amp;(u=&quot;-0&quot;);break}case&quot;number&quot;:{u=t.toKey(u);break}}return l=n.cloneDeep(l),function(i){const c=o.get(i,u);return c===void 0?s.has(i,u):l===void 0?c===void 0:r.isMatch(c,l)}}e.matchesProperty=a})(yg)),yg}var y4;function YB(){return y4||(y4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=nN(),t=BB(),n=qB(),o=GB();function s(a){if(a==null)return r.identity;switch(typeof a){case&quot;function&quot;:return a;case&quot;object&quot;:return Array.isArray(a)&amp;&amp;a.length===2?o.matchesProperty(a[0],a[1]):n.matches(a);case&quot;string&quot;:case&quot;symbol&quot;:case&quot;number&quot;:return t.property(a)}}e.iteratee=s})(ig)),ig}var b4;function ZB(){return b4||(b4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=IB(),t=RB(),n=nN(),o=FB(),s=YB();function a(u,l=n.identity){return o.isArrayLikeObject(u)?r.uniqBy(Array.from(u),t.ary(s.iteratee(l),1)):[]}e.uniqBy=a})(Y0)),Y0}var Sg,x4;function QB(){return x4||(x4=1,Sg=ZB().uniqBy),Sg}var JB=QB();const w4=ts(JB);function dN(e,r,t){return r===!0?w4(e,t):typeof r==&quot;function&quot;?w4(e,r):e}var kg={exports:{}},Ng={},Cg={exports:{}},Eg={};var _4;function ez(){if(_4)return Eg;_4=1;var e=Il();function r(h,f){return h===f&amp;&amp;(h!==0||1/h===1/f)||h!==h&amp;&amp;f!==f}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,a=e.useDebugValue;function u(h,f){var d=f(),v=n({inst:{value:d,getSnapshot:f}}),y=v[0].inst,p=v[1];return s(function(){y.value=d,y.getSnapshot=f,l(y)&amp;&amp;p({inst:y})},[h,d,f]),o(function(){return l(y)&amp;&amp;p({inst:y}),h(function(){l(y)&amp;&amp;p({inst:y})})},[h]),a(d),d}function l(h){var f=h.getSnapshot;h=h.value;try{var d=f();return!t(h,d)}catch{return!0}}function i(h,f){return f()}var c=typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;?i:u;return Eg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Eg}var j4;function tz(){return j4||(j4=1,Cg.exports=ez()),Cg.exports}var S4;function rz(){if(S4)return Ng;S4=1;var e=Il(),r=tz();function t(i,c){return i===c&amp;&amp;(i!==0||1/i===1/c)||i!==i&amp;&amp;c!==c}var n=typeof Object.is==&quot;function&quot;?Object.is:t,o=r.useSyncExternalStore,s=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return Ng.useSyncExternalStoreWithSelector=function(i,c,h,f,d){var v=s(null);if(v.current===null){var y={hasValue:!1,value:null};v.current=y}else y=v.current;v=u(function(){function b(D){if(!x){if(x=!0,_=D,D=f(D),d!==void 0&amp;&amp;y.hasValue){var W=y.value;if(d(W,D))return E=W}return E=D}if(W=E,n(_,D))return W;var L=f(D);return d!==void 0&amp;&amp;d(W,L)?(_=D,W):(_=D,E=L)}var x=!1,_,E,M=h===void 0?null:h;return[function(){return b(c())},M===null?void 0:function(){return b(M())}]},[c,h,f,d]);var p=o(i,v[0],v[1]);return a(function(){y.hasValue=!0,y.value=p},[p]),l(p),p},Ng}var k4;function nz(){return k4||(k4=1,kg.exports=rz()),kg.exports}var iz=nz(),ax=q.createContext(null),sz=e=&gt;e,Mr=()=&gt;{var e=q.useContext(ax);return e?e.store.dispatch:sz},Sf=()=&gt;{},az=()=&gt;Sf,oz=(e,r)=&gt;e===r;function xt(e){var r=q.useContext(ax);return iz.useSyncExternalStoreWithSelector(r?r.subscription.addNestedSub:az,r?r.store.getState:Sf,r?r.store.getState:Sf,r?e:Sf,oz)}function lz(e,r=`expected a function, instead received ${typeof e}`){if(typeof e!=&quot;function&quot;)throw new TypeError(r)}function cz(e,r=`expected an object, instead received ${typeof e}`){if(typeof e!=&quot;object&quot;)throw new TypeError(r)}function uz(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 N4=e=&gt;Array.isArray(e)?e:[e];function dz(e){const r=Array.isArray(e[0])?e[0]:e;return uz(r,&quot;createSelector expects all input-selectors to be functions, but received the following types: &quot;),r}function fz(e,r){const t=[],{length:n}=e;for(let o=0;o&lt;n;o++)t.push(e[o].apply(null,r));return t}var hz=class{constructor(e){this.value=e}deref(){return this.value}},mz=typeof WeakRef&lt;&quot;u&quot;?WeakRef:hz,pz=0,C4=1;function ef(){return{s:pz,v:void 0,o:null,p:null}}function fN(e,r={}){let t=ef();const{resultEqualityCheck:n}=r;let o,s=0;function a(){let u=t;const{length:l}=arguments;for(let h=0,f=l;h&lt;f;h++){const d=arguments[h];if(typeof d==&quot;function&quot;||typeof d==&quot;object&quot;&amp;&amp;d!==null){let v=u.o;v===null&amp;&amp;(u.o=v=new WeakMap);const y=v.get(d);y===void 0?(u=ef(),v.set(d,u)):u=y}else{let v=u.p;v===null&amp;&amp;(u.p=v=new Map);const y=v.get(d);y===void 0?(u=ef(),v.set(d,u)):u=y}}const i=u;let c;if(u.s===C4)c=u.v;else if(c=e.apply(null,arguments),s++,n){const h=o?.deref?.()??o;h!=null&amp;&amp;n(h,c)&amp;&amp;(c=h,s!==0&amp;&amp;s--),o=typeof c==&quot;object&quot;&amp;&amp;c!==null||typeof c==&quot;function&quot;?new mz(c):c}return i.s=C4,i.v=c,c}return a.clearCache=()=&gt;{t=ef(),a.resetResultsCount()},a.resultsCount=()=&gt;s,a.resetResultsCount=()=&gt;{s=0},a}function gz(e,...r){const t=typeof e==&quot;function&quot;?{memoize:e,memoizeOptions:r}:e,n=(...o)=&gt;{let s=0,a=0,u,l={},i=o.pop();typeof i==&quot;object&quot;&amp;&amp;(l=i,i=o.pop()),lz(i,`createSelector expects an output function after the inputs, but received: [${typeof i}]`);const c={...t,...l},{memoize:h,memoizeOptions:f=[],argsMemoize:d=fN,argsMemoizeOptions:v=[]}=c,y=N4(f),p=N4(v),b=dz(o),x=h(function(){return s++,i.apply(null,arguments)},...y),_=d(function(){a++;const M=fz(b,arguments);return u=x.apply(null,M),u},...p);return Object.assign(_,{resultFunc:i,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:()=&gt;a,resetDependencyRecomputations:()=&gt;{a=0},lastResult:()=&gt;u,recomputations:()=&gt;s,resetRecomputations:()=&gt;{s=0},memoize:h,argsMemoize:d})};return Object.assign(n,{withTypes:()=&gt;n}),n}var Ae=gz(fN),vz=Object.assign((e,r=Ae)=&gt;{cz(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(s=&gt;e[s]);return r(n,(...s)=&gt;s.reduce((a,u,l)=&gt;(a[t[l]]=u,a),{}))},{withTypes:()=&gt;vz}),Ag={},Mg={},Og={},E4;function yz(){return E4||(E4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(n){return typeof n==&quot;symbol&quot;?1:n===null?2:n===void 0?3:n!==n?4:0}const t=(n,o,s)=&gt;{if(n!==o){const a=r(n),u=r(o);if(a===u&amp;&amp;a===0){if(n&lt;o)return s===&quot;desc&quot;?1:-1;if(n&gt;o)return s===&quot;desc&quot;?-1:1}return s===&quot;desc&quot;?u-a:a-u}return 0};e.compareValues=t})(Og)),Og}var Tg={},Pg={},A4;function hN(){return A4||(A4=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})(Pg)),Pg}var M4;function bz(){return M4||(M4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=hN(),t=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(s,a){return Array.isArray(s)?!1:typeof s==&quot;number&quot;||typeof s==&quot;boolean&quot;||s==null||r.isSymbol(s)?!0:typeof s==&quot;string&quot;&amp;&amp;(n.test(s)||!t.test(s))||a!=null&amp;&amp;Object.hasOwn(a,s)}e.isKey=o})(Tg)),Tg}var O4;function xz(){return O4||(O4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=yz(),t=bz(),n=ex();function o(s,a,u,l){if(s==null)return[];u=l?void 0:u,Array.isArray(s)||(s=Object.values(s)),Array.isArray(a)||(a=a==null?[null]:[a]),a.length===0&amp;&amp;(a=[null]),Array.isArray(u)||(u=u==null?[]:[u]),u=u.map(d=&gt;String(d));const i=(d,v)=&gt;{let y=d;for(let p=0;p&lt;v.length&amp;&amp;y!=null;++p)y=y[v[p]];return y},c=(d,v)=&gt;v==null||d==null?v:typeof d==&quot;object&quot;&amp;&amp;&quot;key&quot;in d?Object.hasOwn(v,d.key)?v[d.key]:i(v,d.path):typeof d==&quot;function&quot;?d(v):Array.isArray(d)?i(v,d):typeof v==&quot;object&quot;?v[d]:v,h=a.map(d=&gt;(Array.isArray(d)&amp;&amp;d.length===1&amp;&amp;(d=d[0]),d==null||typeof d==&quot;function&quot;||Array.isArray(d)||t.isKey(d)?d:{key:d,path:n.toPath(d)}));return s.map(d=&gt;({original:d,criteria:h.map(v=&gt;c(v,d))})).slice().sort((d,v)=&gt;{for(let y=0;y&lt;h.length;y++){const p=r.compareValues(d.criteria[y],v.criteria[y],u[y]);if(p!==0)return p}return 0}).map(d=&gt;d.original)}e.orderBy=o})(Mg)),Mg}var Ig={},T4;function wz(){return T4||(T4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n=1){const o=[],s=Math.floor(n),a=(u,l)=&gt;{for(let i=0;i&lt;u.length;i++){const c=u[i];Array.isArray(c)&amp;&amp;l&lt;s?a(c,l+1):o.push(c)}};return a(t,0),o}e.flatten=r})(Ig)),Ig}var Rg={},P4;function mN(){return P4||(P4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=uN(),t=ix(),n=iN(),o=aN();function s(a,u,l){return n.isObject(l)&amp;&amp;(typeof u==&quot;number&quot;&amp;&amp;t.isArrayLike(l)&amp;&amp;r.isIndex(u)&amp;&amp;u&lt;l.length||typeof u==&quot;string&quot;&amp;&amp;u in l)?o.isEqualsSameValueZero(l[u],a):!1}e.isIterateeCall=s})(Rg)),Rg}var I4;function _z(){return I4||(I4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=xz(),t=wz(),n=mN();function o(s,...a){const u=a.length;return u&gt;1&amp;&amp;n.isIterateeCall(s,a[0],a[1])?a=[]:u&gt;2&amp;&amp;n.isIterateeCall(a[0],a[1],a[2])&amp;&amp;(a=[a[0]]),r.orderBy(s,t.flatten(a),[&quot;asc&quot;])}e.sortBy=o})(Ag)),Ag}var Dg,R4;function jz(){return R4||(R4=1,Dg=_z().sortBy),Dg}var Sz=jz();const tm=ts(Sz);var pN=e=&gt;e.legend.settings,kz=e=&gt;e.legend.size,Nz=e=&gt;e.legend.payload,Cz=Ae([Nz,pN],(e,r)=&gt;{var{itemSorter:t}=r,n=e.flat(1);return t?tm(n,t):n});function Ez(){return xt(Cz)}var tf=1;function gN(){var e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],[r,t]=q.useState({height:0,left:0,top:0,width:0}),n=q.useCallback(o=&gt;{if(o!=null){var s=o.getBoundingClientRect(),a={height:s.height,left:s.left,top:s.top,width:s.width};(Math.abs(a.height-r.height)&gt;tf||Math.abs(a.left-r.left)&gt;tf||Math.abs(a.top-r.top)&gt;tf||Math.abs(a.width-r.width)&gt;tf)&amp;&amp;t({height:a.height,left:a.left,top:a.top,width:a.width})}},[r.width,r.height,r.top,r.left,...e]);return[r,n]}function gn(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 Az=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.observable||&quot;@@observable&quot;,D4=Az,Lg=()=&gt;Math.random().toString(36).substring(7).split(&quot;&quot;).join(&quot;.&quot;),Mz={INIT:`@@redux/INIT${Lg()}`,REPLACE:`@@redux/REPLACE${Lg()}`,PROBE_UNKNOWN_ACTION:()=&gt;`@@redux/PROBE_UNKNOWN_ACTION${Lg()}`},Zf=Mz;function ox(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 vN(e,r,t){if(typeof e!=&quot;function&quot;)throw new Error(gn(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(gn(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(gn(1));return t(vN)(e,r)}let n=e,o=r,s=new Map,a=s,u=0,l=!1;function i(){a===s&amp;&amp;(a=new Map,s.forEach((p,b)=&gt;{a.set(b,p)}))}function c(){if(l)throw new Error(gn(3));return o}function h(p){if(typeof p!=&quot;function&quot;)throw new Error(gn(4));if(l)throw new Error(gn(5));let b=!0;i();const x=u++;return a.set(x,p),function(){if(b){if(l)throw new Error(gn(6));b=!1,i(),a.delete(x),s=null}}}function f(p){if(!ox(p))throw new Error(gn(7));if(typeof p.type&gt;&quot;u&quot;)throw new Error(gn(8));if(typeof p.type!=&quot;string&quot;)throw new Error(gn(17));if(l)throw new Error(gn(9));try{l=!0,o=n(o,p)}finally{l=!1}return(s=a).forEach(x=&gt;{x()}),p}function d(p){if(typeof p!=&quot;function&quot;)throw new Error(gn(10));n=p,f({type:Zf.REPLACE})}function v(){const p=h;return{subscribe(b){if(typeof b!=&quot;object&quot;||b===null)throw new Error(gn(11));function x(){const E=b;E.next&amp;&amp;E.next(c())}return x(),{unsubscribe:p(x)}},[D4](){return this}}}return f({type:Zf.INIT}),{dispatch:f,subscribe:h,getState:c,replaceReducer:d,[D4]:v}}function Oz(e){Object.keys(e).forEach(r=&gt;{const t=e[r];if(typeof t(void 0,{type:Zf.INIT})&gt;&quot;u&quot;)throw new Error(gn(12));if(typeof t(void 0,{type:Zf.PROBE_UNKNOWN_ACTION()})&gt;&quot;u&quot;)throw new Error(gn(13))})}function yN(e){const r=Object.keys(e),t={};for(let s=0;s&lt;r.length;s++){const a=r[s];typeof e[a]==&quot;function&quot;&amp;&amp;(t[a]=e[a])}const n=Object.keys(t);let o;try{Oz(t)}catch(s){o=s}return function(a={},u){if(o)throw o;let l=!1;const i={};for(let c=0;c&lt;n.length;c++){const h=n[c],f=t[h],d=a[h],v=f(d,u);if(typeof v&gt;&quot;u&quot;)throw u&amp;&amp;u.type,new Error(gn(14));i[h]=v,l=l||v!==d}return l=l||n.length!==Object.keys(a).length,l?i:a}}function Qf(...e){return e.length===0?r=&gt;r:e.length===1?e[0]:e.reduce((r,t)=&gt;(...n)=&gt;r(t(...n)))}function Tz(...e){return r=&gt;(t,n)=&gt;{const o=r(t,n);let s=()=&gt;{throw new Error(gn(15))};const a={getState:o.getState,dispatch:(l,...i)=&gt;s(l,...i)},u=e.map(l=&gt;l(a));return s=Qf(...u)(o.dispatch),{...o,dispatch:s}}}function bN(e){return ox(e)&amp;&amp;&quot;type&quot;in e&amp;&amp;typeof e.type==&quot;string&quot;}var xN=Symbol.for(&quot;immer-nothing&quot;),L4=Symbol.for(&quot;immer-draftable&quot;),zn=Symbol.for(&quot;immer-state&quot;);function Hi(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var oi=Object,Cl=oi.getPrototypeOf,Jf=&quot;constructor&quot;,rm=&quot;prototype&quot;,hy=&quot;configurable&quot;,eh=&quot;enumerable&quot;,kf=&quot;writable&quot;,au=&quot;value&quot;,Ws=e=&gt;!!e&amp;&amp;!!e[zn];function es(e){return e?wN(e)||im(e)||!!e[L4]||!!e[Jf]?.[L4]||sm(e)||am(e):!1}var Pz=oi[rm][Jf].toString(),F4=new WeakMap;function wN(e){if(!e||!lx(e))return!1;const r=Cl(e);if(r===null||r===oi[rm])return!0;const t=oi.hasOwnProperty.call(r,Jf)&amp;&amp;r[Jf];if(t===Object)return!0;if(!pl(t))return!1;let n=F4.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),F4.set(t,n)),n===Pz}function nm(e,r,t=!0){Eu(e)===0?(t?Reflect.ownKeys(e):oi.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function Eu(e){const r=e[zn];return r?r.type_:im(e)?1:sm(e)?2:am(e)?3:0}var B4=(e,r,t=Eu(e))=&gt;t===2?e.has(r):oi[rm].hasOwnProperty.call(e,r),my=(e,r,t=Eu(e))=&gt;t===2?e.get(r):e[r],th=(e,r,t,n=Eu(e))=&gt;{n===2?e.set(r,t):n===3?e.add(t):e[r]=t};function Iz(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}var im=Array.isArray,sm=e=&gt;e instanceof Map,am=e=&gt;e instanceof Set,lx=e=&gt;typeof e==&quot;object&quot;,pl=e=&gt;typeof e==&quot;function&quot;,Fg=e=&gt;typeof e==&quot;boolean&quot;;function Rz(e){const r=+e;return Number.isInteger(r)&amp;&amp;String(r)===e}var Rs=e=&gt;e.copy_||e.base_,cx=e=&gt;e.modified_?e.copy_:e.base_;function py(e,r){if(sm(e))return new Map(e);if(am(e))return new Set(e);if(im(e))return Array[rm].slice.call(e);const t=wN(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=oi.getOwnPropertyDescriptors(e);delete n[zn];let o=Reflect.ownKeys(n);for(let s=0;s&lt;o.length;s++){const a=o[s],u=n[a];u[kf]===!1&amp;&amp;(u[kf]=!0,u[hy]=!0),(u.get||u.set)&amp;&amp;(n[a]={[hy]:!0,[kf]:!0,[eh]:u[eh],[au]:e[a]})}return oi.create(Cl(e),n)}else{const n=Cl(e);if(n!==null&amp;&amp;t)return{...e};const o=oi.create(n);return oi.assign(o,e)}}function ux(e,r=!1){return om(e)||Ws(e)||!es(e)||(Eu(e)&gt;1&amp;&amp;oi.defineProperties(e,{set:rf,add:rf,clear:rf,delete:rf}),oi.freeze(e),r&amp;&amp;nm(e,(t,n)=&gt;{ux(n,!0)},!1)),e}function Dz(){Hi(2)}var rf={[au]:Dz};function om(e){return e===null||!lx(e)?!0:oi.isFrozen(e)}var rh=&quot;MapSet&quot;,gy=&quot;Patches&quot;,z4=&quot;ArrayMethods&quot;,_N={};function ko(e){const r=_N[e];return r||Hi(0,e),r}var $4=e=&gt;!!_N[e],ou,jN=()=&gt;ou,Lz=(e,r)=&gt;({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:$4(rh)?ko(rh):void 0,arrayMethodsPlugin_:$4(z4)?ko(z4):void 0});function U4(e,r){r&amp;&amp;(e.patchPlugin_=ko(gy),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function vy(e){yy(e),e.drafts_.forEach(Fz),e.drafts_=null}function yy(e){e===ou&amp;&amp;(ou=e.parent_)}var V4=e=&gt;ou=Lz(ou,e);function Fz(e){const r=e[zn];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function q4(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];if(e!==void 0&amp;&amp;e!==t){t[zn].modified_&amp;&amp;(vy(r),Hi(4)),es(e)&amp;&amp;(e=W4(r,e));const{patchPlugin_:o}=r;o&amp;&amp;o.generateReplacementPatches_(t[zn].base_,e,r)}else e=W4(r,t);return Bz(r,e,!0),vy(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==xN?e:void 0}function W4(e,r){if(om(r))return r;const t=r[zn];if(!t)return nh(r,e.handledSet_,e);if(!lm(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);NN(t,e)}return t.copy_}function Bz(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;ux(r,t)}function SN(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var lm=(e,r)=&gt;e.scope_===r,zz=[];function kN(e,r,t,n){const o=Rs(e),s=e.type_;if(n!==void 0&amp;&amp;my(o,n,s)===r){th(o,n,t,s);return}if(!e.draftLocations_){const u=e.draftLocations_=new Map;nm(o,(l,i)=&gt;{if(Ws(i)){const c=u.get(i)||[];c.push(l),u.set(i,c)}})}const a=e.draftLocations_.get(r)??zz;for(const u of a)th(o,u,t,s)}function $z(e,r,t){e.callbacks_.push(function(o){const s=r;if(!s||!lm(s,o))return;o.mapSetPlugin_?.fixSetContents(s);const a=cx(s);kN(e,s.draft_??s,a,t),NN(s,o)})}function NN(e,r){if(e.modified_&amp;&amp;!e.finalized_&amp;&amp;(e.type_===3||e.type_===1&amp;&amp;e.allIndicesReassigned_||(e.assigned_?.size??0)&gt;0)){const{patchPlugin_:n}=r;if(n){const o=n.getPath(e);o&amp;&amp;n.generatePatches_(e,o,r)}SN(e)}}function Uz(e,r,t){const{scope_:n}=e;if(Ws(t)){const o=t[zn];lm(o,n)&amp;&amp;o.callbacks_.push(function(){Nf(e);const a=cx(o);kN(e,t,a,r)})}else es(t)&amp;&amp;e.callbacks_.push(function(){const s=Rs(e);e.type_===3?s.has(t)&amp;&amp;nh(t,n.handledSet_,n):my(s,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;nh(my(e.copy_,r,e.type_),n.handledSet_,n)})}function nh(e,r,t){return!t.immer_.autoFreeze_&amp;&amp;t.unfinalizedDrafts_&lt;1||Ws(e)||r.has(e)||!es(e)||om(e)||(r.add(e),nm(e,(n,o)=&gt;{if(Ws(o)){const s=o[zn];if(lm(s,t)){const a=cx(s);th(e,n,a,e.type_),SN(s)}}else es(o)&amp;&amp;nh(o,r,t)})),e}function Vz(e,r){const t=im(e),n={type_:t?1:0,scope_:r?r.scope_:jN(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,s=ih;t&amp;&amp;(o=[n],s=lu);const{revoke:a,proxy:u}=Proxy.revocable(o,s);return n.draft_=u,n.revoke_=a,[u,n]}var ih={get(e,r){if(r===zn)return e;let t=e.scope_.arrayMethodsPlugin_;const n=e.type_===1&amp;&amp;typeof r==&quot;string&quot;;if(n&amp;&amp;t?.isArrayOperationMethod(r))return t.createMethodInterceptor(e,r);const o=Rs(e);if(!B4(o,r,e.type_))return qz(e,o,r);const s=o[r];if(e.finalized_||!es(s)||n&amp;&amp;e.operationMethod&amp;&amp;t?.isMutatingArrayMethod(e.operationMethod)&amp;&amp;Rz(r))return s;if(s===Bg(e.base_,r)){Nf(e);const a=e.type_===1?+r:r,u=xy(e.scope_,s,e,a);return e.copy_[a]=u}return s},has(e,r){return r in Rs(e)},ownKeys(e){return Reflect.ownKeys(Rs(e))},set(e,r,t){const n=CN(Rs(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=Bg(Rs(e),r),s=o?.[zn];if(s&amp;&amp;s.base_===t)return e.copy_[r]=t,e.assigned_.set(r,!1),!0;if(Iz(t,o)&amp;&amp;(t!==void 0||B4(e.base_,r,e.type_)))return!0;Nf(e),by(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),Uz(e,r,t)),!0},deleteProperty(e,r){return Nf(e),Bg(e.base_,r)!==void 0||r in e.base_?(e.assigned_.set(r,!1),by(e)):e.assigned_.delete(r),e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=Rs(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{[kf]:!0,[hy]:e.type_!==1||r!==&quot;length&quot;,[eh]:n[eh],[au]:t[r]}},defineProperty(){Hi(11)},getPrototypeOf(e){return Cl(e.base_)},setPrototypeOf(){Hi(12)}},lu={};for(let e in ih){let r=ih[e];lu[e]=function(){const t=arguments;return t[0]=t[0][0],r.apply(this,t)}}lu.deleteProperty=function(e,r){return lu.set.call(this,e,r,void 0)};lu.set=function(e,r,t){return ih.set.call(this,e[0],r,t,e[0])};function Bg(e,r){const t=e[zn];return(t?Rs(t):e)[r]}function qz(e,r,t){const n=CN(r,t);return n?au in n?n[au]:n.get?.call(e.draft_):void 0}function CN(e,r){if(!(r in e))return;let t=Cl(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Cl(t)}}function by(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;by(e.parent_))}function Nf(e){e.copy_||(e.assigned_=new Map,e.copy_=py(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Wz=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,o)=&gt;{if(pl(t)&amp;&amp;!pl(n)){const a=n;n=t;const u=this;return function(i=a,...c){return u.produce(i,h=&gt;n.call(this,h,...c))}}pl(n)||Hi(6),o!==void 0&amp;&amp;!pl(o)&amp;&amp;Hi(7);let s;if(es(t)){const a=V4(this),u=xy(a,t,void 0);let l=!0;try{s=n(u),l=!1}finally{l?vy(a):yy(a)}return U4(a,o),q4(s,a)}else if(!t||!lx(t)){if(s=n(t),s===void 0&amp;&amp;(s=t),s===xN&amp;&amp;(s=void 0),this.autoFreeze_&amp;&amp;ux(s,!0),o){const a=[],u=[];ko(gy).generateReplacementPatches_(t,s,{patches_:a,inversePatches_:u}),o(a,u)}return s}else Hi(1,t)},this.produceWithPatches=(t,n)=&gt;{if(pl(t))return(u,...l)=&gt;this.produceWithPatches(u,i=&gt;t(i,...l));let o,s;return[this.produce(t,n,(u,l)=&gt;{o=u,s=l}),o,s]},Fg(r?.autoFreeze)&amp;&amp;this.setAutoFreeze(r.autoFreeze),Fg(r?.useStrictShallowCopy)&amp;&amp;this.setUseStrictShallowCopy(r.useStrictShallowCopy),Fg(r?.useStrictIteration)&amp;&amp;this.setUseStrictIteration(r.useStrictIteration)}createDraft(r){es(r)||Hi(8),Ws(r)&amp;&amp;(r=Yi(r));const t=V4(this),n=xy(t,r,void 0);return n[zn].isManual_=!0,yy(t),n}finishDraft(r,t){const n=r&amp;&amp;r[zn];(!n||!n.isManual_)&amp;&amp;Hi(9);const{scope_:o}=n;return U4(o,t),q4(void 0,o)}setAutoFreeze(r){this.autoFreeze_=r}setUseStrictShallowCopy(r){this.useStrictShallowCopy_=r}setUseStrictIteration(r){this.useStrictIteration_=r}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(r,t){let n;for(n=t.length-1;n&gt;=0;n--){const s=t[n];if(s.path.length===0&amp;&amp;s.op===&quot;replace&quot;){r=s.value;break}}n&gt;-1&amp;&amp;(t=t.slice(n+1));const o=ko(gy).applyPatches_;return Ws(r)?o(r,t):this.produce(r,s=&gt;o(s,t))}};function xy(e,r,t,n){const[o,s]=sm(r)?ko(rh).proxyMap_(r,t):am(r)?ko(rh).proxySet_(r,t):Vz(r,t);return(t?.scope_??jN()).drafts_.push(o),s.callbacks_=t?.callbacks_??[],s.key_=n,t&amp;&amp;n!==void 0?$z(t,s,n):s.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(s);const{patchPlugin_:i}=l;s.modified_&amp;&amp;i&amp;&amp;i.generatePatches_(s,[],l)}),o}function Yi(e){return Ws(e)||Hi(10,e),EN(e)}function EN(e){if(!es(e)||om(e))return e;const r=e[zn];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=py(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=py(e,!0);return nm(t,(o,s)=&gt;{th(t,o,EN(s))},n),r&amp;&amp;(r.finalized_=!1),t}var Hz=new Wz,AN=Hz.produce;function MN(e){return({dispatch:t,getState:n})=&gt;o=&gt;s=&gt;typeof s==&quot;function&quot;?s(t,n,e):o(s)}var Kz=MN(),Xz=MN,Gz=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;?Qf:Qf.apply(null,arguments)};function Oi(e,r){function t(...n){if(r){let o=r(...n);if(!o)throw new Error(li(0));return{type:e,payload:o.payload,...&quot;meta&quot;in o&amp;&amp;{meta:o.meta},...&quot;error&quot;in o&amp;&amp;{error:o.error}}}return{type:e,payload:n[0]}}return t.toString=()=&gt;`${e}`,t.type=e,t.match=n=&gt;bN(n)&amp;&amp;n.type===e,t}var ON=class $c extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,$c.prototype)}static get[Symbol.species](){return $c}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&amp;&amp;Array.isArray(r[0])?new $c(...r[0].concat(this)):new $c(...r.concat(this))}};function H4(e){return es(e)?AN(e,()=&gt;{}):e}function nf(e,r,t){return e.has(r)?e.get(r):e.set(r,t(r)).get(r)}function Yz(e){return typeof e==&quot;boolean&quot;}var Zz=()=&gt;function(r){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:o=!0,actionCreatorCheck:s=!0}=r??{};let a=new ON;return t&amp;&amp;(Yz(t)?a.push(Kz):a.push(Xz(t.extraArgument))),a},TN=&quot;RTK_autoBatch&quot;,wr=()=&gt;e=&gt;({payload:e,meta:{[TN]:!0}}),K4=e=&gt;r=&gt;{setTimeout(r,e)},PN=(e={type:&quot;raf&quot;})=&gt;r=&gt;(...t)=&gt;{const n=r(...t);let o=!0,s=!1,a=!1;const u=new Set,l=e.type===&quot;tick&quot;?queueMicrotask:e.type===&quot;raf&quot;?typeof window&lt;&quot;u&quot;&amp;&amp;window.requestAnimationFrame?window.requestAnimationFrame:K4(10):e.type===&quot;callback&quot;?e.queueNotification:K4(e.timeout),i=()=&gt;{a=!1,s&amp;&amp;(s=!1,u.forEach(c=&gt;c()))};return Object.assign({},n,{subscribe(c){const h=()=&gt;o&amp;&amp;c(),f=n.subscribe(h);return u.add(c),()=&gt;{f(),u.delete(c)}},dispatch(c){try{return o=!c?.meta?.[TN],s=!o,s&amp;&amp;(a||(a=!0,l(i))),n.dispatch(c)}finally{o=!0}}})},Qz=e=&gt;function(t){const{autoBatch:n=!0}=t??{};let o=new ON(e);return n&amp;&amp;o.push(PN(typeof n==&quot;object&quot;?n:void 0)),o};function Jz(e){const r=Zz(),{reducer:t=void 0,middleware:n,devTools:o=!0,preloadedState:s=void 0,enhancers:a=void 0}=e||{};let u;if(typeof t==&quot;function&quot;)u=t;else if(ox(t))u=yN(t);else throw new Error(li(1));let l;typeof n==&quot;function&quot;?l=n(r):l=r();let i=Qf;o&amp;&amp;(i=Gz({trace:!1,...typeof o==&quot;object&quot;&amp;&amp;o}));const c=Tz(...l),h=Qz(c);let f=typeof a==&quot;function&quot;?a(h):h();const d=i(...f);return vN(u,s,d)}function IN(e){const r={},t=[];let n;const o={addCase(s,a){const u=typeof s==&quot;string&quot;?s:s.type;if(!u)throw new Error(li(28));if(u in r)throw new Error(li(29));return r[u]=a,o},addAsyncThunk(s,a){return a.pending&amp;&amp;(r[s.pending.type]=a.pending),a.rejected&amp;&amp;(r[s.rejected.type]=a.rejected),a.fulfilled&amp;&amp;(r[s.fulfilled.type]=a.fulfilled),a.settled&amp;&amp;t.push({matcher:s.settled,reducer:a.settled}),o},addMatcher(s,a){return t.push({matcher:s,reducer:a}),o},addDefaultCase(s){return n=s,o}};return e(o),[r,t,n]}function e$(e){return typeof e==&quot;function&quot;}function t$(e,r){let[t,n,o]=IN(r),s;if(e$(e))s=()=&gt;H4(e());else{const u=H4(e);s=()=&gt;u}function a(u=s(),l){let i=[t[l.type],...n.filter(({matcher:c})=&gt;c(l)).map(({reducer:c})=&gt;c)];return i.filter(c=&gt;!!c).length===0&amp;&amp;(i=[o]),i.reduce((c,h)=&gt;{if(h)if(Ws(c)){const d=h(c,l);return d===void 0?c:d}else{if(es(c))return AN(c,f=&gt;h(f,l));{const f=h(c,l);if(f===void 0){if(c===null)return c;throw Error(&quot;A case reducer on a non-draftable value must not return undefined&quot;)}return f}}return c},u)}return a.getInitialState=s,a}var r$=&quot;ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW&quot;,n$=(e=21)=&gt;{let r=&quot;&quot;,t=e;for(;t--;)r+=r$[Math.random()*64|0];return r},i$=Symbol.for(&quot;rtk-slice-createasyncthunk&quot;);function s$(e,r){return`${e}/${r}`}function a$({creators:e}={}){const r=e?.asyncThunk?.[i$];return function(n){const{name:o,reducerPath:s=o}=n;if(!o)throw new Error(li(11));const a=(typeof n.reducers==&quot;function&quot;?n.reducers(l$()):n.reducers)||{},u=Object.keys(a),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},i={addCase(_,E){const M=typeof _==&quot;string&quot;?_:_.type;if(!M)throw new Error(li(12));if(M in l.sliceCaseReducersByType)throw new Error(li(13));return l.sliceCaseReducersByType[M]=E,i},addMatcher(_,E){return l.sliceMatchers.push({matcher:_,reducer:E}),i},exposeAction(_,E){return l.actionCreators[_]=E,i},exposeCaseReducer(_,E){return l.sliceCaseReducersByName[_]=E,i}};u.forEach(_=&gt;{const E=a[_],M={reducerName:_,type:s$(o,_),createNotation:typeof n.reducers==&quot;function&quot;};u$(E)?f$(M,E,i,r):c$(M,E,i)});function c(){const[_={},E=[],M=void 0]=typeof n.extraReducers==&quot;function&quot;?IN(n.extraReducers):[n.extraReducers],D={..._,...l.sliceCaseReducersByType};return t$(n.initialState,W=&gt;{for(let L in D)W.addCase(L,D[L]);for(let L of l.sliceMatchers)W.addMatcher(L.matcher,L.reducer);for(let L of E)W.addMatcher(L.matcher,L.reducer);M&amp;&amp;W.addDefaultCase(M)})}const h=_=&gt;_,f=new Map,d=new WeakMap;let v;function y(_,E){return v||(v=c()),v(_,E)}function p(){return v||(v=c()),v.getInitialState()}function b(_,E=!1){function M(W){let L=W[_];return typeof L&gt;&quot;u&quot;&amp;&amp;E&amp;&amp;(L=nf(d,M,p)),L}function D(W=h){const L=nf(f,E,()=&gt;new WeakMap);return nf(L,W,()=&gt;{const V={};for(const[H,K]of Object.entries(n.selectors??{}))V[H]=o$(K,W,()=&gt;nf(d,W,p),E);return V})}return{reducerPath:_,getSelectors:D,get selectors(){return D(M)},selectSlice:M}}const x={name:o,reducer:y,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:p,...b(s),injectInto(_,{reducerPath:E,...M}={}){const D=E??s;return _.inject({reducerPath:D,reducer:y},M),{...x,...b(D,!0)}}};return x}}function o$(e,r,t,n){function o(s,...a){let u=r(s);return typeof u&gt;&quot;u&quot;&amp;&amp;n&amp;&amp;(u=t()),e(u,...a)}return o.unwrapped=e,o}var ei=a$();function l$(){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 c$({type:e,reducerName:r,createNotation:t},n,o){let s,a;if(&quot;reducer&quot;in n){if(t&amp;&amp;!d$(n))throw new Error(li(17));s=n.reducer,a=n.prepare}else s=n;o.addCase(e,s).exposeCaseReducer(r,s).exposeAction(r,a?Oi(e,a):Oi(e))}function u$(e){return e._reducerDefinitionType===&quot;asyncThunk&quot;}function d$(e){return e._reducerDefinitionType===&quot;reducerWithPrepare&quot;}function f$({type:e,reducerName:r},t,n,o){if(!o)throw new Error(li(18));const{payloadCreator:s,fulfilled:a,pending:u,rejected:l,settled:i,options:c}=t,h=o(e,s,c);n.exposeAction(r,h),a&amp;&amp;n.addCase(h.fulfilled,a),u&amp;&amp;n.addCase(h.pending,u),l&amp;&amp;n.addCase(h.rejected,l),i&amp;&amp;n.addMatcher(h.settled,i),n.exposeCaseReducer(r,{fulfilled:a||sf,pending:u||sf,rejected:l||sf,settled:i||sf})}function sf(){}var h$=&quot;task&quot;,RN=&quot;listener&quot;,DN=&quot;completed&quot;,dx=&quot;cancelled&quot;,m$=`task-${dx}`,p$=`task-${DN}`,wy=`${RN}-${dx}`,g$=`${RN}-${DN}`,cm=class{constructor(e){this.code=e,this.message=`${h$} ${dx} (reason: ${e})`}name=&quot;TaskAbortError&quot;;message},fx=(e,r)=&gt;{if(typeof e!=&quot;function&quot;)throw new TypeError(li(32))},sh=()=&gt;{},LN=(e,r=sh)=&gt;(e.catch(r),e),FN=(e,r)=&gt;(e.addEventListener(&quot;abort&quot;,r,{once:!0}),()=&gt;e.removeEventListener(&quot;abort&quot;,r)),wo=e=&gt;{if(e.aborted)throw new cm(e.reason)};function BN(e,r){let t=sh;return new Promise((n,o)=&gt;{const s=()=&gt;o(new cm(e.reason));if(e.aborted){s();return}t=FN(e,s),r.finally(()=&gt;t()).then(n,o)}).finally(()=&gt;{t=sh})}var v$=async(e,r)=&gt;{try{return await Promise.resolve(),{status:&quot;ok&quot;,value:await e()}}catch(t){return{status:t instanceof cm?&quot;cancelled&quot;:&quot;rejected&quot;,error:t}}finally{r?.()}},ah=e=&gt;r=&gt;LN(BN(e,r).then(t=&gt;(wo(e),t))),zN=e=&gt;{const r=ah(e);return t=&gt;r(new Promise(n=&gt;setTimeout(n,t)))},{assign:jl}=Object,X4={},um=&quot;listenerMiddleware&quot;,y$=(e,r)=&gt;{const t=n=&gt;FN(e,()=&gt;n.abort(e.reason));return(n,o)=&gt;{fx(n);const s=new AbortController;t(s);const a=v$(async()=&gt;{wo(e),wo(s.signal);const u=await n({pause:ah(s.signal),delay:zN(s.signal),signal:s.signal});return wo(s.signal),u},()=&gt;s.abort(p$));return o?.autoJoin&amp;&amp;r.push(a.catch(sh)),{result:ah(e)(a),cancel(){s.abort(m$)}}}},b$=(e,r)=&gt;{const t=async(n,o)=&gt;{wo(r);let s=()=&gt;{};const u=[new Promise((l,i)=&gt;{let c=e({predicate:n,effect:(h,f)=&gt;{f.unsubscribe(),l([h,f.getState(),f.getOriginalState()])}});s=()=&gt;{c(),i()}})];o!=null&amp;&amp;u.push(new Promise(l=&gt;setTimeout(l,o,null)));try{const l=await BN(r,Promise.race(u));return wo(r),l}finally{s()}};return(n,o)=&gt;LN(t(n,o))},$N=e=&gt;{let{type:r,actionCreator:t,matcher:n,predicate:o,effect:s}=e;if(r)o=Oi(r).match;else if(t)r=t.type,o=t.match;else if(n)o=n;else if(!o)throw new Error(li(21));return fx(s),{predicate:o,type:r,effect:s}},UN=jl(e=&gt;{const{type:r,predicate:t,effect:n}=$N(e);return{id:n$(),effect:n,type:r,predicate:t,pending:new Set,unsubscribe:()=&gt;{throw new Error(li(22))}}},{withTypes:()=&gt;UN}),G4=(e,r)=&gt;{const{type:t,effect:n,predicate:o}=$N(r);return Array.from(e.values()).find(s=&gt;(typeof t==&quot;string&quot;?s.type===t:s.predicate===o)&amp;&amp;s.effect===n)},_y=e=&gt;{e.pending.forEach(r=&gt;{r.abort(wy)})},x$=(e,r)=&gt;()=&gt;{for(const t of r.keys())_y(t);e.clear()},Y4=(e,r,t)=&gt;{try{e(r,t)}catch(n){setTimeout(()=&gt;{throw n},0)}},VN=jl(Oi(`${um}/add`),{withTypes:()=&gt;VN}),w$=Oi(`${um}/removeAll`),qN=jl(Oi(`${um}/remove`),{withTypes:()=&gt;qN}),_$=(...e)=&gt;{console.error(`${um}/error`,...e)},Au=(e={})=&gt;{const r=new Map,t=new Map,n=d=&gt;{const v=t.get(d)??0;t.set(d,v+1)},o=d=&gt;{const v=t.get(d)??1;v===1?t.delete(d):t.set(d,v-1)},{extra:s,onError:a=_$}=e;fx(a);const u=d=&gt;(d.unsubscribe=()=&gt;r.delete(d.id),r.set(d.id,d),v=&gt;{d.unsubscribe(),v?.cancelActive&amp;&amp;_y(d)}),l=d=&gt;{const v=G4(r,d)??UN(d);return u(v)};jl(l,{withTypes:()=&gt;l});const i=d=&gt;{const v=G4(r,d);return v&amp;&amp;(v.unsubscribe(),d.cancelActive&amp;&amp;_y(v)),!!v};jl(i,{withTypes:()=&gt;i});const c=async(d,v,y,p)=&gt;{const b=new AbortController,x=b$(l,b.signal),_=[];try{d.pending.add(b),n(d),await Promise.resolve(d.effect(v,jl({},y,{getOriginalState:p,condition:(E,M)=&gt;x(E,M).then(Boolean),take:x,delay:zN(b.signal),pause:ah(b.signal),extra:s,signal:b.signal,fork:y$(b.signal,_),unsubscribe:d.unsubscribe,subscribe:()=&gt;{r.set(d.id,d)},cancelActiveListeners:()=&gt;{d.pending.forEach((E,M,D)=&gt;{E!==b&amp;&amp;(E.abort(wy),D.delete(E))})},cancel:()=&gt;{b.abort(wy),d.pending.delete(b)},throwIfCancelled:()=&gt;{wo(b.signal)}})))}catch(E){E instanceof cm||Y4(a,E,{raisedBy:&quot;effect&quot;})}finally{await Promise.all(_),b.abort(g$),o(d),d.pending.delete(b)}},h=x$(r,t);return{middleware:d=&gt;v=&gt;y=&gt;{if(!bN(y))return v(y);if(VN.match(y))return l(y.payload);if(w$.match(y)){h();return}if(qN.match(y))return i(y.payload);let p=d.getState();const b=()=&gt;{if(p===X4)throw new Error(li(23));return p};let x;try{if(x=v(y),r.size&gt;0){const _=d.getState(),E=Array.from(r.values());for(const M of E){let D=!1;try{D=M.predicate(y,_,p)}catch(W){D=!1,Y4(a,W,{raisedBy:&quot;predicate&quot;})}D&amp;&amp;c(M,y,d,b)}}}finally{p=X4}return x},startListening:l,stopListening:i,clearListeners:h}};function li(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 j$={layoutType:&quot;horizontal&quot;,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},WN=ei({name:&quot;chartLayout&quot;,initialState:j$,reducers:{setLayout(e,r){e.layoutType=r.payload},setChartSize(e,r){e.width=r.payload.width,e.height=r.payload.height},setMargin(e,r){var t,n,o,s;e.margin.top=(t=r.payload.top)!==null&amp;&amp;t!==void 0?t:0,e.margin.right=(n=r.payload.right)!==null&amp;&amp;n!==void 0?n:0,e.margin.bottom=(o=r.payload.bottom)!==null&amp;&amp;o!==void 0?o:0,e.margin.left=(s=r.payload.left)!==null&amp;&amp;s!==void 0?s:0},setScale(e,r){e.scale=r.payload}}}),{setMargin:S$,setLayout:k$,setChartSize:N$,setScale:C$}=WN.actions,E$=WN.reducer;function HN(e,r,t){return Array.isArray(e)&amp;&amp;e&amp;&amp;r+t!==0?e.slice(r,t+1):e}function Ar(e){return Number.isFinite(e)}function xs(e){return typeof e==&quot;number&quot;&amp;&amp;e&gt;0&amp;&amp;Number.isFinite(e)}function Z4(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function xl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Z4(Object(t),!0).forEach(function(n){A$(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function A$(e,r,t){return(r=M$(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function M$(e){var r=O$(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function O$(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 Ur(e,r,t){return jr(e)||jr(r)?t:bs(r)?Nl(e,r,t):typeof r==&quot;function&quot;?r(e):t}var T$=(e,r,t)=&gt;{if(r&amp;&amp;t){var{width:n,height:o}=t,{align:s,verticalAlign:a,layout:u}=r;if((u===&quot;vertical&quot;||u===&quot;horizontal&quot;&amp;&amp;a===&quot;middle&quot;)&amp;&amp;s!==&quot;center&quot;&amp;&amp;pt(e[s]))return xl(xl({},e),{},{[s]:e[s]+(n||0)});if((u===&quot;horizontal&quot;||u===&quot;vertical&quot;&amp;&amp;s===&quot;center&quot;)&amp;&amp;a!==&quot;middle&quot;&amp;&amp;pt(e[a]))return xl(xl({},e),{},{[a]:e[a]+(o||0)})}return e},Ba=(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;,KN=(e,r,t,n)=&gt;{if(n)return e.map(u=&gt;u.coordinate);var o,s,a=e.map(u=&gt;(u.coordinate===r&amp;&amp;(o=!0),u.coordinate===t&amp;&amp;(s=!0),u.coordinate));return o||a.push(r),s||a.push(t),a},XN=(e,r,t)=&gt;{if(!e)return null;var{duplicateDomain:n,type:o,range:s,scale:a,realScaleType:u,isCategorical:l,categoricalDomain:i,tickCount:c,ticks:h,niceTicks:f,axisType:d}=e;if(!a)return null;var v=u===&quot;scaleBand&quot;&amp;&amp;a.bandwidth?a.bandwidth()/2:2,y=o===&quot;category&quot;&amp;&amp;a.bandwidth?a.bandwidth()/v:0;if(y=d===&quot;angleAxis&quot;&amp;&amp;s&amp;&amp;s.length&gt;=2?Zn(s[0]-s[1])*2*y:y,h||f){var p=(h||f||[]).map((b,x)=&gt;{var _=n?n.indexOf(b):b;return{coordinate:a(_)+y,value:b,offset:y,index:x}});return p.filter(b=&gt;!Qi(b.coordinate))}return l&amp;&amp;i?i.map((b,x)=&gt;({coordinate:a(b)+y,value:b,index:x,offset:y})):a.ticks&amp;&amp;c!=null?a.ticks(c).map((b,x)=&gt;({coordinate:a(b)+y,value:b,offset:y,index:x})):a.domain().map((b,x)=&gt;({coordinate:a(b)+y,value:n?n[b]:b,index:x,offset:y}))},Q4=1e-4,P$=e=&gt;{var r=e.domain();if(!(!r||r.length&lt;=2)){var t=r.length,n=e.range(),o=Math.min(n[0],n[1])-Q4,s=Math.max(n[0],n[1])+Q4,a=e(r[0]),u=e(r[t-1]);(a&lt;o||a&gt;s||u&lt;o||u&gt;s)&amp;&amp;e.domain([r[0],r[t-1]])}},I$=(e,r)=&gt;{if(!r||r.length!==2||!pt(r[0])||!pt(r[1]))return e;var t=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]),o=[e[0],e[1]];return(!pt(e[0])||e[0]&lt;t)&amp;&amp;(o[0]=t),(!pt(e[1])||e[1]&gt;n)&amp;&amp;(o[1]=n),o[0]&gt;n&amp;&amp;(o[0]=n),o[1]&lt;t&amp;&amp;(o[1]=t),o},R$=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var o=0;o&lt;n;++o)for(var s=0,a=0,u=0;u&lt;t;++u){var l=e[u],i=l?.[o];if(i!=null){var c=i[1],h=i[0],f=Qi(c)?h:c;f&gt;=0?(i[0]=s,i[1]=s+f,s=c):(i[0]=a,i[1]=a+f,a=c)}}}},D$=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var o=0;o&lt;n;++o)for(var s=0,a=0;a&lt;t;++a){var u=e[a],l=u?.[o];if(l!=null){var i=Qi(l[1])?l[0]:l[1];i&gt;=0?(l[0]=s,l[1]=s+i,s=l[1]):(l[0]=0,l[1]=0)}}}},L$={sign:R$,expand:tB,none:So,silhouette:rB,wiggle:nB,positive:D$},F$=(e,r,t)=&gt;{var n,o=(n=L$[t])!==null&amp;&amp;n!==void 0?n:So,s=eB().keys(r).value((u,l)=&gt;Number(Ur(u,l,0))).order(dy).offset(o),a=s(e);return a.forEach((u,l)=&gt;{u.forEach((i,c)=&gt;{var h=Ur(e[c],r[l],0);Array.isArray(h)&amp;&amp;h.length===2&amp;&amp;pt(h[0])&amp;&amp;pt(h[1])&amp;&amp;(i[0]=h[0],i[1]=h[1])})}),a};function B$(e){return e==null?void 0:String(e)}function J4(e){var{axis:r,ticks:t,bandSize:n,entry:o,index:s,dataKey:a}=e;if(r.type===&quot;category&quot;){if(!r.allowDuplicatedCategory&amp;&amp;r.dataKey&amp;&amp;!jr(o[r.dataKey])){var u=eN(t,&quot;value&quot;,o[r.dataKey]);if(u)return u.coordinate+n/2}return t[s]?t[s].coordinate+n/2:null}var l=Ur(o,jr(a)?r.dataKey:a);return jr(l)?null:r.scale(l)}var e5=e=&gt;{var{axis:r,ticks:t,offset:n,bandSize:o,entry:s,index:a}=e;if(r.type===&quot;category&quot;)return t[a]?t[a].coordinate+n:null;var u=Ur(s,r.dataKey,r.scale.domain()[a]);return jr(u)?null:r.scale(u)-o/2+n},z$=e=&gt;{var{numericAxis:r}=e,t=r.scale.domain();if(r.type===&quot;number&quot;){var n=Math.min(t[0],t[1]),o=Math.max(t[0],t[1]);return n&lt;=0&amp;&amp;o&gt;=0?0:o&lt;0?o:n}return t[0]},$$=e=&gt;{var r=e.flat(2).filter(pt);return[Math.min(...r),Math.max(...r)]},U$=e=&gt;[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],V$=(e,r,t)=&gt;{if(e!=null)return U$(Object.keys(e).reduce((n,o)=&gt;{var s=e[o];if(!s)return n;var{stackedData:a}=s,u=a.reduce((l,i)=&gt;{var c=HN(i,r,t),h=$$(c);return!Ar(h[0])||!Ar(h[1])?l:[Math.min(l[0],h[0]),Math.max(l[1],h[1])]},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},t5=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,r5=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,El=(e,r,t)=&gt;{if(e&amp;&amp;e.scale&amp;&amp;e.scale.bandwidth){var n=e.scale.bandwidth();if(!t||n&gt;0)return n}if(e&amp;&amp;r&amp;&amp;r.length&gt;=2){for(var o=tm(r,c=&gt;c.coordinate),s=1/0,a=1,u=o.length;a&lt;u;a++){var l=o[a],i=o[a-1];s=Math.min((l?.coordinate||0)-(i?.coordinate||0),s)}return s===1/0?0:s}return t?void 0:0};function n5(e){var{tooltipEntrySettings:r,dataKey:t,payload:n,value:o,name:s}=e;return xl(xl({},r),{},{dataKey:t,payload:n,value:o,name:s})}function dm(e,r){if(e)return String(e);if(typeof r==&quot;string&quot;)return r}var q$=(e,r)=&gt;{if(r===&quot;horizontal&quot;)return e.chartX;if(r===&quot;vertical&quot;)return e.chartY},W$=(e,r)=&gt;r===&quot;centric&quot;?e.angle:e.radius,Qs=e=&gt;e.layout.width,Js=e=&gt;e.layout.height,H$=e=&gt;e.layout.scale,GN=e=&gt;e.layout.margin,fm=Ae(e=&gt;e.cartesianAxis.xAxis,e=&gt;Object.values(e)),hm=Ae(e=&gt;e.cartesianAxis.yAxis,e=&gt;Object.values(e)),K$=&quot;data-recharts-item-index&quot;,X$=&quot;data-recharts-item-id&quot;,Mu=60;function i5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function af(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){G$(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 G$(e,r,t){return(r=Y$(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Y$(e){var r=Z$(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Z$(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 Q$=e=&gt;e.brush.height;function J$(e){var r=hm(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;left&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Mu;return t+o}return t},0)}function eU(e){var r=hm(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;right&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Mu;return t+o}return t},0)}function tU(e){var r=fm(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 rU(e){var r=fm(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 un=Ae([Qs,Js,GN,Q$,J$,eU,tU,rU,pN,kz],(e,r,t,n,o,s,a,u,l,i)=&gt;{var c={left:(t.left||0)+o,right:(t.right||0)+s},h={top:(t.top||0)+a,bottom:(t.bottom||0)+u},f=af(af({},h),c),d=f.bottom;f.bottom+=n,f=T$(f,l,i);var v=e-f.left-f.right,y=r-f.top-f.bottom;return af(af({brushBottom:d},f),{},{width:Math.max(v,0),height:Math.max(y,0)})}),nU=Ae(un,e=&gt;({x:e.left,y:e.top,width:e.width,height:e.height})),hx=Ae(Qs,Js,(e,r)=&gt;({x:0,y:0,width:e,height:r})),iU=q.createContext(null),On=()=&gt;q.useContext(iU)!=null,mm=e=&gt;e.brush,pm=Ae([mm,un,GN],(e,r,t)=&gt;({height:e.height,x:pt(e.x)?e.x:r.left,y:pt(e.y)?e.y:r.top+r.height+r.brushBottom-(t?.bottom||0),width:pt(e.width)?e.width:r.width})),zg={},$g={},Ug={},s5;function sU(){return s5||(s5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n,{signal:o,edges:s}={}){let a,u=null;const l=s!=null&amp;&amp;s.includes(&quot;leading&quot;),i=s==null||s.includes(&quot;trailing&quot;),c=()=&gt;{u!==null&amp;&amp;(t.apply(a,u),a=void 0,u=null)},h=()=&gt;{i&amp;&amp;c(),y()};let f=null;const d=()=&gt;{f!=null&amp;&amp;clearTimeout(f),f=setTimeout(()=&gt;{f=null,h()},n)},v=()=&gt;{f!==null&amp;&amp;(clearTimeout(f),f=null)},y=()=&gt;{v(),a=void 0,u=null},p=()=&gt;{c()},b=function(...x){if(o?.aborted)return;a=this,u=x;const _=f==null;d(),l&amp;&amp;_&amp;&amp;c()};return b.schedule=d,b.cancel=y,b.flush=p,o?.addEventListener(&quot;abort&quot;,y,{once:!0}),b}e.debounce=r})(Ug)),Ug}var a5;function aU(){return a5||(a5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=sU();function t(n,o=0,s={}){typeof s!=&quot;object&quot;&amp;&amp;(s={});const{leading:a=!1,trailing:u=!0,maxWait:l}=s,i=Array(2);a&amp;&amp;(i[0]=&quot;leading&quot;),u&amp;&amp;(i[1]=&quot;trailing&quot;);let c,h=null;const f=r.debounce(function(...y){c=n.apply(this,y),h=null},o,{edges:i}),d=function(...y){return l!=null&amp;&amp;(h===null&amp;&amp;(h=Date.now()),Date.now()-h&gt;=l)?(c=n.apply(this,y),h=Date.now(),f.cancel(),f.schedule(),c):(f.apply(this,y),c)},v=()=&gt;(f.flush(),c);return d.cancel=f.cancel,d.flush=v,d}e.debounce=t})($g)),$g}var o5;function oU(){return o5||(o5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=aU();function t(n,o=0,s={}){const{leading:a=!0,trailing:u=!0}=s;return r.debounce(n,o,{leading:a,maxWait:o,trailing:u})}e.throttle=t})(zg)),zg}var Vg,l5;function lU(){return l5||(l5=1,Vg=oU().throttle),Vg}var cU=lU();const uU=ts(cU);var oh=function(r,t){for(var n=arguments.length,o=new Array(n&gt;2?n-2:0),s=2;s&lt;n;s++)o[s-2]=arguments[s];if(typeof console&lt;&quot;u&quot;&amp;&amp;console.warn&amp;&amp;(t===void 0&amp;&amp;console.warn(&quot;LogUtils requires an error message argument&quot;),!r))if(t===void 0)console.warn(&quot;Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.&quot;);else{var a=0;console.warn(t.replace(/%s/g,()=&gt;o[a++]))}},YN=(e,r,t)=&gt;{var{width:n=&quot;100%&quot;,height:o=&quot;100%&quot;,aspect:s,maxHeight:a}=t,u=qs(n)?e:Number(n),l=qs(o)?r:Number(o);return s&amp;&amp;s&gt;0&amp;&amp;(u?l=u/s:l&amp;&amp;(u=l*s),a&amp;&amp;l!=null&amp;&amp;l&gt;a&amp;&amp;(l=a)),{calculatedWidth:u,calculatedHeight:l}},dU={width:0,height:0,overflow:&quot;visible&quot;},fU={width:0,overflowX:&quot;visible&quot;},hU={height:0,overflowY:&quot;visible&quot;},mU={},pU=e=&gt;{var{width:r,height:t}=e,n=qs(r),o=qs(t);return n&amp;&amp;o?dU:n?fU:o?hU:mU};function gU(e){var{width:r,height:t,aspect:n}=e,o=r,s=t;return o===void 0&amp;&amp;s===void 0?(o=&quot;100%&quot;,s=&quot;100%&quot;):o===void 0?o=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;:s===void 0&amp;&amp;(s=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;),{width:o,height:s}}function jy(){return jy=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},jy.apply(null,arguments)}function c5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function u5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?c5(Object(t),!0).forEach(function(n){vU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function vU(e,r,t){return(r=yU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yU(e){var r=bU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bU(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 ZN=q.createContext({width:-1,height:-1});function xU(e){return xs(e.width)&amp;&amp;xs(e.height)}function QN(e){var{children:r,width:t,height:n}=e,o=q.useMemo(()=&gt;({width:t,height:n}),[t,n]);return xU(o)?q.createElement(ZN.Provider,{value:o},r):null}var mx=()=&gt;q.useContext(ZN),wU=q.forwardRef((e,r)=&gt;{var{aspect:t,initialDimension:n={width:-1,height:-1},width:o,height:s,minWidth:a=0,minHeight:u,maxHeight:l,children:i,debounce:c=0,id:h,className:f,onResize:d,style:v={}}=e,y=q.useRef(null),p=q.useRef();p.current=d,q.useImperativeHandle(r,()=&gt;y.current);var[b,x]=q.useState({containerWidth:n.width,containerHeight:n.height}),_=q.useCallback((L,V)=&gt;{x(H=&gt;{var K=Math.round(L),z=Math.round(V);return H.containerWidth===K&amp;&amp;H.containerHeight===z?H:{containerWidth:K,containerHeight:z}})},[]);q.useEffect(()=&gt;{if(y.current==null||typeof ResizeObserver&gt;&quot;u&quot;)return Cu;var L=z=&gt;{var O,{width:I,height:C}=z[0].contentRect;_(I,C),(O=p.current)===null||O===void 0||O.call(p,I,C)};c&gt;0&amp;&amp;(L=uU(L,c,{trailing:!0,leading:!1}));var V=new ResizeObserver(L),{width:H,height:K}=y.current.getBoundingClientRect();return _(H,K),V.observe(y.current),()=&gt;{V.disconnect()}},[_,c]);var{containerWidth:E,containerHeight:M}=b;oh(!t||t&gt;0,&quot;The aspect(%s) must be greater than zero.&quot;,t);var{calculatedWidth:D,calculatedHeight:W}=YN(E,M,{width:o,height:s,aspect:t,maxHeight:l});return oh(D!=null&amp;&amp;D&gt;0||W!=null&amp;&amp;W&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.`,D,W,o,s,a,u,t),q.createElement(&quot;div&quot;,{id:h?&quot;&quot;.concat(h):void 0,className:sr(&quot;recharts-responsive-container&quot;,f),style:u5(u5({},v),{},{width:o,height:s,minWidth:a,minHeight:u,maxHeight:l}),ref:y},q.createElement(&quot;div&quot;,{style:pU({width:o,height:s})},q.createElement(QN,{width:D,height:W},i)))}),qg=q.forwardRef((e,r)=&gt;{var t=mx();if(xs(t.width)&amp;&amp;xs(t.height))return e.children;var{width:n,height:o}=gU({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:s,calculatedHeight:a}=YN(void 0,void 0,{width:n,height:o,aspect:e.aspect,maxHeight:e.maxHeight});return pt(s)&amp;&amp;pt(a)?q.createElement(QN,{width:s,height:a},e.children):q.createElement(wU,jy({},e,{width:n,height:o,ref:r}))});function JN(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 gm=()=&gt;{var e,r=On(),t=xt(nU),n=xt(pm),o=(e=xt(mm))===null||e===void 0?void 0:e.padding;return!r||!n||!o?t:{width:n.width-o.left-o.right,height:n.height-o.top-o.bottom,x:o.left,y:o.top}},_U={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},eC=()=&gt;{var e;return(e=xt(un))!==null&amp;&amp;e!==void 0?e:_U},px=()=&gt;xt(Qs),gx=()=&gt;xt(Js),jU=()=&gt;xt(e=&gt;e.layout.margin),tr=e=&gt;e.layout.layoutType,$l=()=&gt;xt(tr),SU=()=&gt;{var e=$l();return e!==void 0},vm=e=&gt;{var r=Mr(),t=On(),{width:n,height:o}=e,s=mx(),a=n,u=o;return s&amp;&amp;(a=s.width&gt;0?s.width:n,u=s.height&gt;0?s.height:o),q.useEffect(()=&gt;{!t&amp;&amp;xs(a)&amp;&amp;xs(u)&amp;&amp;r(N$({width:a,height:u}))},[r,t,a,u]),null},tC=Symbol.for(&quot;immer-nothing&quot;),d5=Symbol.for(&quot;immer-draftable&quot;),ci=Symbol.for(&quot;immer-state&quot;);function Ki(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var cu=Object.getPrototypeOf;function Al(e){return!!e&amp;&amp;!!e[ci]}function No(e){return e?rC(e)||Array.isArray(e)||!!e[d5]||!!e.constructor?.[d5]||Ou(e)||bm(e):!1}var kU=Object.prototype.constructor.toString(),f5=new WeakMap;function rC(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=f5.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),f5.set(t,n)),n===kU}function lh(e,r,t=!0){ym(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function ym(e){const r=e[ci];return r?r.type_:Array.isArray(e)?1:Ou(e)?2:bm(e)?3:0}function Sy(e,r){return ym(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function nC(e,r,t){const n=ym(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function NU(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Ou(e){return e instanceof Map}function bm(e){return e instanceof Set}function co(e){return e.copy_||e.base_}function ky(e,r){if(Ou(e))return new Map(e);if(bm(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=rC(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Object.getOwnPropertyDescriptors(e);delete n[ci];let o=Reflect.ownKeys(n);for(let s=0;s&lt;o.length;s++){const a=o[s],u=n[a];u.writable===!1&amp;&amp;(u.writable=!0,u.configurable=!0),(u.get||u.set)&amp;&amp;(n[a]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[a]})}return Object.create(cu(e),n)}else{const n=cu(e);if(n!==null&amp;&amp;t)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function vx(e,r=!1){return xm(e)||Al(e)||!No(e)||(ym(e)&gt;1&amp;&amp;Object.defineProperties(e,{set:of,add:of,clear:of,delete:of}),Object.freeze(e),r&amp;&amp;Object.values(e).forEach(t=&gt;vx(t,!0))),e}function CU(){Ki(2)}var of={value:CU};function xm(e){return e===null||typeof e!=&quot;object&quot;?!0:Object.isFrozen(e)}var EU={};function Co(e){const r=EU[e];return r||Ki(0,e),r}var uu;function iC(){return uu}function AU(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function h5(e,r){r&amp;&amp;(Co(&quot;Patches&quot;),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function Ny(e){Cy(e),e.drafts_.forEach(MU),e.drafts_=null}function Cy(e){e===uu&amp;&amp;(uu=e.parent_)}function m5(e){return uu=AU(uu,e)}function MU(e){const r=e[ci];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];return e!==void 0&amp;&amp;e!==t?(t[ci].modified_&amp;&amp;(Ny(r),Ki(4)),No(e)&amp;&amp;(e=ch(r,e),r.parent_||uh(r,e)),r.patches_&amp;&amp;Co(&quot;Patches&quot;).generateReplacementPatches_(t[ci].base_,e,r.patches_,r.inversePatches_)):e=ch(r,t,[]),Ny(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==tC?e:void 0}function ch(e,r,t){if(xm(r))return r;const n=e.immer_.shouldUseStrictIteration(),o=r[ci];if(!o)return lh(r,(s,a)=&gt;g5(e,o,r,s,a,t),n),r;if(o.scope_!==e)return r;if(!o.modified_)return uh(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const s=o.copy_;let a=s,u=!1;o.type_===3&amp;&amp;(a=new Set(s),s.clear(),u=!0),lh(a,(l,i)=&gt;g5(e,o,s,l,i,t,u),n),uh(e,s,!1),t&amp;&amp;e.patches_&amp;&amp;Co(&quot;Patches&quot;).generatePatches_(o,t,e.patches_,e.inversePatches_)}return o.copy_}function g5(e,r,t,n,o,s,a){if(o==null||typeof o!=&quot;object&quot;&amp;&amp;!a)return;const u=xm(o);if(!(u&amp;&amp;!a)){if(Al(o)){const l=s&amp;&amp;r&amp;&amp;r.type_!==3&amp;&amp;!Sy(r.assigned_,n)?s.concat(n):void 0,i=ch(e,o,l);if(nC(t,n,i),Al(i))e.canAutoFreeze_=!1;else return}else a&amp;&amp;t.add(o);if(No(o)&amp;&amp;!u){if(!e.immer_.autoFreeze_&amp;&amp;e.unfinalizedDrafts_&lt;1||r&amp;&amp;r.base_&amp;&amp;r.base_[n]===o&amp;&amp;u)return;ch(e,o),(!r||!r.scope_.parent_)&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;(Ou(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&amp;&amp;uh(e,o)}}}function uh(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;vx(r,t)}function OU(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:iC(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,s=yx;t&amp;&amp;(o=[n],s=du);const{revoke:a,proxy:u}=Proxy.revocable(o,s);return n.draft_=u,n.revoke_=a,u}var yx={get(e,r){if(r===ci)return e;const t=co(e);if(!Sy(t,r))return TU(e,t,r);const n=t[r];return e.finalized_||!No(n)?n:n===Wg(e.base_,r)?(Hg(e),e.copy_[r]=Ay(n,e)):n},has(e,r){return r in co(e)},ownKeys(e){return Reflect.ownKeys(co(e))},set(e,r,t){const n=sC(co(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=Wg(co(e),r),s=o?.[ci];if(s&amp;&amp;s.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(NU(t,o)&amp;&amp;(t!==void 0||Sy(e.base_,r)))return!0;Hg(e),Ey(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 Wg(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,Hg(e),Ey(e)):delete e.assigned_[r],e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=co(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(){Ki(11)},getPrototypeOf(e){return cu(e.base_)},setPrototypeOf(){Ki(12)}},du={};lh(yx,(e,r)=&gt;{du[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});du.deleteProperty=function(e,r){return du.set.call(this,e,r,void 0)};du.set=function(e,r,t){return yx.set.call(this,e[0],r,t,e[0])};function Wg(e,r){const t=e[ci];return(t?co(t):e)[r]}function TU(e,r,t){const n=sC(r,t);return n?&quot;value&quot;in n?n.value:n.get?.call(e.draft_):void 0}function sC(e,r){if(!(r in e))return;let t=cu(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=cu(t)}}function Ey(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;Ey(e.parent_))}function Hg(e){e.copy_||(e.copy_=ky(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var PU=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 s=t;t=r;const a=this;return function(l=s,...i){return a.produce(l,c=&gt;t.call(this,c,...i))}}typeof t!=&quot;function&quot;&amp;&amp;Ki(6),n!==void 0&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;Ki(7);let o;if(No(r)){const s=m5(this),a=Ay(r,void 0);let u=!0;try{o=t(a),u=!1}finally{u?Ny(s):Cy(s)}return h5(s,n),p5(o,s)}else if(!r||typeof r!=&quot;object&quot;){if(o=t(r),o===void 0&amp;&amp;(o=r),o===tC&amp;&amp;(o=void 0),this.autoFreeze_&amp;&amp;vx(o,!0),n){const s=[],a=[];Co(&quot;Patches&quot;).generateReplacementPatches_(r,o,s,a),n(s,a)}return o}else Ki(1,r)},this.produceWithPatches=(r,t)=&gt;{if(typeof r==&quot;function&quot;)return(a,...u)=&gt;this.produceWithPatches(a,l=&gt;r(l,...u));let n,o;return[this.produce(r,t,(a,u)=&gt;{n=a,o=u}),n,o]},typeof e?.autoFreeze==&quot;boolean&quot;&amp;&amp;this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==&quot;boolean&quot;&amp;&amp;this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==&quot;boolean&quot;&amp;&amp;this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){No(e)||Ki(8),Al(e)&amp;&amp;(e=IU(e));const r=m5(this),t=Ay(e,void 0);return t[ci].isManual_=!0,Cy(r),t}finishDraft(e,r){const t=e&amp;&amp;e[ci];(!t||!t.isManual_)&amp;&amp;Ki(9);const{scope_:n}=t;return h5(n,r),p5(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let t;for(t=r.length-1;t&gt;=0;t--){const o=r[t];if(o.path.length===0&amp;&amp;o.op===&quot;replace&quot;){e=o.value;break}}t&gt;-1&amp;&amp;(r=r.slice(t+1));const n=Co(&quot;Patches&quot;).applyPatches_;return Al(e)?n(e,r):this.produce(e,o=&gt;n(o,r))}};function Ay(e,r){const t=Ou(e)?Co(&quot;MapSet&quot;).proxyMap_(e,r):bm(e)?Co(&quot;MapSet&quot;).proxySet_(e,r):OU(e,r);return(r?r.scope_:iC()).drafts_.push(t),t}function IU(e){return Al(e)||Ki(10,e),aC(e)}function aC(e){if(!No(e)||xm(e))return e;const r=e[ci];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=ky(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=ky(e,!0);return lh(t,(o,s)=&gt;{nC(t,o,aC(s))},n),r&amp;&amp;(r.finalized_=!1),t}var RU=new PU;RU.produce;var DU={settings:{layout:&quot;horizontal&quot;,align:&quot;center&quot;,verticalAlign:&quot;middle&quot;,itemSorter:&quot;value&quot;},size:{width:0,height:0},payload:[]},oC=ei({name:&quot;legend&quot;,initialState:DU,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:wr()},replaceLegendPayload:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Yi(e).payload.indexOf(t);o&gt;-1&amp;&amp;(e.payload[o]=n)},prepare:wr()},removeLegendPayload:{reducer(e,r){var t=Yi(e).payload.indexOf(r.payload);t&gt;-1&amp;&amp;e.payload.splice(t,1)},prepare:wr()}}}),{setLegendSize:v5,setLegendSettings:LU,addLegendPayload:FU,replaceLegendPayload:BU,removeLegendPayload:zU}=oC.actions,$U=oC.reducer,UU=[&quot;contextPayload&quot;];function My(){return My=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},My.apply(null,arguments)}function y5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Ml(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?y5(Object(t),!0).forEach(function(n){VU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function VU(e,r,t){return(r=qU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function qU(e){var r=WU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function WU(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 HU(e,r){if(e==null)return{};var t,n,o=KU(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function KU(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 XU(e){return e.value}function GU(e){var{contextPayload:r}=e,t=HU(e,UU),n=dN(r,e.payloadUniqBy,XU),o=Ml(Ml({},t),{},{payload:n});return q.isValidElement(e.content)?q.cloneElement(e.content,o):typeof e.content==&quot;function&quot;?q.createElement(e.content,o):q.createElement(PB,o)}function YU(e,r,t,n,o,s){var{layout:a,align:u,verticalAlign:l}=r,i,c;return(!e||(e.left===void 0||e.left===null)&amp;&amp;(e.right===void 0||e.right===null))&amp;&amp;(u===&quot;center&quot;&amp;&amp;a===&quot;vertical&quot;?i={left:((n||0)-s.width)/2}:i=u===&quot;right&quot;?{right:t&amp;&amp;t.right||0}:{left:t&amp;&amp;t.left||0}),(!e||(e.top===void 0||e.top===null)&amp;&amp;(e.bottom===void 0||e.bottom===null))&amp;&amp;(l===&quot;middle&quot;?c={top:((o||0)-s.height)/2}:c=l===&quot;bottom&quot;?{bottom:t&amp;&amp;t.bottom||0}:{top:t&amp;&amp;t.top||0}),Ml(Ml({},i),c)}function ZU(e){var r=Mr();return q.useEffect(()=&gt;{r(LU(e))},[r,e]),null}function QU(e){var r=Mr();return q.useEffect(()=&gt;(r(v5(e)),()=&gt;{r(v5({width:0,height:0}))}),[r,e]),null}function JU(e,r,t,n){return e===&quot;vertical&quot;&amp;&amp;pt(r)?{height:r}:e===&quot;horizontal&quot;?{width:t||n}:null}var eV={align:&quot;center&quot;,iconSize:14,itemSorter:&quot;value&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;bottom&quot;};function Cf(e){var r=xn(e,eV),t=Ez(),n=SF(),o=jU(),{width:s,height:a,wrapperStyle:u,portal:l}=r,[i,c]=gN([t]),h=px(),f=gx();if(h==null||f==null)return null;var d=h-(o?.left||0)-(o?.right||0),v=JU(r.layout,a,s,d),y=l?u:Ml(Ml({position:&quot;absolute&quot;,width:v?.width||s||&quot;auto&quot;,height:v?.height||a||&quot;auto&quot;},YU(u,r,o,h,f,i)),u),p=l??n;if(p==null||t==null)return null;var b=q.createElement(&quot;div&quot;,{className:&quot;recharts-legend-wrapper&quot;,style:y,ref:c},q.createElement(ZU,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!l&amp;&amp;q.createElement(QU,{width:i.width,height:i.height}),q.createElement(GU,My({},r,v,{margin:o,chartWidth:h,chartHeight:f,contextPayload:t})));return ob.createPortal(b,p)}Cf.displayName=&quot;Legend&quot;;function Oy(){return Oy=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Oy.apply(null,arguments)}function b5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Kg(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?b5(Object(t),!0).forEach(function(n){tV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function tV(e,r,t){return(r=rV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rV(e){var r=nV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function nV(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 iV(e){return Array.isArray(e)&amp;&amp;bs(e[0])&amp;&amp;bs(e[1])?e.join(&quot; ~ &quot;):e}var sV=e=&gt;{var{separator:r=&quot; : &quot;,contentStyle:t={},itemStyle:n={},labelStyle:o={},payload:s,formatter:a,itemSorter:u,wrapperClassName:l,labelClassName:i,label:c,labelFormatter:h,accessibilityLayer:f=!1}=e,d=()=&gt;{if(s&amp;&amp;s.length){var M={padding:0,margin:0},D=(u?tm(s,u):s).map((W,L)=&gt;{if(W.type===&quot;none&quot;)return null;var V=W.formatter||a||iV,{value:H,name:K}=W,z=H,O=K;if(V){var I=V(H,K,W,L,s);if(Array.isArray(I))[z,O]=I;else if(I!=null)z=I;else return null}var C=Kg({display:&quot;block&quot;,paddingTop:4,paddingBottom:4,color:W.color||&quot;#000&quot;},n);return q.createElement(&quot;li&quot;,{className:&quot;recharts-tooltip-item&quot;,key:&quot;tooltip-item-&quot;.concat(L),style:C},bs(O)?q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-name&quot;},O):null,bs(O)?q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-separator&quot;},r):null,q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-value&quot;},z),q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-unit&quot;},W.unit||&quot;&quot;))});return q.createElement(&quot;ul&quot;,{className:&quot;recharts-tooltip-item-list&quot;,style:M},D)}return null},v=Kg({margin:0,padding:10,backgroundColor:&quot;#fff&quot;,border:&quot;1px solid #ccc&quot;,whiteSpace:&quot;nowrap&quot;},t),y=Kg({margin:0},o),p=!jr(c),b=p?c:&quot;&quot;,x=sr(&quot;recharts-default-tooltip&quot;,l),_=sr(&quot;recharts-tooltip-label&quot;,i);p&amp;&amp;h&amp;&amp;s!==void 0&amp;&amp;s!==null&amp;&amp;(b=h(c,s));var E=f?{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;assertive&quot;}:{};return q.createElement(&quot;div&quot;,Oy({className:x,style:v},E),q.createElement(&quot;p&quot;,{className:_,style:y},q.isValidElement(b)?b:&quot;&quot;.concat(b)),d())},Ac=&quot;recharts-tooltip-wrapper&quot;,aV={visibility:&quot;hidden&quot;};function oV(e){var{coordinate:r,translateX:t,translateY:n}=e;return sr(Ac,{[&quot;&quot;.concat(Ac,&quot;-right&quot;)]:pt(t)&amp;&amp;r&amp;&amp;pt(r.x)&amp;&amp;t&gt;=r.x,[&quot;&quot;.concat(Ac,&quot;-left&quot;)]:pt(t)&amp;&amp;r&amp;&amp;pt(r.x)&amp;&amp;t&lt;r.x,[&quot;&quot;.concat(Ac,&quot;-bottom&quot;)]:pt(n)&amp;&amp;r&amp;&amp;pt(r.y)&amp;&amp;n&gt;=r.y,[&quot;&quot;.concat(Ac,&quot;-top&quot;)]:pt(n)&amp;&amp;r&amp;&amp;pt(r.y)&amp;&amp;n&lt;r.y})}function x5(e){var{allowEscapeViewBox:r,coordinate:t,key:n,offsetTopLeft:o,position:s,reverseDirection:a,tooltipDimension:u,viewBox:l,viewBoxDimension:i}=e;if(s&amp;&amp;pt(s[n]))return s[n];var c=t[n]-u-(o&gt;0?o:0),h=t[n]+o;if(r[n])return a[n]?c:h;var f=l[n];if(f==null)return 0;if(a[n]){var d=c,v=f;return d&lt;v?Math.max(h,f):Math.max(c,f)}if(i==null)return 0;var y=h+u,p=f+i;return y&gt;p?Math.max(c,f):Math.max(h,f)}function lV(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 cV(e){var{allowEscapeViewBox:r,coordinate:t,offsetTopLeft:n,position:o,reverseDirection:s,tooltipBox:a,useTranslate3d:u,viewBox:l}=e,i,c,h;return a.height&gt;0&amp;&amp;a.width&gt;0&amp;&amp;t?(c=x5({allowEscapeViewBox:r,coordinate:t,key:&quot;x&quot;,offsetTopLeft:n,position:o,reverseDirection:s,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),h=x5({allowEscapeViewBox:r,coordinate:t,key:&quot;y&quot;,offsetTopLeft:n,position:o,reverseDirection:s,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),i=lV({translateX:c,translateY:h,useTranslate3d:u})):i=aV,{cssProperties:i,cssClasses:oV({translateX:c,translateY:h,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(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function lf(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){Ty(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 Ty(e,r,t){return(r=uV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function uV(e){var r=dV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function dV(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 fV extends q.PureComponent{constructor(){super(...arguments),Ty(this,&quot;state&quot;,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),Ty(this,&quot;handleKeyDown&quot;,r=&gt;{if(r.key===&quot;Escape&quot;){var t,n,o,s;this.setState({dismissed:!0,dismissedAtCoordinate:{x:(t=(n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==null&amp;&amp;t!==void 0?t:0,y:(o=(s=this.props.coordinate)===null||s===void 0?void 0:s.y)!==null&amp;&amp;o!==void 0?o:0}})}})}componentDidMount(){document.addEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentWillUnmount(){document.removeEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentDidUpdate(){var r,t;this.state.dismissed&amp;&amp;(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((t=this.props.coordinate)===null||t===void 0?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&amp;&amp;(this.state.dismissed=!1)}render(){var{active:r,allowEscapeViewBox:t,animationDuration:n,animationEasing:o,children:s,coordinate:a,hasPayload:u,isAnimationActive:l,offset:i,position:c,reverseDirection:h,useTranslate3d:f,viewBox:d,wrapperStyle:v,lastBoundingBox:y,innerRef:p,hasPortalFromProps:b}=this.props,{cssClasses:x,cssProperties:_}=cV({allowEscapeViewBox:t,coordinate:a,offsetTopLeft:i,position:c,reverseDirection:h,tooltipBox:{height:y.height,width:y.width},useTranslate3d:f,viewBox:d}),E=b?{}:lf(lf({transition:l&amp;&amp;r?&quot;transform &quot;.concat(n,&quot;ms &quot;).concat(o):void 0},_),{},{pointerEvents:&quot;none&quot;,visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;,position:&quot;absolute&quot;,top:0,left:0}),M=lf(lf({},E),{},{visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;},v);return q.createElement(&quot;div&quot;,{xmlns:&quot;http://www.w3.org/1999/xhtml&quot;,tabIndex:-1,className:x,style:M,ref:p},s)}}var lC=()=&gt;{var e;return(e=xt(r=&gt;r.rootProps.accessibilityLayer))!==null&amp;&amp;e!==void 0?e:!0};function Py(){return Py=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},Py.apply(null,arguments)}function _5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function j5(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){hV(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 hV(e,r,t){return(r=mV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function mV(e){var r=pV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function pV(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 S5={curveBasisClosed:VF,curveBasisOpen:qF,curveBasis:UF,curveBumpX:EF,curveBumpY:AF,curveLinearClosed:WF,curveLinear:Qh,curveMonotoneX:HF,curveMonotoneY:KF,curveNatural:XF,curveStep:GF,curveStepAfter:ZF,curveStepBefore:YF},dh=e=&gt;Ar(e.x)&amp;&amp;Ar(e.y),k5=e=&gt;e.base!=null&amp;&amp;dh(e.base)&amp;&amp;dh(e),Mc=e=&gt;e.x,Oc=e=&gt;e.y,gV=(e,r)=&gt;{if(typeof e==&quot;function&quot;)return e;var t=&quot;curve&quot;.concat(Nu(e));return(t===&quot;curveMonotone&quot;||t===&quot;curveBump&quot;)&amp;&amp;r?S5[&quot;&quot;.concat(t).concat(r===&quot;vertical&quot;?&quot;Y&quot;:&quot;X&quot;)]:S5[t]||Qh},vV=e=&gt;{var{type:r=&quot;linear&quot;,points:t=[],baseLine:n,layout:o,connectNulls:s=!1}=e,a=gV(r,o),u=s?t.filter(dh):t,l;if(Array.isArray(n)){var i=t.map((d,v)=&gt;j5(j5({},d),{},{base:n[v]}));o===&quot;vertical&quot;?l=Jd().y(Oc).x1(Mc).x0(d=&gt;d.base.x):l=Jd().x(Mc).y1(Oc).y0(d=&gt;d.base.y);var c=l.defined(k5).curve(a),h=s?i.filter(k5):i;return c(h)}o===&quot;vertical&quot;&amp;&amp;pt(n)?l=Jd().y(Oc).x1(Mc).x0(n):pt(n)?l=Jd().x(Mc).y1(Oc).y0(n):l=$8().x(Mc).y(Oc);var f=l.defined(dh).curve(a);return f(u)},cC=e=&gt;{var{className:r,points:t,path:n,pathRef:o}=e,s=$l();if((!t||!t.length)&amp;&amp;!n)return null;var a={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||s,connectNulls:e.connectNulls},u=t&amp;&amp;t.length?vV(a):n;return q.createElement(&quot;path&quot;,Py({},Zi(e),nx(e),{className:sr(&quot;recharts-curve&quot;,r),d:u===null?void 0:u,ref:o}))},yV=[&quot;x&quot;,&quot;y&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;];function Iy(){return Iy=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},Iy.apply(null,arguments)}function N5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function bV(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?N5(Object(t),!0).forEach(function(n){xV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):N5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function xV(e,r,t){return(r=wV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function wV(e){var r=_V(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function _V(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 jV(e,r){if(e==null)return{};var t,n,o=SV(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function SV(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 kV=(e,r,t,n,o,s)=&gt;&quot;M&quot;.concat(e,&quot;,&quot;).concat(o,&quot;v&quot;).concat(n,&quot;M&quot;).concat(s,&quot;,&quot;).concat(r,&quot;h&quot;).concat(t),NV=e=&gt;{var{x:r=0,y:t=0,top:n=0,left:o=0,width:s=0,height:a=0,className:u}=e,l=jV(e,yV),i=bV({x:r,y:t,top:n,left:o,width:s,height:a},l);return!pt(r)||!pt(t)||!pt(s)||!pt(a)||!pt(n)||!pt(o)?null:q.createElement(&quot;path&quot;,Iy({},Bn(i),{className:sr(&quot;recharts-cross&quot;,u),d:kV(r,t,s,a,n,o)}))};function CV(e,r,t,n){var o=n/2;return{stroke:&quot;none&quot;,fill:&quot;#ccc&quot;,x:e===&quot;horizontal&quot;?r.x-o:t.left+.5,y:e===&quot;horizontal&quot;?t.top+.5:r.y-o,width:e===&quot;horizontal&quot;?n:t.width-1,height:e===&quot;horizontal&quot;?t.height-1:n}}function C5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function E5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?C5(Object(t),!0).forEach(function(n){EV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function EV(e,r,t){return(r=AV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function AV(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)}var OV=e=&gt;e.replace(/([A-Z])/g,r=&gt;&quot;-&quot;.concat(r.toLowerCase())),uC=(e,r,t)=&gt;e.map(n=&gt;&quot;&quot;.concat(OV(n),&quot; &quot;).concat(r,&quot;ms &quot;).concat(t)).join(&quot;,&quot;),TV=(e,r)=&gt;[Object.keys(e),Object.keys(r)].reduce((t,n)=&gt;t.filter(o=&gt;n.includes(o))),fu=(e,r)=&gt;Object.keys(r).reduce((t,n)=&gt;E5(E5({},t),{},{[n]:e(n,r[n])}),{});function A5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Xr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?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=IV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function IV(e){var r=RV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function RV(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 fh=(e,r,t)=&gt;e+(r-e)*t,Ry=e=&gt;{var{from:r,to:t}=e;return r!==t},dC=(e,r,t)=&gt;{var n=fu((o,s)=&gt;{if(Ry(s)){var[a,u]=e(s.from,s.to,s.velocity);return Xr(Xr({},s),{},{from:a,velocity:u})}return s},r);return t&lt;1?fu((o,s)=&gt;Ry(s)&amp;&amp;n[o]!=null?Xr(Xr({},s),{},{velocity:fh(s.velocity,n[o].velocity,t),from:fh(s.from,n[o].from,t)}):s,r):dC(e,n,t-1)};function DV(e,r,t,n,o,s){var a,u=n.reduce((f,d)=&gt;Xr(Xr({},f),{},{[d]:{from:e[d],velocity:0,to:r[d]}}),{}),l=()=&gt;fu((f,d)=&gt;d.from,u),i=()=&gt;!Object.values(u).filter(Ry).length,c=null,h=f=&gt;{a||(a=f);var d=f-a,v=d/t.dt;u=dC(t,u,v),o(Xr(Xr(Xr({},e),r),l())),a=f,i()||(c=s.setTimeout(h))};return()=&gt;(c=s.setTimeout(h),()=&gt;{var f;(f=c)===null||f===void 0||f()})}function LV(e,r,t,n,o,s,a){var u=null,l=o.reduce((h,f)=&gt;{var d=e[f],v=r[f];return d==null||v==null?h:Xr(Xr({},h),{},{[f]:[d,v]})},{}),i,c=h=&gt;{i||(i=h);var f=(h-i)/n,d=fu((y,p)=&gt;fh(...p,t(f)),l);if(s(Xr(Xr(Xr({},e),r),d)),f&lt;1)u=a.setTimeout(c);else{var v=fu((y,p)=&gt;fh(...p,t(1)),l);s(Xr(Xr(Xr({},e),r),v))}};return()=&gt;(u=a.setTimeout(c),()=&gt;{var h;(h=u)===null||h===void 0||h()})}const FV=(e,r,t,n,o,s)=&gt;{var a=TV(e,r);return t==null?()=&gt;(o(Xr(Xr({},e),r)),()=&gt;{}):t.isStepper===!0?DV(e,r,t,a,o,s):LV(e,r,t,n,a,o,s)};var hh=1e-4,fC=(e,r)=&gt;[0,3*e,3*r-6*e,3*e-3*r+1],hC=(e,r)=&gt;e.map((t,n)=&gt;t*r**n).reduce((t,n)=&gt;t+n),M5=(e,r)=&gt;t=&gt;{var n=fC(e,r);return hC(n,t)},BV=(e,r)=&gt;t=&gt;{var n=fC(e,r),o=[...n.map((s,a)=&gt;s*a).slice(1),0];return hC(o,t)},zV=e=&gt;{var r,t=e.split(&quot;(&quot;);if(t.length!==2||t[0]!==&quot;cubic-bezier&quot;)return null;var n=(r=t[1])===null||r===void 0||(r=r.split(&quot;)&quot;)[0])===null||r===void 0?void 0:r.split(&quot;,&quot;);if(n==null||n.length!==4)return null;var o=n.map(s=&gt;parseFloat(s));return[o[0],o[1],o[2],o[3]]},$V=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(t.length===1)switch(t[0]){case&quot;linear&quot;:return[0,0,1,1];case&quot;ease&quot;:return[.25,.1,.25,1];case&quot;ease-in&quot;:return[.42,0,1,1];case&quot;ease-out&quot;:return[.42,0,.58,1];case&quot;ease-in-out&quot;:return[0,0,.58,1];default:{var o=zV(t[0]);if(o)return o}}return t.length===4?t:[0,0,1,1]},UV=(e,r,t,n)=&gt;{var o=M5(e,t),s=M5(r,n),a=BV(e,t),u=i=&gt;i&gt;1?1:i&lt;0?0:i,l=i=&gt;{for(var c=i&gt;1?1:i,h=c,f=0;f&lt;8;++f){var d=o(h)-c,v=a(h);if(Math.abs(d-c)&lt;hh||v&lt;hh)return s(h);h=u(h-d/v)}return s(h)};return l.isStepper=!1,l},O5=function(){return UV(...$V(...arguments))},VV=function(){var r=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},{stiff:t=100,damping:n=8,dt:o=17}=r,s=(a,u,l)=&gt;{var i=-(a-u)*t,c=l*n,h=l+(i-c)*o/1e3,f=l*o/1e3+a;return Math.abs(f-u)&lt;hh&amp;&amp;Math.abs(h)&lt;hh?[u,0]:[f,h]};return s.isStepper=!0,s.dt=o,s},qV=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 O5(e);case&quot;spring&quot;:return VV();default:if(e.split(&quot;(&quot;)[0]===&quot;cubic-bezier&quot;)return O5(e)}return typeof e==&quot;function&quot;?e:null};function WV(e){var r,t=()=&gt;null,n=!1,o=null,s=a=&gt;{if(!n){if(Array.isArray(a)){if(!a.length)return;var u=a,[l,...i]=u;if(typeof l==&quot;number&quot;){o=e.setTimeout(s.bind(null,i),l);return}s(l),o=e.setTimeout(s.bind(null,i));return}typeof a==&quot;string&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;object&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;function&quot;&amp;&amp;a()}};return{stop:()=&gt;{n=!0},start:a=&gt;{n=!1,o&amp;&amp;(o(),o=null),s(a)},subscribe:a=&gt;(t=a,()=&gt;{t=()=&gt;null}),getTimeoutController:()=&gt;e}}class HV{setTimeout(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,n=performance.now(),o=null,s=a=&gt;{a-n&gt;=t?r(a):typeof requestAnimationFrame==&quot;function&quot;&amp;&amp;(o=requestAnimationFrame(s))};return o=requestAnimationFrame(s),()=&gt;{o!=null&amp;&amp;cancelAnimationFrame(o)}}}function KV(){return WV(new HV)}var XV=q.createContext(KV);function GV(e,r){var t=q.useContext(XV);return q.useMemo(()=&gt;r??t(e),[e,r,t])}var YV=()=&gt;!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement&amp;&amp;window.setTimeout),wm={isSsr:YV()},ZV={begin:0,duration:1e3,easing:&quot;ease&quot;,isActive:!0,canBegin:!0,onAnimationEnd:()=&gt;{},onAnimationStart:()=&gt;{}},T5={t:0},Xg={t:1};function _m(e){var r=xn(e,ZV),{isActive:t,canBegin:n,duration:o,easing:s,begin:a,onAnimationEnd:u,onAnimationStart:l,children:i}=r,c=t===&quot;auto&quot;?!wm.isSsr:t,h=GV(r.animationId,r.animationManager),[f,d]=q.useState(c?T5:Xg),v=q.useRef(null);return q.useEffect(()=&gt;{c||d(Xg)},[c]),q.useEffect(()=&gt;{if(!c||!n)return Cu;var y=FV(T5,Xg,qV(s),o,d,h.getTimeoutController()),p=()=&gt;{v.current=y()};return h.start([l,a,p,o,u]),()=&gt;{h.stop(),v.current&amp;&amp;v.current(),u()}},[c,n,o,s,a,l,u,h]),i(f.t)}function jm(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;animation-&quot;,t=q.useRef(su(r)),n=q.useRef(e);return n.current!==e&amp;&amp;(t.current=su(r),n.current=e),t.current}var QV=[&quot;radius&quot;],JV=[&quot;radius&quot;],P5,I5,R5,D5,L5,F5,B5,z5,$5,U5;function V5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function q5(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){eq(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 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)}function mh(){return mh=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},mh.apply(null,arguments)}function W5(e,r){if(e==null)return{};var t,n,o=nq(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function nq(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 fs(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var H5=(e,r,t,n,o)=&gt;{var s=Ca(t),a=Ca(n),u=Math.min(Math.abs(s)/2,Math.abs(a)/2),l=a&gt;=0?1:-1,i=s&gt;=0?1:-1,c=a&gt;=0&amp;&amp;s&gt;=0||a&lt;0&amp;&amp;s&lt;0?1:0,h;if(u&gt;0&amp;&amp;o instanceof Array){for(var f=[0,0,0,0],d=0,v=4;d&lt;v;d++)f[d]=o[d]&gt;u?u:o[d];h=Pr(P5||(P5=fs([&quot;M&quot;,&quot;,&quot;,&quot;&quot;])),e,r+l*f[0]),f[0]&gt;0&amp;&amp;(h+=Pr(I5||(I5=fs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;&quot;])),f[0],f[0],c,e+i*f[0],r)),h+=Pr(R5||(R5=fs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i*f[1],r),f[1]&gt;0&amp;&amp;(h+=Pr(D5||(D5=fs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),f[1],f[1],c,e+t,r+l*f[1])),h+=Pr(L5||(L5=fs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r+n-l*f[2]),f[2]&gt;0&amp;&amp;(h+=Pr(F5||(F5=fs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),f[2],f[2],c,e+t-i*f[2],r+n)),h+=Pr(B5||(B5=fs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+i*f[3],r+n),f[3]&gt;0&amp;&amp;(h+=Pr(z5||(z5=fs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),f[3],f[3],c,e,r+n-l*f[3])),h+=&quot;Z&quot;}else if(u&gt;0&amp;&amp;o===+o&amp;&amp;o&gt;0){var y=Math.min(u,o);h=Pr($5||($5=fs([&quot;M &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot; Z&quot;])),e,r+l*y,y,y,c,e+i*y,r,e+t-i*y,r,y,y,c,e+t,r+l*y,e+t,r+n-l*y,y,y,c,e+t-i*y,r+n,e+i*y,r+n,y,y,c,e,r+n-l*y)}else h=Pr(U5||(U5=fs([&quot;M &quot;,&quot;,&quot;,&quot; h &quot;,&quot; v &quot;,&quot; h &quot;,&quot; Z&quot;])),e,r,t,n,-t);return h},K5={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},mC=e=&gt;{var r=xn(e,K5),t=q.useRef(null),[n,o]=q.useState(-1);q.useEffect(()=&gt;{if(t.current&amp;&amp;t.current.getTotalLength)try{var k=t.current.getTotalLength();k&amp;&amp;o(k)}catch{}},[]);var{x:s,y:a,width:u,height:l,radius:i,className:c}=r,{animationEasing:h,animationDuration:f,animationBegin:d,isAnimationActive:v,isUpdateAnimationActive:y}=r,p=q.useRef(u),b=q.useRef(l),x=q.useRef(s),_=q.useRef(a),E=q.useMemo(()=&gt;({x:s,y:a,width:u,height:l,radius:i}),[s,a,u,l,i]),M=jm(E,&quot;rectangle-&quot;);if(s!==+s||a!==+a||u!==+u||l!==+l||u===0||l===0)return null;var D=sr(&quot;recharts-rectangle&quot;,c);if(!y){var W=Bn(r),{radius:L}=W,V=W5(W,QV);return q.createElement(&quot;path&quot;,mh({},V,{x:Ca(s),y:Ca(a),width:Ca(u),height:Ca(l),radius:typeof i==&quot;number&quot;?i:void 0,className:D,d:H5(s,a,u,l,i)}))}var H=p.current,K=b.current,z=x.current,O=_.current,I=&quot;0px &quot;.concat(n===-1?1:n,&quot;px&quot;),C=&quot;&quot;.concat(n,&quot;px 0px&quot;),j=uC([&quot;strokeDasharray&quot;],f,typeof h==&quot;string&quot;?h:K5.animationEasing);return q.createElement(_m,{animationId:M,key:M,canBegin:n&gt;0,duration:f,easing:h,isActive:y,begin:d},k=&gt;{var S=Ir(H,u,k),N=Ir(K,l,k),T=Ir(z,s,k),R=Ir(O,a,k);t.current&amp;&amp;(p.current=S,b.current=N,x.current=T,_.current=R);var B;v?k&gt;0?B={transition:j,strokeDasharray:C}:B={strokeDasharray:I}:B={strokeDasharray:C};var Y=Bn(r),{radius:Z}=Y,ne=W5(Y,JV);return q.createElement(&quot;path&quot;,mh({},ne,{radius:typeof i==&quot;number&quot;?i:void 0,className:D,d:H5(T,R,S,N,i),ref:t,style:q5(q5({},B),r.style)}))})};function X5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function G5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?X5(Object(t),!0).forEach(function(n){iq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function iq(e,r,t){return(r=sq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function sq(e){var r=aq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function aq(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 ph=Math.PI/180,oq=e=&gt;e*180/Math.PI,bn=(e,r,t,n)=&gt;({x:e+Math.cos(-ph*n)*t,y:r+Math.sin(-ph*n)*t}),lq=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},cq=(e,r)=&gt;{var{x:t,y:n}=e,{x:o,y:s}=r;return Math.sqrt((t-o)**2+(n-s)**2)},uq=(e,r)=&gt;{var{x:t,y:n}=e,{cx:o,cy:s}=r,a=cq({x:t,y:n},{x:o,y:s});if(a&lt;=0)return{radius:a,angle:0};var u=(t-o)/a,l=Math.acos(u);return n&gt;s&amp;&amp;(l=2*Math.PI-l),{radius:a,angle:oq(l),angleInRadian:l}},dq=e=&gt;{var{startAngle:r,endAngle:t}=e,n=Math.floor(r/360),o=Math.floor(t/360),s=Math.min(n,o);return{startAngle:r-s*360,endAngle:t-s*360}},fq=(e,r)=&gt;{var{startAngle:t,endAngle:n}=r,o=Math.floor(t/360),s=Math.floor(n/360),a=Math.min(o,s);return e+a*360},hq=(e,r)=&gt;{var{chartX:t,chartY:n}=e,{radius:o,angle:s}=uq({x:t,y:n},r),{innerRadius:a,outerRadius:u}=r;if(o&lt;a||o&gt;u||o===0)return null;var{startAngle:l,endAngle:i}=dq(r),c=s,h;if(l&lt;=i){for(;c&gt;i;)c-=360;for(;c&lt;l;)c+=360;h=c&gt;=l&amp;&amp;c&lt;=i}else{for(;c&gt;l;)c-=360;for(;c&lt;i;)c+=360;h=c&gt;=i&amp;&amp;c&lt;=l}return h?G5(G5({},r),{},{radius:o,angle:fq(c,r)}):null};function pC(e){var{cx:r,cy:t,radius:n,startAngle:o,endAngle:s}=e,a=bn(r,t,n,o),u=bn(r,t,n,s);return{points:[a,u],cx:r,cy:t,radius:n,startAngle:o,endAngle:s}}var Y5,Z5,Q5,J5,e6,t6,r6;function Dy(){return Dy=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},Dy.apply(null,arguments)}function go(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var mq=(e,r)=&gt;{var t=Zn(r-e),n=Math.min(Math.abs(r-e),359.999);return t*n},cf=e=&gt;{var{cx:r,cy:t,radius:n,angle:o,sign:s,isExternal:a,cornerRadius:u,cornerIsExternal:l}=e,i=u*(a?1:-1)+n,c=Math.asin(u/i)/ph,h=l?o:o+s*c,f=bn(r,t,i,h),d=bn(r,t,n,h),v=l?o-s*c:o,y=bn(r,t,i*Math.cos(c*ph),v);return{center:f,circleTangency:d,lineTangency:y,theta:c}},gC=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:s,endAngle:a}=e,u=mq(s,a),l=s+u,i=bn(r,t,o,s),c=bn(r,t,o,l),h=Pr(Y5||(Y5=go([&quot;M &quot;,&quot;,&quot;,`
    A `,&quot;,&quot;,`,0,
    `,&quot;,&quot;,`,
    `,&quot;,&quot;,`
  `])),i.x,i.y,o,o,+(Math.abs(u)&gt;180),+(s&gt;l),c.x,c.y);if(n&gt;0){var f=bn(r,t,n,s),d=bn(r,t,n,l);h+=Pr(Z5||(Z5=go([&quot;L &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,`,0,
            `,&quot;,&quot;,`,
            `,&quot;,&quot;,&quot; Z&quot;])),d.x,d.y,n,n,+(Math.abs(u)&gt;180),+(s&lt;=l),f.x,f.y)}else h+=Pr(Q5||(Q5=go([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),r,t);return h},pq=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,cornerRadius:s,forceCornerRadius:a,cornerIsExternal:u,startAngle:l,endAngle:i}=e,c=Zn(i-l),{circleTangency:h,lineTangency:f,theta:d}=cf({cx:r,cy:t,radius:o,angle:l,sign:c,cornerRadius:s,cornerIsExternal:u}),{circleTangency:v,lineTangency:y,theta:p}=cf({cx:r,cy:t,radius:o,angle:i,sign:-c,cornerRadius:s,cornerIsExternal:u}),b=u?Math.abs(l-i):Math.abs(l-i)-d-p;if(b&lt;0)return a?Pr(J5||(J5=go([&quot;M &quot;,&quot;,&quot;,`
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
      `])),f.x,f.y,s,s,s*2,s,s,-s*2):gC({cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:l,endAngle:i});var x=Pr(e6||(e6=go([&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;,`
  `])),f.x,f.y,s,s,+(c&lt;0),h.x,h.y,o,o,+(b&gt;180),+(c&lt;0),v.x,v.y,s,s,+(c&lt;0),y.x,y.y);if(n&gt;0){var{circleTangency:_,lineTangency:E,theta:M}=cf({cx:r,cy:t,radius:n,angle:l,sign:c,isExternal:!0,cornerRadius:s,cornerIsExternal:u}),{circleTangency:D,lineTangency:W,theta:L}=cf({cx:r,cy:t,radius:n,angle:i,sign:-c,isExternal:!0,cornerRadius:s,cornerIsExternal:u}),V=u?Math.abs(l-i):Math.abs(l-i)-M-L;if(V&lt;0&amp;&amp;s===0)return&quot;&quot;.concat(x,&quot;L&quot;).concat(r,&quot;,&quot;).concat(t,&quot;Z&quot;);x+=Pr(t6||(t6=go([&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;])),W.x,W.y,s,s,+(c&lt;0),D.x,D.y,n,n,+(V&gt;180),+(c&gt;0),_.x,_.y,s,s,+(c&lt;0),E.x,E.y)}else x+=Pr(r6||(r6=go([&quot;L&quot;,&quot;,&quot;,&quot;Z&quot;])),r,t);return x},gq={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},vC=e=&gt;{var r=xn(e,gq),{cx:t,cy:n,innerRadius:o,outerRadius:s,cornerRadius:a,forceCornerRadius:u,cornerIsExternal:l,startAngle:i,endAngle:c,className:h}=r;if(s&lt;o||i===c)return null;var f=sr(&quot;recharts-sector&quot;,h),d=s-o,v=Ji(a,d,0,!0),y;return v&gt;0&amp;&amp;Math.abs(i-c)&lt;360?y=pq({cx:t,cy:n,innerRadius:o,outerRadius:s,cornerRadius:Math.min(v,d/2),forceCornerRadius:u,cornerIsExternal:l,startAngle:i,endAngle:c}):y=gC({cx:t,cy:n,innerRadius:o,outerRadius:s,startAngle:i,endAngle:c}),q.createElement(&quot;path&quot;,Dy({},Bn(r),{className:f,d:y}))};function vq(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(rN(r)){if(e===&quot;centric&quot;){var{cx:n,cy:o,innerRadius:s,outerRadius:a,angle:u}=r,l=bn(n,o,s,u),i=bn(n,o,a,u);return[{x:l.x,y:l.y},{x:i.x,y:i.y}]}return pC(r)}}var Gg={},Yg={},Zg={},n6;function yq(){return n6||(n6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=hN();function t(n){return r.isSymbol(n)?NaN:Number(n)}e.toNumber=t})(Zg)),Zg}var i6;function bq(){return i6||(i6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=yq();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})(Yg)),Yg}var s6;function xq(){return s6||(s6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=mN(),t=bq();function n(o,s,a){a&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;r.isIterateeCall(o,s,a)&amp;&amp;(s=a=void 0),o=t.toFinite(o),s===void 0?(s=o,o=0):s=t.toFinite(s),a=a===void 0?o&lt;s?1:-1:t.toFinite(a);const u=Math.max(Math.ceil((s-o)/(a||1)),0),l=new Array(u);for(let i=0;i&lt;u;i++)l[i]=o,o+=a;return l}e.range=n})(Gg)),Gg}var Qg,a6;function wq(){return a6||(a6=1,Qg=xq().range),Qg}var _q=wq();const yC=ts(_q);function Ma(e,r){return e==null||r==null?NaN:e&lt;r?-1:e&gt;r?1:e&gt;=r?0:NaN}function jq(e,r){return e==null||r==null?NaN:r&lt;e?-1:r&gt;e?1:r&gt;=e?0:NaN}function bx(e){let r,t,n;e.length!==2?(r=Ma,t=(u,l)=&gt;Ma(e(u),l),n=(u,l)=&gt;e(u)-l):(r=e===Ma||e===jq?e:Sq,t=e,n=e);function o(u,l,i=0,c=u.length){if(i&lt;c){if(r(l,l)!==0)return c;do{const h=i+c&gt;&gt;&gt;1;t(u[h],l)&lt;0?i=h+1:c=h}while(i&lt;c)}return i}function s(u,l,i=0,c=u.length){if(i&lt;c){if(r(l,l)!==0)return c;do{const h=i+c&gt;&gt;&gt;1;t(u[h],l)&lt;=0?i=h+1:c=h}while(i&lt;c)}return i}function a(u,l,i=0,c=u.length){const h=o(u,l,i,c-1);return h&gt;i&amp;&amp;n(u[h-1],l)&gt;-n(u[h],l)?h-1:h}return{left:o,center:a,right:s}}function Sq(){return 0}function bC(e){return e===null?NaN:+e}function*kq(e,r){for(let t of e)t!=null&amp;&amp;(t=+t)&gt;=t&amp;&amp;(yield t)}const Nq=bx(Ma),Tu=Nq.right;bx(bC).center;class o6 extends Map{constructor(r,t=Aq){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),r!=null)for(const[n,o]of r)this.set(n,o)}get(r){return super.get(l6(this,r))}has(r){return super.has(l6(this,r))}set(r,t){return super.set(Cq(this,r),t)}delete(r){return super.delete(Eq(this,r))}}function l6({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):t}function Cq({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):(e.set(n,t),t)}function Eq({_intern:e,_key:r},t){const n=r(t);return e.has(n)&amp;&amp;(t=e.get(n),e.delete(n)),t}function Aq(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;?e.valueOf():e}function Mq(e=Ma){if(e===Ma)return xC;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 xC(e,r){return(e==null||!(e&gt;=e))-(r==null||!(r&gt;=r))||(e&lt;r?-1:e&gt;r?1:0)}const Oq=Math.sqrt(50),Tq=Math.sqrt(10),Pq=Math.sqrt(2);function gh(e,r,t){const n=(r-e)/Math.max(0,t),o=Math.floor(Math.log10(n)),s=n/Math.pow(10,o),a=s&gt;=Oq?10:s&gt;=Tq?5:s&gt;=Pq?2:1;let u,l,i;return o&lt;0?(i=Math.pow(10,-o)/a,u=Math.round(e*i),l=Math.round(r*i),u/i&lt;e&amp;&amp;++u,l/i&gt;r&amp;&amp;--l,i=-i):(i=Math.pow(10,o)*a,u=Math.round(e/i),l=Math.round(r/i),u*i&lt;e&amp;&amp;++u,l*i&gt;r&amp;&amp;--l),l&lt;u&amp;&amp;.5&lt;=t&amp;&amp;t&lt;2?gh(e,r,t*2):[u,l,i]}function Ly(e,r,t){if(r=+r,e=+e,t=+t,!(t&gt;0))return[];if(e===r)return[e];const n=r&lt;e,[o,s,a]=n?gh(r,e,t):gh(e,r,t);if(!(s&gt;=o))return[];const u=s-o+1,l=new Array(u);if(n)if(a&lt;0)for(let i=0;i&lt;u;++i)l[i]=(s-i)/-a;else for(let i=0;i&lt;u;++i)l[i]=(s-i)*a;else if(a&lt;0)for(let i=0;i&lt;u;++i)l[i]=(o+i)/-a;else for(let i=0;i&lt;u;++i)l[i]=(o+i)*a;return l}function Fy(e,r,t){return r=+r,e=+e,t=+t,gh(e,r,t)[2]}function By(e,r,t){r=+r,e=+e,t=+t;const n=r&lt;e,o=n?Fy(r,e,t):Fy(e,r,t);return(n?-1:1)*(o&lt;0?1/-o:o)}function c6(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 u6(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 wC(e,r,t=0,n=1/0,o){if(r=Math.floor(r),t=Math.floor(Math.max(0,t)),n=Math.floor(Math.min(e.length-1,n)),!(t&lt;=r&amp;&amp;r&lt;=n))return e;for(o=o===void 0?xC:Mq(o);n&gt;t;){if(n-t&gt;600){const l=n-t+1,i=r-t+1,c=Math.log(l),h=.5*Math.exp(2*c/3),f=.5*Math.sqrt(c*h*(l-h)/l)*(i-l/2&lt;0?-1:1),d=Math.max(t,Math.floor(r-i*h/l+f)),v=Math.min(n,Math.floor(r+(l-i)*h/l+f));wC(e,r,d,v,o)}const s=e[r];let a=t,u=n;for(Tc(e,t,r),o(e[n],s)&gt;0&amp;&amp;Tc(e,t,n);a&lt;u;){for(Tc(e,a,u),++a,--u;o(e[a],s)&lt;0;)++a;for(;o(e[u],s)&gt;0;)--u}o(e[t],s)===0?Tc(e,t,u):(++u,Tc(e,u,n)),u&lt;=r&amp;&amp;(t=u+1),r&lt;=u&amp;&amp;(n=u-1)}return e}function Tc(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}function Iq(e,r,t){if(e=Float64Array.from(kq(e)),!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return u6(e);if(r&gt;=1)return c6(e);var n,o=(n-1)*r,s=Math.floor(o),a=c6(wC(e,s).subarray(0,s+1)),u=u6(e.subarray(s+1));return a+(u-a)*(o-s)}}function Rq(e,r,t=bC){if(!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return+t(e[0],0,e);if(r&gt;=1)return+t(e[n-1],n-1,e);var n,o=(n-1)*r,s=Math.floor(o),a=+t(e[s],s,e),u=+t(e[s+1],s+1,e);return a+(u-a)*(o-s)}}function Dq(e,r,t){e=+e,r=+r,t=(o=arguments.length)&lt;2?(r=e,e=0,1):o&lt;3?1:+t;for(var n=-1,o=Math.max(0,Math.ceil((r-e)/t))|0,s=new Array(o);++n&lt;o;)s[n]=e+n*t;return s}function Pi(e,r){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(r).domain(e);break}return this}function ea(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 zy=Symbol(&quot;implicit&quot;);function xx(){var e=new o6,r=[],t=[],n=zy;function o(s){let a=e.get(s);if(a===void 0){if(n!==zy)return n;e.set(s,a=r.push(s)-1)}return t[a%t.length]}return o.domain=function(s){if(!arguments.length)return r.slice();r=[],e=new o6;for(const a of s)e.has(a)||e.set(a,r.push(a)-1);return o},o.range=function(s){return arguments.length?(t=Array.from(s),o):t.slice()},o.unknown=function(s){return arguments.length?(n=s,o):n},o.copy=function(){return xx(r,t).unknown(n)},Pi.apply(o,arguments),o}function wx(){var e=xx().unknown(void 0),r=e.domain,t=e.range,n=0,o=1,s,a,u=!1,l=0,i=0,c=.5;delete e.unknown;function h(){var f=r().length,d=o&lt;n,v=d?o:n,y=d?n:o;s=(y-v)/Math.max(1,f-l+i*2),u&amp;&amp;(s=Math.floor(s)),v+=(y-v-s*(f-l))*c,a=s*(1-l),u&amp;&amp;(v=Math.round(v),a=Math.round(a));var p=Dq(f).map(function(b){return v+s*b});return t(d?p.reverse():p)}return e.domain=function(f){return arguments.length?(r(f),h()):r()},e.range=function(f){return arguments.length?([n,o]=f,n=+n,o=+o,h()):[n,o]},e.rangeRound=function(f){return[n,o]=f,n=+n,o=+o,u=!0,h()},e.bandwidth=function(){return a},e.step=function(){return s},e.round=function(f){return arguments.length?(u=!!f,h()):u},e.padding=function(f){return arguments.length?(l=Math.min(1,i=+f),h()):l},e.paddingInner=function(f){return arguments.length?(l=Math.min(1,f),h()):l},e.paddingOuter=function(f){return arguments.length?(i=+f,h()):i},e.align=function(f){return arguments.length?(c=Math.max(0,Math.min(1,f)),h()):c},e.copy=function(){return wx(r(),[n,o]).round(u).paddingInner(l).paddingOuter(i).align(c)},Pi.apply(h(),arguments)}function _C(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return _C(r())},e}function Lq(){return _C(wx.apply(null,arguments).paddingInner(1))}function _x(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function jC(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function Pu(){}var hu=.7,vh=1/hu,Sl=&quot;\\s*([+-]?\\d+)\\s*&quot;,mu=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*&quot;,vs=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*&quot;,Fq=/^#([0-9a-f]{3,8})$/,Bq=new RegExp(`^rgb\\(${Sl},${Sl},${Sl}\\)$`),zq=new RegExp(`^rgb\\(${vs},${vs},${vs}\\)$`),$q=new RegExp(`^rgba\\(${Sl},${Sl},${Sl},${mu}\\)$`),Uq=new RegExp(`^rgba\\(${vs},${vs},${vs},${mu}\\)$`),Vq=new RegExp(`^hsl\\(${mu},${vs},${vs}\\)$`),qq=new RegExp(`^hsla\\(${mu},${vs},${vs},${mu}\\)$`),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};_x(Pu,pu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:f6,formatHex:f6,formatHex8:Wq,formatHsl:Hq,formatRgb:h6,toString:h6});function f6(){return this.rgb().formatHex()}function Wq(){return this.rgb().formatHex8()}function Hq(){return SC(this).formatHsl()}function h6(){return this.rgb().formatRgb()}function pu(e){var r,t;return e=(e+&quot;&quot;).trim().toLowerCase(),(r=Fq.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?m6(r):t===3?new Qn(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?uf(r&gt;&gt;24&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;8&amp;255,(r&amp;255)/255):t===4?uf(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=Bq.exec(e))?new Qn(r[1],r[2],r[3],1):(r=zq.exec(e))?new Qn(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=$q.exec(e))?uf(r[1],r[2],r[3],r[4]):(r=Uq.exec(e))?uf(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=Vq.exec(e))?v6(r[1],r[2]/100,r[3]/100,1):(r=qq.exec(e))?v6(r[1],r[2]/100,r[3]/100,r[4]):d6.hasOwnProperty(e)?m6(d6[e]):e===&quot;transparent&quot;?new Qn(NaN,NaN,NaN,0):null}function m6(e){return new Qn(e&gt;&gt;16&amp;255,e&gt;&gt;8&amp;255,e&amp;255,1)}function uf(e,r,t,n){return n&lt;=0&amp;&amp;(e=r=t=NaN),new Qn(e,r,t,n)}function Kq(e){return e instanceof Pu||(e=pu(e)),e?(e=e.rgb(),new Qn(e.r,e.g,e.b,e.opacity)):new Qn}function $y(e,r,t,n){return arguments.length===1?Kq(e):new Qn(e,r,t,n??1)}function Qn(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}_x(Qn,$y,jC(Pu,{brighter(e){return e=e==null?vh:Math.pow(vh,e),new Qn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?hu:Math.pow(hu,e),new Qn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Qn(_o(this.r),_o(this.g),_o(this.b),yh(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:p6,formatHex:p6,formatHex8:Xq,formatRgb:g6,toString:g6}));function p6(){return`#${vo(this.r)}${vo(this.g)}${vo(this.b)}`}function Xq(){return`#${vo(this.r)}${vo(this.g)}${vo(this.b)}${vo((isNaN(this.opacity)?1:this.opacity)*255)}`}function g6(){const e=yh(this.opacity);return`${e===1?&quot;rgb(&quot;:&quot;rgba(&quot;}${_o(this.r)}, ${_o(this.g)}, ${_o(this.b)}${e===1?&quot;)&quot;:`, ${e})`}`}function yh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _o(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function vo(e){return e=_o(e),(e&lt;16?&quot;0&quot;:&quot;&quot;)+e.toString(16)}function v6(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 Xi(e,r,t,n)}function SC(e){if(e instanceof Xi)return new Xi(e.h,e.s,e.l,e.opacity);if(e instanceof Pu||(e=pu(e)),!e)return new Xi;if(e instanceof Xi)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,o=Math.min(r,t,n),s=Math.max(r,t,n),a=NaN,u=s-o,l=(s+o)/2;return u?(r===s?a=(t-n)/u+(t&lt;n)*6:t===s?a=(n-r)/u+2:a=(r-t)/u+4,u/=l&lt;.5?s+o:2-s-o,a*=60):u=l&gt;0&amp;&amp;l&lt;1?0:a,new Xi(a,u,l,e.opacity)}function Gq(e,r,t,n){return arguments.length===1?SC(e):new Xi(e,r,t,n??1)}function Xi(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}_x(Xi,Gq,jC(Pu,{brighter(e){return e=e==null?vh:Math.pow(vh,e),new Xi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?hu:Math.pow(hu,e),new Xi(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h&lt;0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t&lt;.5?t:1-t)*r,o=2*t-n;return new Qn(Jg(e&gt;=240?e-240:e+120,o,n),Jg(e,o,n),Jg(e&lt;120?e+240:e-120,o,n),this.opacity)},clamp(){return new Xi(y6(this.h),df(this.s),df(this.l),yh(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=yh(this.opacity);return`${e===1?&quot;hsl(&quot;:&quot;hsla(&quot;}${y6(this.h)}, ${df(this.s)*100}%, ${df(this.l)*100}%${e===1?&quot;)&quot;:`, ${e})`}`}}));function y6(e){return e=(e||0)%360,e&lt;0?e+360:e}function df(e){return Math.max(0,Math.min(1,e||0))}function Jg(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 jx=e=&gt;()=&gt;e;function Yq(e,r){return function(t){return e+t*r}}function Zq(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 Qq(e){return(e=+e)==1?kC:function(r,t){return t-r?Zq(r,t,e):jx(isNaN(r)?t:r)}}function kC(e,r){var t=r-e;return t?Yq(e,t):jx(isNaN(e)?r:e)}const b6=(function e(r){var t=Qq(r);function n(o,s){var a=t((o=$y(o)).r,(s=$y(s)).r),u=t(o.g,s.g),l=t(o.b,s.b),i=kC(o.opacity,s.opacity);return function(c){return o.r=a(c),o.g=u(c),o.b=l(c),o.opacity=i(c),o+&quot;&quot;}}return n.gamma=e,n})(1);function Jq(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),o;return function(s){for(o=0;o&lt;t;++o)n[o]=e[o]*(1-s)+r[o]*s;return n}}function eW(e){return ArrayBuffer.isView(e)&amp;&amp;!(e instanceof DataView)}function tW(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,o=new Array(n),s=new Array(t),a;for(a=0;a&lt;n;++a)o[a]=Ul(e[a],r[a]);for(;a&lt;t;++a)s[a]=r[a];return function(u){for(a=0;a&lt;n;++a)s[a]=o[a](u);return s}}function rW(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function bh(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function nW(e,r){var t={},n={},o;(e===null||typeof e!=&quot;object&quot;)&amp;&amp;(e={}),(r===null||typeof r!=&quot;object&quot;)&amp;&amp;(r={});for(o in r)o in e?t[o]=Ul(e[o],r[o]):n[o]=r[o];return function(s){for(o in t)n[o]=t[o](s);return n}}var Uy=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ev=new RegExp(Uy.source,&quot;g&quot;);function iW(e){return function(){return e}}function sW(e){return function(r){return e(r)+&quot;&quot;}}function aW(e,r){var t=Uy.lastIndex=ev.lastIndex=0,n,o,s,a=-1,u=[],l=[];for(e=e+&quot;&quot;,r=r+&quot;&quot;;(n=Uy.exec(e))&amp;&amp;(o=ev.exec(r));)(s=o.index)&gt;t&amp;&amp;(s=r.slice(t,s),u[a]?u[a]+=s:u[++a]=s),(n=n[0])===(o=o[0])?u[a]?u[a]+=o:u[++a]=o:(u[++a]=null,l.push({i:a,x:bh(n,o)})),t=ev.lastIndex;return t&lt;r.length&amp;&amp;(s=r.slice(t),u[a]?u[a]+=s:u[++a]=s),u.length&lt;2?l[0]?sW(l[0].x):iW(r):(r=l.length,function(i){for(var c=0,h;c&lt;r;++c)u[(h=l[c]).i]=h.x(i);return u.join(&quot;&quot;)})}function Ul(e,r){var t=typeof r,n;return r==null||t===&quot;boolean&quot;?jx(r):(t===&quot;number&quot;?bh:t===&quot;string&quot;?(n=pu(r))?(r=n,b6):aW:r instanceof pu?b6:r instanceof Date?rW:eW(r)?Jq:Array.isArray(r)?tW:typeof r.valueOf!=&quot;function&quot;&amp;&amp;typeof r.toString!=&quot;function&quot;||isNaN(r)?nW:bh)(e,r)}function Sx(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function oW(e,r){r===void 0&amp;&amp;(r=e,e=Ul);for(var t=0,n=r.length-1,o=r[0],s=new Array(n&lt;0?0:n);t&lt;n;)s[t]=e(o,o=r[++t]);return function(a){var u=Math.max(0,Math.min(n-1,Math.floor(a*=n)));return s[u](a-u)}}function lW(e){return function(){return e}}function xh(e){return+e}var x6=[0,1];function Fn(e){return e}function Vy(e,r){return(r-=e=+e)?function(t){return(t-e)/r}:lW(isNaN(r)?NaN:.5)}function cW(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 uW(e,r,t){var n=e[0],o=e[1],s=r[0],a=r[1];return o&lt;n?(n=Vy(o,n),s=t(a,s)):(n=Vy(n,o),s=t(s,a)),function(u){return s(n(u))}}function dW(e,r,t){var n=Math.min(e.length,r.length)-1,o=new Array(n),s=new Array(n),a=-1;for(e[n]&lt;e[0]&amp;&amp;(e=e.slice().reverse(),r=r.slice().reverse());++a&lt;n;)o[a]=Vy(e[a],e[a+1]),s[a]=t(r[a],r[a+1]);return function(u){var l=Tu(e,u,1,n)-1;return s[l](o[l](u))}}function Iu(e,r){return r.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Sm(){var e=x6,r=x6,t=Ul,n,o,s,a=Fn,u,l,i;function c(){var f=Math.min(e.length,r.length);return a!==Fn&amp;&amp;(a=cW(e[0],e[f-1])),u=f&gt;2?dW:uW,l=i=null,h}function h(f){return f==null||isNaN(f=+f)?s:(l||(l=u(e.map(n),r,t)))(n(a(f)))}return h.invert=function(f){return a(o((i||(i=u(r,e.map(n),bh)))(f)))},h.domain=function(f){return arguments.length?(e=Array.from(f,xh),c()):e.slice()},h.range=function(f){return arguments.length?(r=Array.from(f),c()):r.slice()},h.rangeRound=function(f){return r=Array.from(f),t=Sx,c()},h.clamp=function(f){return arguments.length?(a=f?!0:Fn,c()):a!==Fn},h.interpolate=function(f){return arguments.length?(t=f,c()):t},h.unknown=function(f){return arguments.length?(s=f,h):s},function(f,d){return n=f,o=d,c()}}function kx(){return Sm()(Fn,Fn)}function fW(e){return Math.abs(e=Math.round(e))&gt;=1e21?e.toLocaleString(&quot;en&quot;).replace(/,/g,&quot;&quot;):e.toString(10)}function wh(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 Ol(e){return e=wh(Math.abs(e)),e?e[1]:NaN}function hW(e,r){return function(t,n){for(var o=t.length,s=[],a=0,u=e[0],l=0;o&gt;0&amp;&amp;u&gt;0&amp;&amp;(l+u+1&gt;n&amp;&amp;(u=Math.max(1,n-l)),s.push(t.substring(o-=u,o+u)),!((l+=u+1)&gt;n));)u=e[a=(a+1)%e.length];return s.reverse().join(r)}}function mW(e){return function(r){return r.replace(/[0-9]/g,function(t){return e[+t]})}}var pW=/^(?:(.)?([&lt;&gt;=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function gu(e){if(!(r=pW.exec(e)))throw new Error(&quot;invalid format: &quot;+e);var r;return new Nx({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]})}gu.prototype=Nx.prototype;function Nx(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;}Nx.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 gW(e){e:for(var r=e.length,t=1,n=-1,o;t&lt;r;++t)switch(e[t]){case&quot;.&quot;:n=o=t;break;case&quot;0&quot;:n===0&amp;&amp;(n=t),o=t;break;default:if(!+e[t])break e;n&gt;0&amp;&amp;(n=0);break}return n&gt;0?e.slice(0,n)+e.slice(o+1):e}var _h;function vW(e,r){var t=wh(e,r);if(!t)return _h=void 0,e.toPrecision(r);var n=t[0],o=t[1],s=o-(_h=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,a=n.length;return s===a?n:s&gt;a?n+new Array(s-a+1).join(&quot;0&quot;):s&gt;0?n.slice(0,s)+&quot;.&quot;+n.slice(s):&quot;0.&quot;+new Array(1-s).join(&quot;0&quot;)+wh(e,Math.max(0,r+s-1))[0]}function w6(e,r){var t=wh(e,r);if(!t)return e+&quot;&quot;;var n=t[0],o=t[1];return o&lt;0?&quot;0.&quot;+new Array(-o).join(&quot;0&quot;)+n:n.length&gt;o+1?n.slice(0,o+1)+&quot;.&quot;+n.slice(o+1):n+new Array(o-n.length+2).join(&quot;0&quot;)}const _6={&quot;%&quot;:(e,r)=&gt;(e*100).toFixed(r),b:e=&gt;Math.round(e).toString(2),c:e=&gt;e+&quot;&quot;,d:fW,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:vW,X:e=&gt;Math.round(e).toString(16).toUpperCase(),x:e=&gt;Math.round(e).toString(16)};function j6(e){return e}var S6=Array.prototype.map,k6=[&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 yW(e){var r=e.grouping===void 0||e.thousands===void 0?j6:hW(S6.call(e.grouping,Number),e.thousands+&quot;&quot;),t=e.currency===void 0?&quot;&quot;:e.currency[0]+&quot;&quot;,n=e.currency===void 0?&quot;&quot;:e.currency[1]+&quot;&quot;,o=e.decimal===void 0?&quot;.&quot;:e.decimal+&quot;&quot;,s=e.numerals===void 0?j6:mW(S6.call(e.numerals,String)),a=e.percent===void 0?&quot;%&quot;:e.percent+&quot;&quot;,u=e.minus===void 0?&quot;−&quot;:e.minus+&quot;&quot;,l=e.nan===void 0?&quot;NaN&quot;:e.nan+&quot;&quot;;function i(h,f){h=gu(h);var d=h.fill,v=h.align,y=h.sign,p=h.symbol,b=h.zero,x=h.width,_=h.comma,E=h.precision,M=h.trim,D=h.type;D===&quot;n&quot;?(_=!0,D=&quot;g&quot;):_6[D]||(E===void 0&amp;&amp;(E=12),M=!0,D=&quot;g&quot;),(b||d===&quot;0&quot;&amp;&amp;v===&quot;=&quot;)&amp;&amp;(b=!0,d=&quot;0&quot;,v=&quot;=&quot;);var W=(f&amp;&amp;f.prefix!==void 0?f.prefix:&quot;&quot;)+(p===&quot;$&quot;?t:p===&quot;#&quot;&amp;&amp;/[boxX]/.test(D)?&quot;0&quot;+D.toLowerCase():&quot;&quot;),L=(p===&quot;$&quot;?n:/[%p]/.test(D)?a:&quot;&quot;)+(f&amp;&amp;f.suffix!==void 0?f.suffix:&quot;&quot;),V=_6[D],H=/[defgprs%]/.test(D);E=E===void 0?6:/[gprs]/.test(D)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E));function K(z){var O=W,I=L,C,j,k;if(D===&quot;c&quot;)I=V(z)+I,z=&quot;&quot;;else{z=+z;var S=z&lt;0||1/z&lt;0;if(z=isNaN(z)?l:V(Math.abs(z),E),M&amp;&amp;(z=gW(z)),S&amp;&amp;+z==0&amp;&amp;y!==&quot;+&quot;&amp;&amp;(S=!1),O=(S?y===&quot;(&quot;?y:u:y===&quot;-&quot;||y===&quot;(&quot;?&quot;&quot;:y)+O,I=(D===&quot;s&quot;&amp;&amp;!isNaN(z)&amp;&amp;_h!==void 0?k6[8+_h/3]:&quot;&quot;)+I+(S&amp;&amp;y===&quot;(&quot;?&quot;)&quot;:&quot;&quot;),H){for(C=-1,j=z.length;++C&lt;j;)if(k=z.charCodeAt(C),48&gt;k||k&gt;57){I=(k===46?o+z.slice(C+1):z.slice(C))+I,z=z.slice(0,C);break}}}_&amp;&amp;!b&amp;&amp;(z=r(z,1/0));var N=O.length+z.length+I.length,T=N&lt;x?new Array(x-N+1).join(d):&quot;&quot;;switch(_&amp;&amp;b&amp;&amp;(z=r(T+z,T.length?x-I.length:1/0),T=&quot;&quot;),v){case&quot;&lt;&quot;:z=O+z+I+T;break;case&quot;=&quot;:z=O+T+z+I;break;case&quot;^&quot;:z=T.slice(0,N=T.length&gt;&gt;1)+O+z+I+T.slice(N);break;default:z=T+O+z+I;break}return s(z)}return K.toString=function(){return h+&quot;&quot;},K}function c(h,f){var d=Math.max(-8,Math.min(8,Math.floor(Ol(f)/3)))*3,v=Math.pow(10,-d),y=i((h=gu(h),h.type=&quot;f&quot;,h),{suffix:k6[8+d/3]});return function(p){return y(v*p)}}return{format:i,formatPrefix:c}}var ff,Cx,NC;bW({thousands:&quot;,&quot;,grouping:[3],currency:[&quot;$&quot;,&quot;&quot;]});function bW(e){return ff=yW(e),Cx=ff.format,NC=ff.formatPrefix,ff}function xW(e){return Math.max(0,-Ol(Math.abs(e)))}function wW(e,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ol(r)/3)))*3-Ol(Math.abs(e)))}function _W(e,r){return e=Math.abs(e),r=Math.abs(r)-e,Math.max(0,Ol(r)-Ol(e))+1}function CC(e,r,t,n){var o=By(e,r,t),s;switch(n=gu(n??&quot;,f&quot;),n.type){case&quot;s&quot;:{var a=Math.max(Math.abs(e),Math.abs(r));return n.precision==null&amp;&amp;!isNaN(s=wW(o,a))&amp;&amp;(n.precision=s),NC(n,a)}case&quot;&quot;:case&quot;e&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;r&quot;:{n.precision==null&amp;&amp;!isNaN(s=_W(o,Math.max(Math.abs(e),Math.abs(r))))&amp;&amp;(n.precision=s-(n.type===&quot;e&quot;));break}case&quot;f&quot;:case&quot;%&quot;:{n.precision==null&amp;&amp;!isNaN(s=xW(o))&amp;&amp;(n.precision=s-(n.type===&quot;%&quot;)*2);break}}return Cx(n)}function za(e){var r=e.domain;return e.ticks=function(t){var n=r();return Ly(n[0],n[n.length-1],t??10)},e.tickFormat=function(t,n){var o=r();return CC(o[0],o[o.length-1],t??10,n)},e.nice=function(t){t==null&amp;&amp;(t=10);var n=r(),o=0,s=n.length-1,a=n[o],u=n[s],l,i,c=10;for(u&lt;a&amp;&amp;(i=a,a=u,u=i,i=o,o=s,s=i);c-- &gt;0;){if(i=Fy(a,u,t),i===l)return n[o]=a,n[s]=u,r(n);if(i&gt;0)a=Math.floor(a/i)*i,u=Math.ceil(u/i)*i;else if(i&lt;0)a=Math.ceil(a*i)/i,u=Math.floor(u*i)/i;else break;l=i}return e},e}function EC(){var e=kx();return e.copy=function(){return Iu(e,EC())},Pi.apply(e,arguments),za(e)}function AC(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,xh),t):e.slice()},t.unknown=function(n){return arguments.length?(r=n,t):r},t.copy=function(){return AC(e).unknown(r)},e=arguments.length?Array.from(e,xh):[0,1],za(t)}function MC(e,r){e=e.slice();var t=0,n=e.length-1,o=e[t],s=e[n],a;return s&lt;o&amp;&amp;(a=t,t=n,n=a,a=o,o=s,s=a),e[t]=r.floor(o),e[n]=r.ceil(s),e}function N6(e){return Math.log(e)}function C6(e){return Math.exp(e)}function jW(e){return-Math.log(-e)}function SW(e){return-Math.exp(-e)}function kW(e){return isFinite(e)?+(&quot;1e&quot;+e):e&lt;0?0:e}function NW(e){return e===10?kW:e===Math.E?Math.exp:r=&gt;Math.pow(e,r)}function CW(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 E6(e){return(r,t)=&gt;-e(-r,t)}function Ex(e){const r=e(N6,C6),t=r.domain;let n=10,o,s;function a(){return o=CW(n),s=NW(n),t()[0]&lt;0?(o=E6(o),s=E6(s),e(jW,SW)):e(N6,C6),r}return r.base=function(u){return arguments.length?(n=+u,a()):n},r.domain=function(u){return arguments.length?(t(u),a()):t()},r.ticks=u=&gt;{const l=t();let i=l[0],c=l[l.length-1];const h=c&lt;i;h&amp;&amp;([i,c]=[c,i]);let f=o(i),d=o(c),v,y;const p=u==null?10:+u;let b=[];if(!(n%1)&amp;&amp;d-f&lt;p){if(f=Math.floor(f),d=Math.ceil(d),i&gt;0){for(;f&lt;=d;++f)for(v=1;v&lt;n;++v)if(y=f&lt;0?v/s(-f):v*s(f),!(y&lt;i)){if(y&gt;c)break;b.push(y)}}else for(;f&lt;=d;++f)for(v=n-1;v&gt;=1;--v)if(y=f&gt;0?v/s(-f):v*s(f),!(y&lt;i)){if(y&gt;c)break;b.push(y)}b.length*2&lt;p&amp;&amp;(b=Ly(i,c,p))}else b=Ly(f,d,Math.min(d-f,p)).map(s);return h?b.reverse():b},r.tickFormat=(u,l)=&gt;{if(u==null&amp;&amp;(u=10),l==null&amp;&amp;(l=n===10?&quot;s&quot;:&quot;,&quot;),typeof l!=&quot;function&quot;&amp;&amp;(!(n%1)&amp;&amp;(l=gu(l)).precision==null&amp;&amp;(l.trim=!0),l=Cx(l)),u===1/0)return l;const i=Math.max(1,n*u/r.ticks().length);return c=&gt;{let h=c/s(Math.round(o(c)));return h*n&lt;n-.5&amp;&amp;(h*=n),h&lt;=i?l(c):&quot;&quot;}},r.nice=()=&gt;t(MC(t(),{floor:u=&gt;s(Math.floor(o(u))),ceil:u=&gt;s(Math.ceil(o(u)))})),r}function OC(){const e=Ex(Sm()).domain([1,10]);return e.copy=()=&gt;Iu(e,OC()).base(e.base()),Pi.apply(e,arguments),e}function A6(e){return function(r){return Math.sign(r)*Math.log1p(Math.abs(r/e))}}function M6(e){return function(r){return Math.sign(r)*Math.expm1(Math.abs(r))*e}}function Ax(e){var r=1,t=e(A6(r),M6(r));return t.constant=function(n){return arguments.length?e(A6(r=+n),M6(r)):r},za(t)}function TC(){var e=Ax(Sm());return e.copy=function(){return Iu(e,TC()).constant(e.constant())},Pi.apply(e,arguments)}function O6(e){return function(r){return r&lt;0?-Math.pow(-r,e):Math.pow(r,e)}}function EW(e){return e&lt;0?-Math.sqrt(-e):Math.sqrt(e)}function AW(e){return e&lt;0?-e*e:e*e}function Mx(e){var r=e(Fn,Fn),t=1;function n(){return t===1?e(Fn,Fn):t===.5?e(EW,AW):e(O6(t),O6(1/t))}return r.exponent=function(o){return arguments.length?(t=+o,n()):t},za(r)}function Ox(){var e=Mx(Sm());return e.copy=function(){return Iu(e,Ox()).exponent(e.exponent())},Pi.apply(e,arguments),e}function MW(){return Ox.apply(null,arguments).exponent(.5)}function T6(e){return Math.sign(e)*e*e}function OW(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function PC(){var e=kx(),r=[0,1],t=!1,n;function o(s){var a=OW(e(s));return isNaN(a)?n:t?Math.round(a):a}return o.invert=function(s){return e.invert(T6(s))},o.domain=function(s){return arguments.length?(e.domain(s),o):e.domain()},o.range=function(s){return arguments.length?(e.range((r=Array.from(s,xh)).map(T6)),o):r.slice()},o.rangeRound=function(s){return o.range(s).round(!0)},o.round=function(s){return arguments.length?(t=!!s,o):t},o.clamp=function(s){return arguments.length?(e.clamp(s),o):e.clamp()},o.unknown=function(s){return arguments.length?(n=s,o):n},o.copy=function(){return PC(e.domain(),r).round(t).clamp(e.clamp()).unknown(n)},Pi.apply(o,arguments),za(o)}function IC(){var e=[],r=[],t=[],n;function o(){var a=0,u=Math.max(1,r.length);for(t=new Array(u-1);++a&lt;u;)t[a-1]=Rq(e,a/u);return s}function s(a){return a==null||isNaN(a=+a)?n:r[Tu(t,a)]}return s.invertExtent=function(a){var u=r.indexOf(a);return u&lt;0?[NaN,NaN]:[u&gt;0?t[u-1]:e[0],u&lt;t.length?t[u]:e[e.length-1]]},s.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let u of a)u!=null&amp;&amp;!isNaN(u=+u)&amp;&amp;e.push(u);return e.sort(Ma),o()},s.range=function(a){return arguments.length?(r=Array.from(a),o()):r.slice()},s.unknown=function(a){return arguments.length?(n=a,s):n},s.quantiles=function(){return t.slice()},s.copy=function(){return IC().domain(e).range(r).unknown(n)},Pi.apply(s,arguments)}function RC(){var e=0,r=1,t=1,n=[.5],o=[0,1],s;function a(l){return l!=null&amp;&amp;l&lt;=l?o[Tu(n,l,0,t)]:s}function u(){var l=-1;for(n=new Array(t);++l&lt;t;)n[l]=((l+1)*r-(l-t)*e)/(t+1);return a}return a.domain=function(l){return arguments.length?([e,r]=l,e=+e,r=+r,u()):[e,r]},a.range=function(l){return arguments.length?(t=(o=Array.from(l)).length-1,u()):o.slice()},a.invertExtent=function(l){var i=o.indexOf(l);return i&lt;0?[NaN,NaN]:i&lt;1?[e,n[0]]:i&gt;=t?[n[t-1],r]:[n[i-1],n[i]]},a.unknown=function(l){return arguments.length&amp;&amp;(s=l),a},a.thresholds=function(){return n.slice()},a.copy=function(){return RC().domain([e,r]).range(o).unknown(s)},Pi.apply(za(a),arguments)}function DC(){var e=[.5],r=[0,1],t,n=1;function o(s){return s!=null&amp;&amp;s&lt;=s?r[Tu(e,s,0,n)]:t}return o.domain=function(s){return arguments.length?(e=Array.from(s),n=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(s){return arguments.length?(r=Array.from(s),n=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(s){var a=r.indexOf(s);return[e[a-1],e[a]]},o.unknown=function(s){return arguments.length?(t=s,o):t},o.copy=function(){return DC().domain(e).range(r).unknown(t)},Pi.apply(o,arguments)}const tv=new Date,rv=new Date;function Gr(e,r,t,n){function o(s){return e(s=arguments.length===0?new Date:new Date(+s)),s}return o.floor=s=&gt;(e(s=new Date(+s)),s),o.ceil=s=&gt;(e(s=new Date(s-1)),r(s,1),e(s),s),o.round=s=&gt;{const a=o(s),u=o.ceil(s);return s-a&lt;u-s?a:u},o.offset=(s,a)=&gt;(r(s=new Date(+s),a==null?1:Math.floor(a)),s),o.range=(s,a,u)=&gt;{const l=[];if(s=o.ceil(s),u=u==null?1:Math.floor(u),!(s&lt;a)||!(u&gt;0))return l;let i;do l.push(i=new Date(+s)),r(s,u),e(s);while(i&lt;s&amp;&amp;s&lt;a);return l},o.filter=s=&gt;Gr(a=&gt;{if(a&gt;=a)for(;e(a),!s(a);)a.setTime(a-1)},(a,u)=&gt;{if(a&gt;=a)if(u&lt;0)for(;++u&lt;=0;)for(;r(a,-1),!s(a););else for(;--u&gt;=0;)for(;r(a,1),!s(a););}),t&amp;&amp;(o.count=(s,a)=&gt;(tv.setTime(+s),rv.setTime(+a),e(tv),e(rv),Math.floor(t(tv,rv))),o.every=s=&gt;(s=Math.floor(s),!isFinite(s)||!(s&gt;0)?null:s&gt;1?o.filter(n?a=&gt;n(a)%s===0:a=&gt;o.count(0,a)%s===0):o)),o}const jh=Gr(()=&gt;{},(e,r)=&gt;{e.setTime(+e+r)},(e,r)=&gt;r-e);jh.every=e=&gt;(e=Math.floor(e),!isFinite(e)||!(e&gt;0)?null:e&gt;1?Gr(r=&gt;{r.setTime(Math.floor(r/e)*e)},(r,t)=&gt;{r.setTime(+r+t*e)},(r,t)=&gt;(t-r)/e):jh);jh.range;const Fs=1e3,Ei=Fs*60,Bs=Ei*60,Hs=Bs*24,Tx=Hs*7,P6=Hs*30,nv=Hs*365,yo=Gr(e=&gt;{e.setTime(e-e.getMilliseconds())},(e,r)=&gt;{e.setTime(+e+r*Fs)},(e,r)=&gt;(r-e)/Fs,e=&gt;e.getUTCSeconds());yo.range;const Px=Gr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fs)},(e,r)=&gt;{e.setTime(+e+r*Ei)},(e,r)=&gt;(r-e)/Ei,e=&gt;e.getMinutes());Px.range;const Ix=Gr(e=&gt;{e.setUTCSeconds(0,0)},(e,r)=&gt;{e.setTime(+e+r*Ei)},(e,r)=&gt;(r-e)/Ei,e=&gt;e.getUTCMinutes());Ix.range;const Rx=Gr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fs-e.getMinutes()*Ei)},(e,r)=&gt;{e.setTime(+e+r*Bs)},(e,r)=&gt;(r-e)/Bs,e=&gt;e.getHours());Rx.range;const Dx=Gr(e=&gt;{e.setUTCMinutes(0,0,0)},(e,r)=&gt;{e.setTime(+e+r*Bs)},(e,r)=&gt;(r-e)/Bs,e=&gt;e.getUTCHours());Dx.range;const Ru=Gr(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())*Ei)/Hs,e=&gt;e.getDate()-1);Ru.range;const km=Gr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/Hs,e=&gt;e.getUTCDate()-1);km.range;const LC=Gr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/Hs,e=&gt;Math.floor(e/Hs));LC.range;function To(e){return Gr(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())*Ei)/Tx)}const Nm=To(0),Sh=To(1),TW=To(2),PW=To(3),Tl=To(4),IW=To(5),RW=To(6);Nm.range;Sh.range;TW.range;PW.range;Tl.range;IW.range;RW.range;function Po(e){return Gr(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)/Tx)}const Cm=Po(0),kh=Po(1),DW=Po(2),LW=Po(3),Pl=Po(4),FW=Po(5),BW=Po(6);Cm.range;kh.range;DW.range;LW.range;Pl.range;FW.range;BW.range;const Lx=Gr(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());Lx.range;const Fx=Gr(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());Fx.range;const Ks=Gr(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());Ks.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Gr(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)});Ks.range;const Xs=Gr(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());Xs.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Gr(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)});Xs.range;function FC(e,r,t,n,o,s){const a=[[yo,1,Fs],[yo,5,5*Fs],[yo,15,15*Fs],[yo,30,30*Fs],[s,1,Ei],[s,5,5*Ei],[s,15,15*Ei],[s,30,30*Ei],[o,1,Bs],[o,3,3*Bs],[o,6,6*Bs],[o,12,12*Bs],[n,1,Hs],[n,2,2*Hs],[t,1,Tx],[r,1,P6],[r,3,3*P6],[e,1,nv]];function u(i,c,h){const f=c&lt;i;f&amp;&amp;([i,c]=[c,i]);const d=h&amp;&amp;typeof h.range==&quot;function&quot;?h:l(i,c,h),v=d?d.range(i,+c+1):[];return f?v.reverse():v}function l(i,c,h){const f=Math.abs(c-i)/h,d=bx(([,,p])=&gt;p).right(a,f);if(d===a.length)return e.every(By(i/nv,c/nv,h));if(d===0)return jh.every(Math.max(By(i,c,h),1));const[v,y]=a[f/a[d-1][2]&lt;a[d][2]/f?d-1:d];return v.every(y)}return[u,l]}const[zW,$W]=FC(Xs,Fx,Cm,LC,Dx,Ix),[UW,VW]=FC(Ks,Lx,Nm,Ru,Rx,Px);function iv(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 sv(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 Pc(e,r,t){return{y:e,m:r,d:t,H:0,M:0,S:0,L:0}}function qW(e){var r=e.dateTime,t=e.date,n=e.time,o=e.periods,s=e.days,a=e.shortDays,u=e.months,l=e.shortMonths,i=Ic(o),c=Rc(o),h=Ic(s),f=Rc(s),d=Ic(a),v=Rc(a),y=Ic(u),p=Rc(u),b=Ic(l),x=Rc(l),_={a:k,A:S,b:N,B:T,c:null,d:B6,e:B6,f:hH,g:jH,G:kH,H:uH,I:dH,j:fH,L:BC,m:mH,M:pH,p:R,q:B,Q:U6,s:V6,S:gH,u:vH,U:yH,V:bH,w:xH,W:wH,x:null,X:null,y:_H,Y:SH,Z:NH,&quot;%&quot;:$6},E={a:Y,A:Z,b:ne,B:U,c:null,d:z6,e:z6,f:MH,g:zH,G:UH,H:CH,I:EH,j:AH,L:$C,m:OH,M:TH,p:ee,q:F,Q:U6,s:V6,S:PH,u:IH,U:RH,V:DH,w:LH,W:FH,x:null,X:null,y:BH,Y:$H,Z:VH,&quot;%&quot;:$6},M={a:H,A:K,b:z,B:O,c:I,d:L6,e:L6,f:aH,g:D6,G:R6,H:F6,I:F6,j:rH,L:sH,m:tH,M:nH,p:V,q:eH,Q:lH,s:cH,S:iH,u:GW,U:YW,V:ZW,w:XW,W:QW,x:C,X:j,y:D6,Y:R6,Z:JW,&quot;%&quot;:oH};_.x=D(t,_),_.X=D(n,_),_.c=D(r,_),E.x=D(t,E),E.X=D(n,E),E.c=D(r,E);function D(P,X){return function(re){var Q=[],te=-1,ae=0,ce=P.length,he,se,de;for(re instanceof Date||(re=new Date(+re));++te&lt;ce;)P.charCodeAt(te)===37&amp;&amp;(Q.push(P.slice(ae,te)),(se=I6[he=P.charAt(++te)])!=null?he=P.charAt(++te):se=he===&quot;e&quot;?&quot; &quot;:&quot;0&quot;,(de=X[he])&amp;&amp;(he=de(re,se)),Q.push(he),ae=te+1);return Q.push(P.slice(ae,te)),Q.join(&quot;&quot;)}}function W(P,X){return function(re){var Q=Pc(1900,void 0,1),te=L(Q,P,re+=&quot;&quot;,0),ae,ce;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?(ae=sv(Pc(Q.y,0,1)),ce=ae.getUTCDay(),ae=ce&gt;4||ce===0?kh.ceil(ae):kh(ae),ae=km.offset(ae,(Q.V-1)*7),Q.y=ae.getUTCFullYear(),Q.m=ae.getUTCMonth(),Q.d=ae.getUTCDate()+(Q.w+6)%7):(ae=iv(Pc(Q.y,0,1)),ce=ae.getDay(),ae=ce&gt;4||ce===0?Sh.ceil(ae):Sh(ae),ae=Ru.offset(ae,(Q.V-1)*7),Q.y=ae.getFullYear(),Q.m=ae.getMonth(),Q.d=ae.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),ce=&quot;Z&quot;in Q?sv(Pc(Q.y,0,1)).getUTCDay():iv(Pc(Q.y,0,1)).getDay(),Q.m=0,Q.d=&quot;W&quot;in Q?(Q.w+6)%7+Q.W*7-(ce+5)%7:Q.w+Q.U*7-(ce+6)%7);return&quot;Z&quot;in Q?(Q.H+=Q.Z/100|0,Q.M+=Q.Z%100,sv(Q)):iv(Q)}}function L(P,X,re,Q){for(var te=0,ae=X.length,ce=re.length,he,se;te&lt;ae;){if(Q&gt;=ce)return-1;if(he=X.charCodeAt(te++),he===37){if(he=X.charAt(te++),se=M[he in I6?X.charAt(te++):he],!se||(Q=se(P,re,Q))&lt;0)return-1}else if(he!=re.charCodeAt(Q++))return-1}return Q}function V(P,X,re){var Q=i.exec(X.slice(re));return Q?(P.p=c.get(Q[0].toLowerCase()),re+Q[0].length):-1}function H(P,X,re){var Q=d.exec(X.slice(re));return Q?(P.w=v.get(Q[0].toLowerCase()),re+Q[0].length):-1}function K(P,X,re){var Q=h.exec(X.slice(re));return Q?(P.w=f.get(Q[0].toLowerCase()),re+Q[0].length):-1}function z(P,X,re){var Q=b.exec(X.slice(re));return Q?(P.m=x.get(Q[0].toLowerCase()),re+Q[0].length):-1}function O(P,X,re){var Q=y.exec(X.slice(re));return Q?(P.m=p.get(Q[0].toLowerCase()),re+Q[0].length):-1}function I(P,X,re){return L(P,r,X,re)}function C(P,X,re){return L(P,t,X,re)}function j(P,X,re){return L(P,n,X,re)}function k(P){return a[P.getDay()]}function S(P){return s[P.getDay()]}function N(P){return l[P.getMonth()]}function T(P){return u[P.getMonth()]}function R(P){return o[+(P.getHours()&gt;=12)]}function B(P){return 1+~~(P.getMonth()/3)}function Y(P){return a[P.getUTCDay()]}function Z(P){return s[P.getUTCDay()]}function ne(P){return l[P.getUTCMonth()]}function U(P){return u[P.getUTCMonth()]}function ee(P){return o[+(P.getUTCHours()&gt;=12)]}function F(P){return 1+~~(P.getUTCMonth()/3)}return{format:function(P){var X=D(P+=&quot;&quot;,_);return X.toString=function(){return P},X},parse:function(P){var X=W(P+=&quot;&quot;,!1);return X.toString=function(){return P},X},utcFormat:function(P){var X=D(P+=&quot;&quot;,E);return X.toString=function(){return P},X},utcParse:function(P){var X=W(P+=&quot;&quot;,!0);return X.toString=function(){return P},X}}}var I6={&quot;-&quot;:&quot;&quot;,_:&quot; &quot;,0:&quot;0&quot;},dn=/^\s*\d+/,WW=/^%/,HW=/[\\^$*+?|[\]().{}]/g;function er(e,r,t){var n=e&lt;0?&quot;-&quot;:&quot;&quot;,o=(n?-e:e)+&quot;&quot;,s=o.length;return n+(s&lt;t?new Array(t-s+1).join(r)+o:o)}function KW(e){return e.replace(HW,&quot;\\$&amp;&quot;)}function Ic(e){return new RegExp(&quot;^(?:&quot;+e.map(KW).join(&quot;|&quot;)+&quot;)&quot;,&quot;i&quot;)}function Rc(e){return new Map(e.map((r,t)=&gt;[r.toLowerCase(),t]))}function XW(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.w=+n[0],t+n[0].length):-1}function GW(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.u=+n[0],t+n[0].length):-1}function YW(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.U=+n[0],t+n[0].length):-1}function ZW(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.V=+n[0],t+n[0].length):-1}function QW(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.W=+n[0],t+n[0].length):-1}function R6(e,r,t){var n=dn.exec(r.slice(t,t+4));return n?(e.y=+n[0],t+n[0].length):-1}function D6(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.y=+n[0]+(+n[0]&gt;68?1900:2e3),t+n[0].length):-1}function JW(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 eH(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.q=n[0]*3-3,t+n[0].length):-1}function tH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.m=n[0]-1,t+n[0].length):-1}function L6(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.d=+n[0],t+n[0].length):-1}function rH(e,r,t){var n=dn.exec(r.slice(t,t+3));return n?(e.m=0,e.d=+n[0],t+n[0].length):-1}function F6(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.H=+n[0],t+n[0].length):-1}function nH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.M=+n[0],t+n[0].length):-1}function iH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.S=+n[0],t+n[0].length):-1}function sH(e,r,t){var n=dn.exec(r.slice(t,t+3));return n?(e.L=+n[0],t+n[0].length):-1}function aH(e,r,t){var n=dn.exec(r.slice(t,t+6));return n?(e.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function oH(e,r,t){var n=WW.exec(r.slice(t,t+1));return n?t+n[0].length:-1}function lH(e,r,t){var n=dn.exec(r.slice(t));return n?(e.Q=+n[0],t+n[0].length):-1}function cH(e,r,t){var n=dn.exec(r.slice(t));return n?(e.s=+n[0],t+n[0].length):-1}function B6(e,r){return er(e.getDate(),r,2)}function uH(e,r){return er(e.getHours(),r,2)}function dH(e,r){return er(e.getHours()%12||12,r,2)}function fH(e,r){return er(1+Ru.count(Ks(e),e),r,3)}function BC(e,r){return er(e.getMilliseconds(),r,3)}function hH(e,r){return BC(e,r)+&quot;000&quot;}function mH(e,r){return er(e.getMonth()+1,r,2)}function pH(e,r){return er(e.getMinutes(),r,2)}function gH(e,r){return er(e.getSeconds(),r,2)}function vH(e){var r=e.getDay();return r===0?7:r}function yH(e,r){return er(Nm.count(Ks(e)-1,e),r,2)}function zC(e){var r=e.getDay();return r&gt;=4||r===0?Tl(e):Tl.ceil(e)}function bH(e,r){return e=zC(e),er(Tl.count(Ks(e),e)+(Ks(e).getDay()===4),r,2)}function xH(e){return e.getDay()}function wH(e,r){return er(Sh.count(Ks(e)-1,e),r,2)}function _H(e,r){return er(e.getFullYear()%100,r,2)}function jH(e,r){return e=zC(e),er(e.getFullYear()%100,r,2)}function SH(e,r){return er(e.getFullYear()%1e4,r,4)}function kH(e,r){var t=e.getDay();return e=t&gt;=4||t===0?Tl(e):Tl.ceil(e),er(e.getFullYear()%1e4,r,4)}function NH(e){var r=e.getTimezoneOffset();return(r&gt;0?&quot;-&quot;:(r*=-1,&quot;+&quot;))+er(r/60|0,&quot;0&quot;,2)+er(r%60,&quot;0&quot;,2)}function z6(e,r){return er(e.getUTCDate(),r,2)}function CH(e,r){return er(e.getUTCHours(),r,2)}function EH(e,r){return er(e.getUTCHours()%12||12,r,2)}function AH(e,r){return er(1+km.count(Xs(e),e),r,3)}function $C(e,r){return er(e.getUTCMilliseconds(),r,3)}function MH(e,r){return $C(e,r)+&quot;000&quot;}function OH(e,r){return er(e.getUTCMonth()+1,r,2)}function TH(e,r){return er(e.getUTCMinutes(),r,2)}function PH(e,r){return er(e.getUTCSeconds(),r,2)}function IH(e){var r=e.getUTCDay();return r===0?7:r}function RH(e,r){return er(Cm.count(Xs(e)-1,e),r,2)}function UC(e){var r=e.getUTCDay();return r&gt;=4||r===0?Pl(e):Pl.ceil(e)}function DH(e,r){return e=UC(e),er(Pl.count(Xs(e),e)+(Xs(e).getUTCDay()===4),r,2)}function LH(e){return e.getUTCDay()}function FH(e,r){return er(kh.count(Xs(e)-1,e),r,2)}function BH(e,r){return er(e.getUTCFullYear()%100,r,2)}function zH(e,r){return e=UC(e),er(e.getUTCFullYear()%100,r,2)}function $H(e,r){return er(e.getUTCFullYear()%1e4,r,4)}function UH(e,r){var t=e.getUTCDay();return e=t&gt;=4||t===0?Pl(e):Pl.ceil(e),er(e.getUTCFullYear()%1e4,r,4)}function VH(){return&quot;+0000&quot;}function $6(){return&quot;%&quot;}function U6(e){return+e}function V6(e){return Math.floor(+e/1e3)}var dl,VC,qC;qH({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 qH(e){return dl=qW(e),VC=dl.format,dl.parse,qC=dl.utcFormat,dl.utcParse,dl}function WH(e){return new Date(e)}function HH(e){return e instanceof Date?+e:+new Date(+e)}function Bx(e,r,t,n,o,s,a,u,l,i){var c=kx(),h=c.invert,f=c.domain,d=i(&quot;.%L&quot;),v=i(&quot;:%S&quot;),y=i(&quot;%I:%M&quot;),p=i(&quot;%I %p&quot;),b=i(&quot;%a %d&quot;),x=i(&quot;%b %d&quot;),_=i(&quot;%B&quot;),E=i(&quot;%Y&quot;);function M(D){return(l(D)&lt;D?d:u(D)&lt;D?v:a(D)&lt;D?y:s(D)&lt;D?p:n(D)&lt;D?o(D)&lt;D?b:x:t(D)&lt;D?_:E)(D)}return c.invert=function(D){return new Date(h(D))},c.domain=function(D){return arguments.length?f(Array.from(D,HH)):f().map(WH)},c.ticks=function(D){var W=f();return e(W[0],W[W.length-1],D??10)},c.tickFormat=function(D,W){return W==null?M:i(W)},c.nice=function(D){var W=f();return(!D||typeof D.range!=&quot;function&quot;)&amp;&amp;(D=r(W[0],W[W.length-1],D??10)),D?f(MC(W,D)):c},c.copy=function(){return Iu(c,Bx(e,r,t,n,o,s,a,u,l,i))},c}function KH(){return Pi.apply(Bx(UW,VW,Ks,Lx,Nm,Ru,Rx,Px,yo,VC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function XH(){return Pi.apply(Bx(zW,$W,Xs,Fx,Cm,km,Dx,Ix,yo,qC).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Em(){var e=0,r=1,t,n,o,s,a=Fn,u=!1,l;function i(h){return h==null||isNaN(h=+h)?l:a(o===0?.5:(h=(s(h)-t)*o,u?Math.max(0,Math.min(1,h)):h))}i.domain=function(h){return arguments.length?([e,r]=h,t=s(e=+e),n=s(r=+r),o=t===n?0:1/(n-t),i):[e,r]},i.clamp=function(h){return arguments.length?(u=!!h,i):u},i.interpolator=function(h){return arguments.length?(a=h,i):a};function c(h){return function(f){var d,v;return arguments.length?([d,v]=f,a=h(d,v),i):[a(0),a(1)]}}return i.range=c(Ul),i.rangeRound=c(Sx),i.unknown=function(h){return arguments.length?(l=h,i):l},function(h){return s=h,t=h(e),n=h(r),o=t===n?0:1/(n-t),i}}function $a(e,r){return r.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function WC(){var e=za(Em()(Fn));return e.copy=function(){return $a(e,WC())},ea.apply(e,arguments)}function HC(){var e=Ex(Em()).domain([1,10]);return e.copy=function(){return $a(e,HC()).base(e.base())},ea.apply(e,arguments)}function KC(){var e=Ax(Em());return e.copy=function(){return $a(e,KC()).constant(e.constant())},ea.apply(e,arguments)}function zx(){var e=Mx(Em());return e.copy=function(){return $a(e,zx()).exponent(e.exponent())},ea.apply(e,arguments)}function GH(){return zx.apply(null,arguments).exponent(.5)}function XC(){var e=[],r=Fn;function t(n){if(n!=null&amp;&amp;!isNaN(n=+n))return r((Tu(e,n,1)-1)/(e.length-1))}return t.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let o of n)o!=null&amp;&amp;!isNaN(o=+o)&amp;&amp;e.push(o);return e.sort(Ma),t},t.interpolator=function(n){return arguments.length?(r=n,t):r},t.range=function(){return e.map((n,o)=&gt;r(o/(e.length-1)))},t.quantiles=function(n){return Array.from({length:n+1},(o,s)=&gt;Iq(e,s/n))},t.copy=function(){return XC(r).domain(e)},ea.apply(t,arguments)}function Am(){var e=0,r=.5,t=1,n=1,o,s,a,u,l,i=Fn,c,h=!1,f;function d(y){return isNaN(y=+y)?f:(y=.5+((y=+c(y))-s)*(n*y&lt;n*s?u:l),i(h?Math.max(0,Math.min(1,y)):y))}d.domain=function(y){return arguments.length?([e,r,t]=y,o=c(e=+e),s=c(r=+r),a=c(t=+t),u=o===s?0:.5/(s-o),l=s===a?0:.5/(a-s),n=s&lt;o?-1:1,d):[e,r,t]},d.clamp=function(y){return arguments.length?(h=!!y,d):h},d.interpolator=function(y){return arguments.length?(i=y,d):i};function v(y){return function(p){var b,x,_;return arguments.length?([b,x,_]=p,i=oW(y,[b,x,_]),d):[i(0),i(.5),i(1)]}}return d.range=v(Ul),d.rangeRound=v(Sx),d.unknown=function(y){return arguments.length?(f=y,d):f},function(y){return c=y,o=y(e),s=y(r),a=y(t),u=o===s?0:.5/(s-o),l=s===a?0:.5/(a-s),n=s&lt;o?-1:1,d}}function GC(){var e=za(Am()(Fn));return e.copy=function(){return $a(e,GC())},ea.apply(e,arguments)}function YC(){var e=Ex(Am()).domain([.1,1,10]);return e.copy=function(){return $a(e,YC()).base(e.base())},ea.apply(e,arguments)}function ZC(){var e=Ax(Am());return e.copy=function(){return $a(e,ZC()).constant(e.constant())},ea.apply(e,arguments)}function $x(){var e=Mx(Am());return e.copy=function(){return $a(e,$x()).exponent(e.exponent())},ea.apply(e,arguments)}function YH(){return $x.apply(null,arguments).exponent(.5)}const Uc=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:wx,scaleDiverging:GC,scaleDivergingLog:YC,scaleDivergingPow:$x,scaleDivergingSqrt:YH,scaleDivergingSymlog:ZC,scaleIdentity:AC,scaleImplicit:zy,scaleLinear:EC,scaleLog:OC,scaleOrdinal:xx,scalePoint:Lq,scalePow:Ox,scaleQuantile:IC,scaleQuantize:RC,scaleRadial:PC,scaleSequential:WC,scaleSequentialLog:HC,scaleSequentialPow:zx,scaleSequentialQuantile:XC,scaleSequentialSqrt:GH,scaleSequentialSymlog:KC,scaleSqrt:MW,scaleSymlog:TC,scaleThreshold:DC,scaleTime:KH,scaleUtc:XH,tickFormat:CC},Symbol.toStringTag,{value:&quot;Module&quot;}));var ta=e=&gt;e.chartData,QC=Ae([ta],e=&gt;{var r=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:r,dataStartIndex:0}}),Ux=(e,r,t,n)=&gt;n?QC(e):ta(e),ZH=(e,r,t)=&gt;t?QC(e):ta(e);function Ia(e){if(Array.isArray(e)&amp;&amp;e.length===2){var[r,t]=e;if(Ar(r)&amp;&amp;Ar(t))return!0}return!1}function q6(e,r,t){return t?e:[Math.min(e[0],r[0]),Math.max(e[1],r[1])]}function JC(e,r){if(r&amp;&amp;typeof e!=&quot;function&quot;&amp;&amp;Array.isArray(e)&amp;&amp;e.length===2){var[t,n]=e,o,s;if(Ar(t))o=t;else if(typeof t==&quot;function&quot;)return;if(Ar(n))s=n;else if(typeof n==&quot;function&quot;)return;var a=[o,s];if(Ia(a))return a}}function QH(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(Ia(n))return q6(n,r,t)}catch{}if(Array.isArray(e)&amp;&amp;e.length===2){var[o,s]=e,a,u;if(o===&quot;auto&quot;)r!=null&amp;&amp;(a=Math.min(...r));else if(pt(o))a=o;else if(typeof o==&quot;function&quot;)try{r!=null&amp;&amp;(a=o(r?.[0]))}catch{}else if(typeof o==&quot;string&quot;&amp;&amp;t5.test(o)){var l=t5.exec(o);if(l==null||l[1]==null||r==null)a=void 0;else{var i=+l[1];a=r[0]-i}}else a=r?.[0];if(s===&quot;auto&quot;)r!=null&amp;&amp;(u=Math.max(...r));else if(pt(s))u=s;else if(typeof s==&quot;function&quot;)try{r!=null&amp;&amp;(u=s(r?.[1]))}catch{}else if(typeof s==&quot;string&quot;&amp;&amp;r5.test(s)){var c=r5.exec(s);if(c==null||c[1]==null||r==null)u=void 0;else{var h=+c[1];u=r[1]+h}}else u=r?.[1];var f=[a,u];if(Ia(f))return r==null?f:q6(f,r,t)}}}var Vl=1e9,JH={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:&quot;2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286&quot;},qx,_r=!0,Ti=&quot;[DecimalError] &quot;,jo=Ti+&quot;Invalid argument: &quot;,Vx=Ti+&quot;Exponent out of range: &quot;,ql=Math.floor,uo=Math.pow,eK=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ai,on=1e7,gr=7,e7=9007199254740991,Nh=ql(e7/gr),lt={};lt.absoluteValue=lt.abs=function(){var e=new this.constructor(this);return e.s&amp;&amp;(e.s=1),e};lt.comparedTo=lt.cmp=function(e){var r,t,n,o,s=this;if(e=new s.constructor(e),s.s!==e.s)return s.s||-e.s;if(s.e!==e.e)return s.e&gt;e.e^s.s&lt;0?1:-1;for(n=s.d.length,o=e.d.length,r=0,t=n&lt;o?n:o;r&lt;t;++r)if(s.d[r]!==e.d[r])return s.d[r]&gt;e.d[r]^s.s&lt;0?1:-1;return n===o?0:n&gt;o^s.s&lt;0?1:-1};lt.decimalPlaces=lt.dp=function(){var e=this,r=e.d.length-1,t=(r-e.e)*gr;if(r=e.d[r],r)for(;r%10==0;r/=10)t--;return t&lt;0?0:t};lt.dividedBy=lt.div=function(e){return $s(this,new this.constructor(e))};lt.dividedToIntegerBy=lt.idiv=function(e){var r=this,t=r.constructor;return lr($s(r,new t(e),0,1),t.precision)};lt.equals=lt.eq=function(e){return!this.cmp(e)};lt.exponent=function(){return Vr(this)};lt.greaterThan=lt.gt=function(e){return this.cmp(e)&gt;0};lt.greaterThanOrEqualTo=lt.gte=function(e){return this.cmp(e)&gt;=0};lt.isInteger=lt.isint=function(){return this.e&gt;this.d.length-2};lt.isNegative=lt.isneg=function(){return this.s&lt;0};lt.isPositive=lt.ispos=function(){return this.s&gt;0};lt.isZero=function(){return this.s===0};lt.lessThan=lt.lt=function(e){return this.cmp(e)&lt;0};lt.lessThanOrEqualTo=lt.lte=function(e){return this.cmp(e)&lt;1};lt.logarithm=lt.log=function(e){var r,t=this,n=t.constructor,o=n.precision,s=o+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s&lt;1||e.eq(ai))throw Error(Ti+&quot;NaN&quot;);if(t.s&lt;1)throw Error(Ti+(t.s?&quot;NaN&quot;:&quot;-Infinity&quot;));return t.eq(ai)?new n(0):(_r=!1,r=$s(vu(t,s),vu(e,s),s),_r=!0,lr(r,o))};lt.minus=lt.sub=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?n7(r,e):t7(r,(e.s=-e.s,e))};lt.modulo=lt.mod=function(e){var r,t=this,n=t.constructor,o=n.precision;if(e=new n(e),!e.s)throw Error(Ti+&quot;NaN&quot;);return t.s?(_r=!1,r=$s(t,e,0,1).times(e),_r=!0,t.minus(r)):lr(new n(t),o)};lt.naturalExponential=lt.exp=function(){return r7(this)};lt.naturalLogarithm=lt.ln=function(){return vu(this)};lt.negated=lt.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};lt.plus=lt.add=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?t7(r,e):n7(r,(e.s=-e.s,e))};lt.precision=lt.sd=function(e){var r,t,n,o=this;if(e!==void 0&amp;&amp;e!==!!e&amp;&amp;e!==1&amp;&amp;e!==0)throw Error(jo+e);if(r=Vr(o)+1,n=o.d.length-1,t=n*gr+1,n=o.d[n],n){for(;n%10==0;n/=10)t--;for(n=o.d[0];n&gt;=10;n/=10)t++}return e&amp;&amp;r&gt;t?r:t};lt.squareRoot=lt.sqrt=function(){var e,r,t,n,o,s,a,u=this,l=u.constructor;if(u.s&lt;1){if(!u.s)return new l(0);throw Error(Ti+&quot;NaN&quot;)}for(e=Vr(u),_r=!1,o=Math.sqrt(+u),o==0||o==1/0?(r=ps(u.d),(r.length+e)%2==0&amp;&amp;(r+=&quot;0&quot;),o=Math.sqrt(r),e=ql((e+1)/2)-(e&lt;0||e%2),o==1/0?r=&quot;5e&quot;+e:(r=o.toExponential(),r=r.slice(0,r.indexOf(&quot;e&quot;)+1)+e),n=new l(r)):n=new l(o.toString()),t=l.precision,o=a=t+3;;)if(s=n,n=s.plus($s(u,s,a+2)).times(.5),ps(s.d).slice(0,a)===(r=ps(n.d)).slice(0,a)){if(r=r.slice(a-3,a+1),o==a&amp;&amp;r==&quot;4999&quot;){if(lr(s,t+1,0),s.times(s).eq(u)){n=s;break}}else if(r!=&quot;9999&quot;)break;a+=4}return _r=!0,lr(n,t)};lt.times=lt.mul=function(e){var r,t,n,o,s,a,u,l,i,c=this,h=c.constructor,f=c.d,d=(e=new h(e)).d;if(!c.s||!e.s)return new h(0);for(e.s*=c.s,t=c.e+e.e,l=f.length,i=d.length,l&lt;i&amp;&amp;(s=f,f=d,d=s,a=l,l=i,i=a),s=[],a=l+i,n=a;n--;)s.push(0);for(n=i;--n&gt;=0;){for(r=0,o=l+n;o&gt;n;)u=s[o]+d[n]*f[o-n-1]+r,s[o--]=u%on|0,r=u/on|0;s[o]=(s[o]+r)%on|0}for(;!s[--a];)s.pop();return r?++t:s.shift(),e.d=s,e.e=t,_r?lr(e,h.precision):e};lt.toDecimalPlaces=lt.todp=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(ws(e,0,Vl),r===void 0?r=n.rounding:ws(r,0,8),lr(t,e+Vr(t)+1,r))};lt.toExponential=function(e,r){var t,n=this,o=n.constructor;return e===void 0?t=Eo(n,!0):(ws(e,0,Vl),r===void 0?r=o.rounding:ws(r,0,8),n=lr(new o(n),e+1,r),t=Eo(n,!0,e+1)),t};lt.toFixed=function(e,r){var t,n,o=this,s=o.constructor;return e===void 0?Eo(o):(ws(e,0,Vl),r===void 0?r=s.rounding:ws(r,0,8),n=lr(new s(o),e+Vr(o)+1,r),t=Eo(n.abs(),!1,e+Vr(n)+1),o.isneg()&amp;&amp;!o.isZero()?&quot;-&quot;+t:t)};lt.toInteger=lt.toint=function(){var e=this,r=e.constructor;return lr(new r(e),Vr(e)+1,r.rounding)};lt.toNumber=function(){return+this};lt.toPower=lt.pow=function(e){var r,t,n,o,s,a,u=this,l=u.constructor,i=12,c=+(e=new l(e));if(!e.s)return new l(ai);if(u=new l(u),!u.s){if(e.s&lt;1)throw Error(Ti+&quot;Infinity&quot;);return u}if(u.eq(ai))return u;if(n=l.precision,e.eq(ai))return lr(u,n);if(r=e.e,t=e.d.length-1,a=r&gt;=t,s=u.s,a){if((t=c&lt;0?-c:c)&lt;=e7){for(o=new l(ai),r=Math.ceil(n/gr+4),_r=!1;t%2&amp;&amp;(o=o.times(u),H6(o.d,r)),t=ql(t/2),t!==0;)u=u.times(u),H6(u.d,r);return _r=!0,e.s&lt;0?new l(ai).div(o):lr(o,n)}}else if(s&lt;0)throw Error(Ti+&quot;NaN&quot;);return s=s&lt;0&amp;&amp;e.d[Math.max(r,t)]&amp;1?-1:1,u.s=1,_r=!1,o=e.times(vu(u,n+i)),_r=!0,o=r7(o),o.s=s,o};lt.toPrecision=function(e,r){var t,n,o=this,s=o.constructor;return e===void 0?(t=Vr(o),n=Eo(o,t&lt;=s.toExpNeg||t&gt;=s.toExpPos)):(ws(e,1,Vl),r===void 0?r=s.rounding:ws(r,0,8),o=lr(new s(o),e,r),t=Vr(o),n=Eo(o,e&lt;=t||t&lt;=s.toExpNeg,e)),n};lt.toSignificantDigits=lt.tosd=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(ws(e,1,Vl),r===void 0?r=n.rounding:ws(r,0,8)),lr(new n(t),e,r)};lt.toString=lt.valueOf=lt.val=lt.toJSON=lt[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=function(){var e=this,r=Vr(e),t=e.constructor;return Eo(e,r&lt;=t.toExpNeg||r&gt;=t.toExpPos)};function t7(e,r){var t,n,o,s,a,u,l,i,c=e.constructor,h=c.precision;if(!e.s||!r.s)return r.s||(r=new c(e)),_r?lr(r,h):r;if(l=e.d,i=r.d,a=e.e,o=r.e,l=l.slice(),s=a-o,s){for(s&lt;0?(n=l,s=-s,u=i.length):(n=i,o=a,u=l.length),a=Math.ceil(h/gr),u=a&gt;u?a+1:u+1,s&gt;u&amp;&amp;(s=u,n.length=1),n.reverse();s--;)n.push(0);n.reverse()}for(u=l.length,s=i.length,u-s&lt;0&amp;&amp;(s=u,n=i,i=l,l=n),t=0;s;)t=(l[--s]=l[s]+i[s]+t)/on|0,l[s]%=on;for(t&amp;&amp;(l.unshift(t),++o),u=l.length;l[--u]==0;)l.pop();return r.d=l,r.e=o,_r?lr(r,h):r}function ws(e,r,t){if(e!==~~e||e&lt;r||e&gt;t)throw Error(jo+e)}function ps(e){var r,t,n,o=e.length-1,s=&quot;&quot;,a=e[0];if(o&gt;0){for(s+=a,r=1;r&lt;o;r++)n=e[r]+&quot;&quot;,t=gr-n.length,t&amp;&amp;(s+=_a(t)),s+=n;a=e[r],n=a+&quot;&quot;,t=gr-n.length,t&amp;&amp;(s+=_a(t))}else if(a===0)return&quot;0&quot;;for(;a%10===0;)a/=10;return s+a}var $s=(function(){function e(n,o){var s,a=0,u=n.length;for(n=n.slice();u--;)s=n[u]*o+a,n[u]=s%on|0,a=s/on|0;return a&amp;&amp;n.unshift(a),n}function r(n,o,s,a){var u,l;if(s!=a)l=s&gt;a?1:-1;else for(u=l=0;u&lt;s;u++)if(n[u]!=o[u]){l=n[u]&gt;o[u]?1:-1;break}return l}function t(n,o,s){for(var a=0;s--;)n[s]-=a,a=n[s]&lt;o[s]?1:0,n[s]=a*on+n[s]-o[s];for(;!n[0]&amp;&amp;n.length&gt;1;)n.shift()}return function(n,o,s,a){var u,l,i,c,h,f,d,v,y,p,b,x,_,E,M,D,W,L,V=n.constructor,H=n.s==o.s?1:-1,K=n.d,z=o.d;if(!n.s)return new V(n);if(!o.s)throw Error(Ti+&quot;Division by zero&quot;);for(l=n.e-o.e,W=z.length,M=K.length,d=new V(H),v=d.d=[],i=0;z[i]==(K[i]||0);)++i;if(z[i]&gt;(K[i]||0)&amp;&amp;--l,s==null?x=s=V.precision:a?x=s+(Vr(n)-Vr(o))+1:x=s,x&lt;0)return new V(0);if(x=x/gr+2|0,i=0,W==1)for(c=0,z=z[0],x++;(i&lt;M||c)&amp;&amp;x--;i++)_=c*on+(K[i]||0),v[i]=_/z|0,c=_%z|0;else{for(c=on/(z[0]+1)|0,c&gt;1&amp;&amp;(z=e(z,c),K=e(K,c),W=z.length,M=K.length),E=W,y=K.slice(0,W),p=y.length;p&lt;W;)y[p++]=0;L=z.slice(),L.unshift(0),D=z[0],z[1]&gt;=on/2&amp;&amp;++D;do c=0,u=r(z,y,W,p),u&lt;0?(b=y[0],W!=p&amp;&amp;(b=b*on+(y[1]||0)),c=b/D|0,c&gt;1?(c&gt;=on&amp;&amp;(c=on-1),h=e(z,c),f=h.length,p=y.length,u=r(h,y,f,p),u==1&amp;&amp;(c--,t(h,W&lt;f?L:z,f))):(c==0&amp;&amp;(u=c=1),h=z.slice()),f=h.length,f&lt;p&amp;&amp;h.unshift(0),t(y,h,p),u==-1&amp;&amp;(p=y.length,u=r(z,y,W,p),u&lt;1&amp;&amp;(c++,t(y,W&lt;p?L:z,p))),p=y.length):u===0&amp;&amp;(c++,y=[0]),v[i++]=c,u&amp;&amp;y[0]?y[p++]=K[E]||0:(y=[K[E]],p=1);while((E++&lt;M||y[0]!==void 0)&amp;&amp;x--)}return v[0]||v.shift(),d.e=l,lr(d,a?s+Vr(d)+1:s)}})();function r7(e,r){var t,n,o,s,a,u,l=0,i=0,c=e.constructor,h=c.precision;if(Vr(e)&gt;16)throw Error(Vx+Vr(e));if(!e.s)return new c(ai);for(_r=!1,u=h,a=new c(.03125);e.abs().gte(.1);)e=e.times(a),i+=5;for(n=Math.log(uo(2,i))/Math.LN10*2+5|0,u+=n,t=o=s=new c(ai),c.precision=u;;){if(o=lr(o.times(e),u),t=t.times(++l),a=s.plus($s(o,t,u)),ps(a.d).slice(0,u)===ps(s.d).slice(0,u)){for(;i--;)s=lr(s.times(s),u);return c.precision=h,r==null?(_r=!0,lr(s,h)):s}s=a}}function Vr(e){for(var r=e.e*gr,t=e.d[0];t&gt;=10;t/=10)r++;return r}function av(e,r,t){if(r&gt;e.LN10.sd())throw _r=!0,t&amp;&amp;(e.precision=t),Error(Ti+&quot;LN10 precision limit exceeded&quot;);return lr(new e(e.LN10),r)}function _a(e){for(var r=&quot;&quot;;e--;)r+=&quot;0&quot;;return r}function vu(e,r){var t,n,o,s,a,u,l,i,c,h=1,f=10,d=e,v=d.d,y=d.constructor,p=y.precision;if(d.s&lt;1)throw Error(Ti+(d.s?&quot;NaN&quot;:&quot;-Infinity&quot;));if(d.eq(ai))return new y(0);if(r==null?(_r=!1,i=p):i=r,d.eq(10))return r==null&amp;&amp;(_r=!0),av(y,i);if(i+=f,y.precision=i,t=ps(v),n=t.charAt(0),s=Vr(d),Math.abs(s)&lt;15e14){for(;n&lt;7&amp;&amp;n!=1||n==1&amp;&amp;t.charAt(1)&gt;3;)d=d.times(e),t=ps(d.d),n=t.charAt(0),h++;s=Vr(d),n&gt;1?(d=new y(&quot;0.&quot;+t),s++):d=new y(n+&quot;.&quot;+t.slice(1))}else return l=av(y,i+2,p).times(s+&quot;&quot;),d=vu(new y(n+&quot;.&quot;+t.slice(1)),i-f).plus(l),y.precision=p,r==null?(_r=!0,lr(d,p)):d;for(u=a=d=$s(d.minus(ai),d.plus(ai),i),c=lr(d.times(d),i),o=3;;){if(a=lr(a.times(c),i),l=u.plus($s(a,new y(o),i)),ps(l.d).slice(0,i)===ps(u.d).slice(0,i))return u=u.times(2),s!==0&amp;&amp;(u=u.plus(av(y,i+2,p).times(s+&quot;&quot;))),u=$s(u,new y(h),i),y.precision=p,r==null?(_r=!0,lr(u,p)):u;u=l,o+=2}}function W6(e,r){var t,n,o;for((t=r.indexOf(&quot;.&quot;))&gt;-1&amp;&amp;(r=r.replace(&quot;.&quot;,&quot;&quot;)),(n=r.search(/e/i))&gt;0?(t&lt;0&amp;&amp;(t=n),t+=+r.slice(n+1),r=r.substring(0,n)):t&lt;0&amp;&amp;(t=r.length),n=0;r.charCodeAt(n)===48;)++n;for(o=r.length;r.charCodeAt(o-1)===48;)--o;if(r=r.slice(n,o),r){if(o-=n,t=t-n-1,e.e=ql(t/gr),e.d=[],n=(t+1)%gr,t&lt;0&amp;&amp;(n+=gr),n&lt;o){for(n&amp;&amp;e.d.push(+r.slice(0,n)),o-=gr;n&lt;o;)e.d.push(+r.slice(n,n+=gr));r=r.slice(n),n=gr-r.length}else n-=o;for(;n--;)r+=&quot;0&quot;;if(e.d.push(+r),_r&amp;&amp;(e.e&gt;Nh||e.e&lt;-Nh))throw Error(Vx+t)}else e.s=0,e.e=0,e.d=[0];return e}function lr(e,r,t){var n,o,s,a,u,l,i,c,h=e.d;for(a=1,s=h[0];s&gt;=10;s/=10)a++;if(n=r-a,n&lt;0)n+=gr,o=r,i=h[c=0];else{if(c=Math.ceil((n+1)/gr),s=h.length,c&gt;=s)return e;for(i=s=h[c],a=1;s&gt;=10;s/=10)a++;n%=gr,o=n-gr+a}if(t!==void 0&amp;&amp;(s=uo(10,a-o-1),u=i/s%10|0,l=r&lt;0||h[c+1]!==void 0||i%s,l=t&lt;4?(u||l)&amp;&amp;(t==0||t==(e.s&lt;0?3:2)):u&gt;5||u==5&amp;&amp;(t==4||l||t==6&amp;&amp;(n&gt;0?o&gt;0?i/uo(10,a-o):0:h[c-1])%10&amp;1||t==(e.s&lt;0?8:7))),r&lt;1||!h[0])return l?(s=Vr(e),h.length=1,r=r-s-1,h[0]=uo(10,(gr-r%gr)%gr),e.e=ql(-r/gr)||0):(h.length=1,h[0]=e.e=e.s=0),e;if(n==0?(h.length=c,s=1,c--):(h.length=c+1,s=uo(10,gr-n),h[c]=o&gt;0?(i/uo(10,a-o)%uo(10,o)|0)*s:0),l)for(;;)if(c==0){(h[0]+=s)==on&amp;&amp;(h[0]=1,++e.e);break}else{if(h[c]+=s,h[c]!=on)break;h[c--]=0,s=1}for(n=h.length;h[--n]===0;)h.pop();if(_r&amp;&amp;(e.e&gt;Nh||e.e&lt;-Nh))throw Error(Vx+Vr(e));return e}function n7(e,r){var t,n,o,s,a,u,l,i,c,h,f=e.constructor,d=f.precision;if(!e.s||!r.s)return r.s?r.s=-r.s:r=new f(e),_r?lr(r,d):r;if(l=e.d,h=r.d,n=r.e,i=e.e,l=l.slice(),a=i-n,a){for(c=a&lt;0,c?(t=l,a=-a,u=h.length):(t=h,n=i,u=l.length),o=Math.max(Math.ceil(d/gr),u)+2,a&gt;o&amp;&amp;(a=o,t.length=1),t.reverse(),o=a;o--;)t.push(0);t.reverse()}else{for(o=l.length,u=h.length,c=o&lt;u,c&amp;&amp;(u=o),o=0;o&lt;u;o++)if(l[o]!=h[o]){c=l[o]&lt;h[o];break}a=0}for(c&amp;&amp;(t=l,l=h,h=t,r.s=-r.s),u=l.length,o=h.length-u;o&gt;0;--o)l[u++]=0;for(o=h.length;o&gt;a;){if(l[--o]&lt;h[o]){for(s=o;s&amp;&amp;l[--s]===0;)l[s]=on-1;--l[s],l[o]+=on}l[o]-=h[o]}for(;l[--u]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(r.d=l,r.e=n,_r?lr(r,d):r):new f(0)}function Eo(e,r,t){var n,o=Vr(e),s=ps(e.d),a=s.length;return r?(t&amp;&amp;(n=t-a)&gt;0?s=s.charAt(0)+&quot;.&quot;+s.slice(1)+_a(n):a&gt;1&amp;&amp;(s=s.charAt(0)+&quot;.&quot;+s.slice(1)),s=s+(o&lt;0?&quot;e&quot;:&quot;e+&quot;)+o):o&lt;0?(s=&quot;0.&quot;+_a(-o-1)+s,t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(s+=_a(n))):o&gt;=a?(s+=_a(o+1-a),t&amp;&amp;(n=t-o-1)&gt;0&amp;&amp;(s=s+&quot;.&quot;+_a(n))):((n=o+1)&lt;a&amp;&amp;(s=s.slice(0,n)+&quot;.&quot;+s.slice(n)),t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(o+1===a&amp;&amp;(s+=&quot;.&quot;),s+=_a(n))),e.s&lt;0?&quot;-&quot;+s:s}function H6(e,r){if(e.length&gt;r)return e.length=r,!0}function i7(e){var r,t,n;function o(s){var a=this;if(!(a instanceof o))return new o(s);if(a.constructor=o,s instanceof o){a.s=s.s,a.e=s.e,a.d=(s=s.d)?s.slice():s;return}if(typeof s==&quot;number&quot;){if(s*0!==0)throw Error(jo+s);if(s&gt;0)a.s=1;else if(s&lt;0)s=-s,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(s===~~s&amp;&amp;s&lt;1e7){a.e=0,a.d=[s];return}return W6(a,s.toString())}else if(typeof s!=&quot;string&quot;)throw Error(jo+s);if(s.charCodeAt(0)===45?(s=s.slice(1),a.s=-1):a.s=1,eK.test(s))W6(a,s);else throw Error(jo+s)}if(o.prototype=lt,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=i7,o.config=o.set=tK,e===void 0&amp;&amp;(e={}),e)for(n=[&quot;precision&quot;,&quot;rounding&quot;,&quot;toExpNeg&quot;,&quot;toExpPos&quot;,&quot;LN10&quot;],r=0;r&lt;n.length;)e.hasOwnProperty(t=n[r++])||(e[t]=this[t]);return o.config(e),o}function tK(e){if(!e||typeof e!=&quot;object&quot;)throw Error(Ti+&quot;Object expected&quot;);var r,t,n,o=[&quot;precision&quot;,1,Vl,&quot;rounding&quot;,0,8,&quot;toExpNeg&quot;,-1/0,0,&quot;toExpPos&quot;,0,1/0];for(r=0;r&lt;o.length;r+=3)if((n=e[t=o[r]])!==void 0)if(ql(n)===n&amp;&amp;n&gt;=o[r+1]&amp;&amp;n&lt;=o[r+2])this[t]=n;else throw Error(jo+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(jo+t+&quot;: &quot;+n);return this}var qx=i7(JH);ai=new qx(1);const ir=qx;var rK=e=&gt;e,s7={},a7=e=&gt;e===s7,K6=e=&gt;function r(){return arguments.length===0||arguments.length===1&amp;&amp;a7(arguments.length&lt;=0?void 0:arguments[0])?r:e(...arguments)},o7=(e,r)=&gt;e===1?r:K6(function(){for(var t=arguments.length,n=new Array(t),o=0;o&lt;t;o++)n[o]=arguments[o];var s=n.filter(a=&gt;a!==s7).length;return s&gt;=e?r(...n):o7(e-s,K6(function(){for(var a=arguments.length,u=new Array(a),l=0;l&lt;a;l++)u[l]=arguments[l];var i=n.map(c=&gt;a7(c)?u.shift():c);return r(...i,...u)}))}),nK=e=&gt;o7(e.length,e),qy=(e,r)=&gt;{for(var t=[],n=e;n&lt;r;++n)t[n-e]=n;return t},iK=nK((e,r)=&gt;Array.isArray(r)?r.map(e):Object.keys(r).map(t=&gt;r[t]).map(e)),sK=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(!t.length)return rK;var o=t.reverse(),s=o[0],a=o.slice(1);return function(){return a.reduce((u,l)=&gt;l(u),s(...arguments))}};function l7(e){var r;return e===0?r=1:r=Math.floor(new ir(e).abs().log(10).toNumber())+1,r}function c7(e,r,t){for(var n=new ir(e),o=0,s=[];n.lt(r)&amp;&amp;o&lt;1e5;)s.push(n.toNumber()),n=n.add(t),o++;return s}var u7=e=&gt;{var[r,t]=e,[n,o]=[r,t];return r&gt;t&amp;&amp;([n,o]=[t,r]),[n,o]},d7=(e,r,t)=&gt;{if(e.lte(0))return new ir(0);var n=l7(e.toNumber()),o=new ir(10).pow(n),s=e.div(o),a=n!==1?.05:.1,u=new ir(Math.ceil(s.div(a).toNumber())).add(t).mul(a),l=u.mul(o);return r?new ir(l.toNumber()):new ir(Math.ceil(l.toNumber()))},aK=(e,r,t)=&gt;{var n=new ir(1),o=new ir(e);if(!o.isint()&amp;&amp;t){var s=Math.abs(e);s&lt;1?(n=new ir(10).pow(l7(e)-1),o=new ir(Math.floor(o.div(n).toNumber())).mul(n)):s&gt;1&amp;&amp;(o=new ir(Math.floor(e)))}else e===0?o=new ir(Math.floor((r-1)/2)):t||(o=new ir(Math.floor(e)));var a=Math.floor((r-1)/2),u=sK(iK(l=&gt;o.add(new ir(l-a).mul(n)).toNumber()),qy);return u(0,r)},f7=function(r,t,n,o){var s=arguments.length&gt;4&amp;&amp;arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-r)/(n-1)))return{step:new ir(0),tickMin:new ir(0),tickMax:new ir(0)};var a=d7(new ir(t).sub(r).div(n-1),o,s),u;r&lt;=0&amp;&amp;t&gt;=0?u=new ir(0):(u=new ir(r).add(t).div(2),u=u.sub(new ir(u).mod(a)));var l=Math.ceil(u.sub(r).div(a).toNumber()),i=Math.ceil(new ir(t).sub(u).div(a).toNumber()),c=l+i+1;return c&gt;n?f7(r,t,n,o,s+1):(c&lt;n&amp;&amp;(i=t&gt;0?i+(n-c):i,l=t&gt;0?l:l+(n-c)),{step:a,tickMin:u.sub(new ir(l).mul(a)),tickMax:u.add(new ir(i).mul(a))})},oK=function(r){var[t,n]=r,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:6,s=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,a=Math.max(o,2),[u,l]=u7([t,n]);if(u===-1/0||l===1/0){var i=l===1/0?[u,...qy(0,o-1).map(()=&gt;1/0)]:[...qy(0,o-1).map(()=&gt;-1/0),l];return t&gt;n?i.reverse():i}if(u===l)return aK(u,o,s);var{step:c,tickMin:h,tickMax:f}=f7(u,l,a,s,0),d=c7(h,f.add(new ir(.1).mul(c)),c);return t&gt;n?d.reverse():d},lK=function(r,t){var[n,o]=r,s=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,[a,u]=u7([n,o]);if(a===-1/0||u===1/0)return[n,o];if(a===u)return[a];var l=Math.max(t,2),i=d7(new ir(u).sub(a).div(l-1),s,0),c=[...c7(new ir(a),new ir(u),i),u];return s===!1&amp;&amp;(c=c.map(h=&gt;Math.round(h))),n&gt;o?c.reverse():c},h7=e=&gt;e.rootProps.maxBarSize,cK=e=&gt;e.rootProps.barGap,m7=e=&gt;e.rootProps.barCategoryGap,uK=e=&gt;e.rootProps.barSize,Mm=e=&gt;e.rootProps.stackOffset,p7=e=&gt;e.rootProps.reverseStackOrder,Wx=e=&gt;e.options.chartName,Hx=e=&gt;e.rootProps.syncId,g7=e=&gt;e.rootProps.syncMethod,Kx=e=&gt;e.options.eventEmitter,cn={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},Ds={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;},Om=(e,r)=&gt;{if(!(!e||!r))return e!=null&amp;&amp;e.reversed?[r[1],r[0]]:r},dK={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Ds.angleAxisId,includeHidden:!1,name:void 0,reversed:Ds.reversed,scale:Ds.scale,tick:Ds.tick,tickCount:void 0,ticks:void 0,type:Ds.type,unit:void 0},fK={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},hK={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:Ds.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Ds.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Ds.scale,tick:Ds.tick,tickCount:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0},mK={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},Xx=(e,r)=&gt;e.polarAxis.angleAxis[r]!=null?e.polarAxis.angleAxis[r]:e.layout.layoutType===&quot;radial&quot;?hK:dK,Gx=(e,r)=&gt;e.polarAxis.radiusAxis[r]!=null?e.polarAxis.radiusAxis[r]:e.layout.layoutType===&quot;radial&quot;?mK:fK,Tm=e=&gt;e.polarOptions,Yx=Ae([Qs,Js,un],lq),v7=Ae([Tm,Yx],(e,r)=&gt;{if(e!=null)return Ji(e.innerRadius,r,0)}),y7=Ae([Tm,Yx],(e,r)=&gt;{if(e!=null)return Ji(e.outerRadius,r,r*.8)}),pK=e=&gt;{if(e==null)return[0,0];var{startAngle:r,endAngle:t}=e;return[r,t]},b7=Ae([Tm],pK);Ae([Xx,b7],Om);var x7=Ae([Yx,v7,y7],(e,r,t)=&gt;{if(!(e==null||r==null||t==null))return[r,t]});Ae([Gx,x7],Om);var w7=Ae([tr,Tm,v7,y7,Qs,Js],(e,r,t,n,o,s)=&gt;{if(!(e!==&quot;centric&quot;&amp;&amp;e!==&quot;radial&quot;||r==null||t==null||n==null)){var{cx:a,cy:u,startAngle:l,endAngle:i}=r;return{cx:Ji(a,o,o/2),cy:Ji(u,s,s/2),innerRadius:t,outerRadius:n,startAngle:l,endAngle:i,clockWise:!1}}}),Yr=(e,r)=&gt;r,Pm=(e,r,t)=&gt;t;function Zx(e){return e?.id}function _7(e,r,t){var{chartData:n=[]}=r,{allowDuplicatedCategory:o,dataKey:s}=t,a=new Map;return e.forEach(u=&gt;{var l,i=(l=u.data)!==null&amp;&amp;l!==void 0?l:n;if(!(i==null||i.length===0)){var c=Zx(u);i.forEach((h,f)=&gt;{var d=s==null||o?f:String(Ur(h,s,null)),v=Ur(h,u.dataKey,0),y;a.has(d)?y=a.get(d):y={},Object.assign(y,{[c]:v}),a.set(d,y)})}}),Array.from(a.values())}function Im(e){return&quot;stackId&quot;in e&amp;&amp;e.stackId!=null&amp;&amp;e.dataKey!=null}var Rm=(e,r)=&gt;e===r?!0:e==null||r==null?!1:e[0]===r[0]&amp;&amp;e[1]===r[1];function Dm(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 gK(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 Zr=e=&gt;{var r=tr(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;},Wl=e=&gt;e.tooltip.settings.axisId;function X6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Ch(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?X6(Object(t),!0).forEach(function(n){vK(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function vK(e,r,t){return(r=yK(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yK(e){var r=bK(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bK(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 Wy=[0,&quot;auto&quot;],sn={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},j7=(e,r)=&gt;e.cartesianAxis.xAxis[r],ra=(e,r)=&gt;{var t=j7(e,r);return t??sn},an={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:Wy,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:Mu},S7=(e,r)=&gt;e.cartesianAxis.yAxis[r],na=(e,r)=&gt;{var t=S7(e,r);return t??an},xK={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;},Qx=(e,r)=&gt;{var t=e.cartesianAxis.zAxis[r];return t??xK},$n=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);case&quot;zAxis&quot;:return Qx(e,t);case&quot;angleAxis&quot;:return Xx(e,t);case&quot;radiusAxis&quot;:return Gx(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},wK=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},Du=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);case&quot;angleAxis&quot;:return Xx(e,t);case&quot;radiusAxis&quot;:return Gx(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},k7=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 N7(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 Lm=e=&gt;e.graphicalItems.cartesianItems,_K=Ae([Yr,Pm],N7),C7=(e,r,t)=&gt;e.filter(t).filter(n=&gt;r?.includeHidden===!0?!0:!n.hide),Lu=Ae([Lm,$n,_K],C7,{memoizeOptions:{resultEqualityCheck:Dm}}),E7=Ae([Lu],e=&gt;e.filter(r=&gt;r.type===&quot;area&quot;||r.type===&quot;bar&quot;).filter(Im)),A7=e=&gt;e.filter(r=&gt;!(&quot;stackId&quot;in r)||r.stackId===void 0),jK=Ae([Lu],A7),M7=e=&gt;e.map(r=&gt;r.data).filter(Boolean).flat(1),SK=Ae([Lu],M7,{memoizeOptions:{resultEqualityCheck:Dm}}),O7=(e,r)=&gt;{var{chartData:t=[],dataStartIndex:n,dataEndIndex:o}=r;return e.length&gt;0?e:t.slice(n,o+1)},Jx=Ae([SK,Ux],O7),T7=(e,r,t)=&gt;r?.dataKey!=null?e.map(n=&gt;({value:Ur(n,r.dataKey)})):t.length&gt;0?t.map(n=&gt;n.dataKey).flatMap(n=&gt;e.map(o=&gt;({value:Ur(o,n)}))):e.map(n=&gt;({value:n})),Fm=Ae([Jx,$n,Lu],T7);function P7(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 Ef(e){if(bs(e)||e instanceof Date){var r=Number(e);if(Ar(r))return r}}function G6(e){if(Array.isArray(e)){var r=[Ef(e[0]),Ef(e[1])];return Ia(r)?r:void 0}var t=Ef(e);if(t!=null)return[t,t]}function Gs(e){return e.map(Ef).filter(uB)}function kK(e,r,t){return!t||typeof r!=&quot;number&quot;||Qi(r)?[]:t.length?Gs(t.flatMap(n=&gt;{var o=Ur(e,n.dataKey),s,a;if(Array.isArray(o)?[s,a]=o:s=a=o,!(!Ar(s)||!Ar(a)))return[r-s,r+a]})):[]}var Qr=e=&gt;{var r=Zr(e),t=Wl(e);return Du(e,r,t)},Fu=Ae([Qr],e=&gt;e?.dataKey),NK=Ae([E7,Ux,Qr],_7),I7=(e,r,t,n)=&gt;{var o={},s=r.reduce((a,u)=&gt;{if(u.stackId==null)return a;var l=a[u.stackId];return l==null&amp;&amp;(l=[]),l.push(u),a[u.stackId]=l,a},o);return Object.fromEntries(Object.entries(s).map(a=&gt;{var[u,l]=a,i=n?[...l].reverse():l,c=i.map(Zx);return[u,{stackedData:F$(e,c,t),graphicalItems:i}]}))},Hy=Ae([NK,E7,Mm,p7],I7),R7=(e,r,t,n)=&gt;{var{dataStartIndex:o,dataEndIndex:s}=r;if(n==null&amp;&amp;t!==&quot;zAxis&quot;){var a=V$(e,o,s);if(!(a!=null&amp;&amp;a[0]===0&amp;&amp;a[1]===0))return a}},CK=Ae([$n],e=&gt;e.allowDataOverflow),e1=e=&gt;{var r;if(e==null||!(&quot;domain&quot;in e))return Wy;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=Gs(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:Wy},D7=Ae([$n],e1),L7=Ae([D7,CK],JC),EK=Ae([Hy,ta,Yr,L7],R7,{memoizeOptions:{resultEqualityCheck:Rm}}),t1=e=&gt;e.errorBars,AK=(e,r,t)=&gt;e.flatMap(n=&gt;r[n.id]).filter(Boolean).filter(n=&gt;P7(t,n)),Eh=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];var o=t.filter(Boolean);if(o.length!==0){var s=o.flat(),a=Math.min(...s),u=Math.max(...s);return[a,u]}},F7=(e,r,t,n,o)=&gt;{var s,a;if(t.length&gt;0&amp;&amp;e.forEach(u=&gt;{t.forEach(l=&gt;{var i,c,h=(i=n[l.id])===null||i===void 0?void 0:i.filter(b=&gt;P7(o,b)),f=Ur(u,(c=r.dataKey)!==null&amp;&amp;c!==void 0?c:l.dataKey),d=kK(u,f,h);if(d.length&gt;=2){var v=Math.min(...d),y=Math.max(...d);(s==null||v&lt;s)&amp;&amp;(s=v),(a==null||y&gt;a)&amp;&amp;(a=y)}var p=G6(f);p!=null&amp;&amp;(s=s==null?p[0]:Math.min(s,p[0]),a=a==null?p[1]:Math.max(a,p[1]))})}),r?.dataKey!=null&amp;&amp;e.forEach(u=&gt;{var l=G6(Ur(u,r.dataKey));l!=null&amp;&amp;(s=s==null?l[0]:Math.min(s,l[0]),a=a==null?l[1]:Math.max(a,l[1]))}),Ar(s)&amp;&amp;Ar(a))return[s,a]},MK=Ae([Jx,$n,jK,t1,Yr],F7,{memoizeOptions:{resultEqualityCheck:Rm}});function OK(e){var{value:r}=e;if(bs(r)||r instanceof Date)return r}var TK=(e,r,t)=&gt;{var n=e.map(OK).filter(o=&gt;o!=null);return t&amp;&amp;(r.dataKey==null||r.allowDuplicatedCategory&amp;&amp;J8(n))?yC(0,e.length):r.allowDuplicatedCategory?n:Array.from(new Set(n))},B7=e=&gt;e.referenceElements.dots,Hl=(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),PK=Ae([B7,Yr,Pm],Hl),z7=e=&gt;e.referenceElements.areas,IK=Ae([z7,Yr,Pm],Hl),$7=e=&gt;e.referenceElements.lines,RK=Ae([$7,Yr,Pm],Hl),U7=(e,r)=&gt;{if(e!=null){var t=Gs(e.map(n=&gt;r===&quot;xAxis&quot;?n.x:n.y));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},DK=Ae(PK,Yr,U7),V7=(e,r)=&gt;{if(e!=null){var t=Gs(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)]}},LK=Ae([IK,Yr],V7);function FK(e){var r;if(e.x!=null)return Gs([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?[]:Gs(t)}function BK(e){var r;if(e.y!=null)return Gs([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?[]:Gs(t)}var q7=(e,r)=&gt;{if(e!=null){var t=e.flatMap(n=&gt;r===&quot;xAxis&quot;?FK(n):BK(n));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},zK=Ae([RK,Yr],q7),$K=Ae(DK,zK,LK,(e,r,t)=&gt;Eh(e,t,r)),W7=(e,r,t,n,o,s,a,u)=&gt;{if(t!=null)return t;var l=a===&quot;vertical&quot;&amp;&amp;u===&quot;xAxis&quot;||a===&quot;horizontal&quot;&amp;&amp;u===&quot;yAxis&quot;,i=l?Eh(n,s,o):Eh(s,o);return QH(r,i,e.allowDataOverflow)},UK=Ae([$n,D7,L7,EK,MK,$K,tr,Yr],W7,{memoizeOptions:{resultEqualityCheck:Rm}}),VK=[0,1],H7=(e,r,t,n,o,s,a)=&gt;{if(!((e==null||t==null||t.length===0)&amp;&amp;a===void 0)){var{dataKey:u,type:l}=e,i=Ba(r,s);if(i&amp;&amp;u==null){var c;return yC(0,(c=t?.length)!==null&amp;&amp;c!==void 0?c:0)}return l===&quot;category&quot;?TK(n,e,i):o===&quot;expand&quot;?VK:a}},r1=Ae([$n,tr,Jx,Fm,Mm,Yr,UK],H7),K7=(e,r,t,n,o)=&gt;{if(e!=null){var{scale:s,type:a}=e;if(s===&quot;auto&quot;)return r===&quot;radial&quot;&amp;&amp;o===&quot;radiusAxis&quot;?&quot;band&quot;:r===&quot;radial&quot;&amp;&amp;o===&quot;angleAxis&quot;?&quot;linear&quot;:a===&quot;category&quot;&amp;&amp;n&amp;&amp;(n.indexOf(&quot;LineChart&quot;)&gt;=0||n.indexOf(&quot;AreaChart&quot;)&gt;=0||n.indexOf(&quot;ComposedChart&quot;)&gt;=0&amp;&amp;!t)?&quot;point&quot;:a===&quot;category&quot;?&quot;band&quot;:&quot;linear&quot;;if(typeof s==&quot;string&quot;){var u=&quot;scale&quot;.concat(Nu(s));return u in Uc?u:&quot;point&quot;}}},Bu=Ae([$n,tr,k7,Wx,Yr],K7);function qK(e){if(e!=null){if(e in Uc)return Uc[e]();var r=&quot;scale&quot;.concat(Nu(e));if(r in Uc)return Uc[r]()}}function n1(e,r,t,n){if(!(t==null||n==null)){if(typeof e.scale==&quot;function&quot;)return e.scale.copy().domain(t).range(n);var o=qK(r);if(o!=null){var s=o.domain(t).range(n);return P$(s),s}}}var X7=(e,r,t)=&gt;{var n=e1(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;Ia(e))return oK(e,r.tickCount,r.allowDecimals);if(r!=null&amp;&amp;r.tickCount&amp;&amp;r.type===&quot;number&quot;&amp;&amp;Ia(e))return lK(e,r.tickCount,r.allowDecimals)}},i1=Ae([r1,Du,Bu],X7),G7=(e,r,t,n)=&gt;{if(n!==&quot;angleAxis&quot;&amp;&amp;e?.type===&quot;number&quot;&amp;&amp;Ia(r)&amp;&amp;Array.isArray(t)&amp;&amp;t.length&gt;0){var o=r[0],s=t[0],a=r[1],u=t[t.length-1];return[Math.min(o,s),Math.max(a,u)]}return r},WK=Ae([$n,r1,i1,Yr],G7),HK=Ae(Fm,$n,(e,r)=&gt;{if(!(!r||r.type!==&quot;number&quot;)){var t=1/0,n=Array.from(Gs(e.map(h=&gt;h.value))).sort((h,f)=&gt;h-f),o=n[0],s=n[n.length-1];if(o==null||s==null)return 1/0;var a=s-o;if(a===0)return 1/0;for(var u=0;u&lt;n.length-1;u++){var l=n[u],i=n[u+1];if(!(l==null||i==null)){var c=i-l;t=Math.min(t,c)}}return t/a}}),Y7=Ae(HK,tr,m7,un,(e,r,t,n,o)=&gt;o,(e,r,t,n,o)=&gt;{if(!Ar(e))return 0;var s=r===&quot;vertical&quot;?n.height:n.width;if(o===&quot;gap&quot;)return e*s/2;if(o===&quot;no-gap&quot;){var a=Ji(t,e*s),u=e*s/2;return u-a-(u-a)/s*a}return 0}),KK=(e,r,t)=&gt;{var n=ra(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:Y7(e,&quot;xAxis&quot;,r,t,n.padding)},XK=(e,r,t)=&gt;{var n=na(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:Y7(e,&quot;yAxis&quot;,r,t,n.padding)},GK=Ae(ra,KK,(e,r)=&gt;{var t,n;if(e==null)return{left:0,right:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{left:r,right:r}:{left:((t=o.left)!==null&amp;&amp;t!==void 0?t:0)+r,right:((n=o.right)!==null&amp;&amp;n!==void 0?n:0)+r}}),YK=Ae(na,XK,(e,r)=&gt;{var t,n;if(e==null)return{top:0,bottom:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{top:r,bottom:r}:{top:((t=o.top)!==null&amp;&amp;t!==void 0?t:0)+r,bottom:((n=o.bottom)!==null&amp;&amp;n!==void 0?n:0)+r}}),ZK=Ae([un,GK,pm,mm,(e,r,t)=&gt;t],(e,r,t,n,o)=&gt;{var{padding:s}=n;return o?[s.left,t.width-s.right]:[e.left+r.left,e.left+e.width-r.right]}),QK=Ae([un,tr,YK,pm,mm,(e,r,t)=&gt;t],(e,r,t,n,o,s)=&gt;{var{padding:a}=o;return s?[n.height-a.bottom,a.top]:r===&quot;horizontal&quot;?[e.top+e.height-t.bottom,e.top+t.top]:[e.top+t.top,e.top+e.height-t.bottom]}),zu=(e,r,t,n)=&gt;{var o;switch(r){case&quot;xAxis&quot;:return ZK(e,t,n);case&quot;yAxis&quot;:return QK(e,t,n);case&quot;zAxis&quot;:return(o=Qx(e,t))===null||o===void 0?void 0:o.range;case&quot;angleAxis&quot;:return b7(e);case&quot;radiusAxis&quot;:return x7(e,t);default:return}},Z7=Ae([$n,zu],Om),Bm=Ae([$n,Bu,WK,Z7],n1);Ae([Lu,t1,Yr],AK);function Q7(e,r){return e.id&lt;r.id?-1:e.id&gt;r.id?1:0}var zm=(e,r)=&gt;r,$m=(e,r,t)=&gt;t,JK=Ae(fm,zm,$m,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(Q7)),eX=Ae(hm,zm,$m,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(Q7)),J7=(e,r)=&gt;({width:e.width,height:r.height}),tX=(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Mu;return{width:t,height:e.height}},e9=Ae(un,ra,J7),rX=(e,r,t)=&gt;{switch(r){case&quot;top&quot;:return e.top;case&quot;bottom&quot;:return t-e.bottom;default:return 0}},nX=(e,r,t)=&gt;{switch(r){case&quot;left&quot;:return e.left;case&quot;right&quot;:return t-e.right;default:return 0}},iX=Ae(Js,un,JK,zm,$m,(e,r,t,n,o)=&gt;{var s={},a;return t.forEach(u=&gt;{var l=J7(r,u);a==null&amp;&amp;(a=rX(r,n,e));var i=n===&quot;top&quot;&amp;&amp;!o||n===&quot;bottom&quot;&amp;&amp;o;s[u.id]=a-Number(i)*l.height,a+=(i?-1:1)*l.height}),s}),sX=Ae(Qs,un,eX,zm,$m,(e,r,t,n,o)=&gt;{var s={},a;return t.forEach(u=&gt;{var l=tX(r,u);a==null&amp;&amp;(a=nX(r,n,e));var i=n===&quot;left&quot;&amp;&amp;!o||n===&quot;right&quot;&amp;&amp;o;s[u.id]=a-Number(i)*l.width,a+=(i?-1:1)*l.width}),s}),aX=(e,r)=&gt;{var t=ra(e,r);if(t!=null)return iX(e,t.orientation,t.mirror)},oX=Ae([un,ra,aX,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:e.left,y:0}:{x:e.left,y:o}}}),lX=(e,r)=&gt;{var t=na(e,r);if(t!=null)return sX(e,t.orientation,t.mirror)},cX=Ae([un,na,lX,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:0,y:e.top}:{x:o,y:e.top}}}),t9=Ae(un,na,(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Mu;return{width:t,height:e.height}}),Y6=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return e9(e,t).width;case&quot;yAxis&quot;:return t9(e,t).height;default:return}},r9=(e,r,t,n)=&gt;{if(t!=null){var{allowDuplicatedCategory:o,type:s,dataKey:a}=t,u=Ba(e,n),l=r.map(i=&gt;i.value);if(a&amp;&amp;u&amp;&amp;s===&quot;category&quot;&amp;&amp;o&amp;&amp;J8(l))return l}},s1=Ae([tr,Fm,$n,Yr],r9),n9=(e,r,t,n)=&gt;{if(!(t==null||t.dataKey==null)){var{type:o,scale:s}=t,a=Ba(e,n);if(a&amp;&amp;(o===&quot;number&quot;||s!==&quot;auto&quot;))return r.map(u=&gt;u.value)}},a1=Ae([tr,Fm,Du,Yr],n9),Z6=Ae([tr,wK,Bu,Bm,s1,a1,zu,i1,Yr],(e,r,t,n,o,s,a,u,l)=&gt;{if(r!=null){var i=Ba(e,l);return{angle:r.angle,interval:r.interval,minTickGap:r.minTickGap,orientation:r.orientation,tick:r.tick,tickCount:r.tickCount,tickFormatter:r.tickFormatter,ticks:r.ticks,type:r.type,unit:r.unit,axisType:l,categoricalDomain:s,duplicateDomain:o,isCategorical:i,niceTicks:u,range:a,realScaleType:t,scale:n}}}),uX=(e,r,t,n,o,s,a,u,l)=&gt;{if(!(r==null||n==null)){var i=Ba(e,l),{type:c,ticks:h,tickCount:f}=r,d=t===&quot;scaleBand&quot;&amp;&amp;typeof n.bandwidth==&quot;function&quot;?n.bandwidth()/2:2,v=c===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/d:0;v=l===&quot;angleAxis&quot;&amp;&amp;s!=null&amp;&amp;s.length&gt;=2?Zn(s[0]-s[1])*2*v:v;var y=h||o;if(y){var p=y.map((b,x)=&gt;{var _=a?a.indexOf(b):b;return{index:x,coordinate:n(_)+v,value:b,offset:v}});return p.filter(b=&gt;Ar(b.coordinate))}return i&amp;&amp;u?u.map((b,x)=&gt;({coordinate:n(b)+v,value:b,index:x,offset:v})).filter(b=&gt;Ar(b.coordinate)):n.ticks?n.ticks(f).map(b=&gt;({coordinate:n(b)+v,value:b,offset:v})):n.domain().map((b,x)=&gt;({coordinate:n(b)+v,value:a?a[b]:b,index:x,offset:v}))}},i9=Ae([tr,Du,Bu,Bm,i1,zu,s1,a1,Yr],uX),dX=(e,r,t,n,o,s,a)=&gt;{if(!(r==null||t==null||n==null||n[0]===n[1])){var u=Ba(e,a),{tickCount:l}=r,i=0;return i=a===&quot;angleAxis&quot;&amp;&amp;n?.length&gt;=2?Zn(n[0]-n[1])*2*i:i,u&amp;&amp;s?s.map((c,h)=&gt;({coordinate:t(c)+i,value:c,index:h,offset:i})):t.ticks?t.ticks(l).map(c=&gt;({coordinate:t(c)+i,value:c,offset:i})):t.domain().map((c,h)=&gt;({coordinate:t(c)+i,value:o?o[c]:c,index:h,offset:i}))}},Ra=Ae([tr,Du,Bm,zu,s1,a1,Yr],dX),Da=Ae($n,Bm,(e,r)=&gt;{if(!(e==null||r==null))return Ch(Ch({},e),{},{scale:r})}),fX=Ae([$n,Bu,r1,Z7],n1);Ae((e,r,t)=&gt;Qx(e,t),fX,(e,r)=&gt;{if(!(e==null||r==null))return Ch(Ch({},e),{},{scale:r})});var hX=Ae([tr,fm,hm],(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}}),s9=e=&gt;e.options.defaultTooltipEventType,a9=e=&gt;e.options.validateTooltipEventTypes;function o9(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 o1(e,r){var t=s9(e),n=a9(e);return o9(r,t,n)}function mX(e){return xt(r=&gt;o1(r,e))}var l9=(e,r)=&gt;{var t,n=Number(r);if(!(Qi(n)||r==null))return n&gt;=0?e==null||(t=e[n])===null||t===void 0?void 0:t.value:void 0},pX=e=&gt;e.tooltip.settings,Sa={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},gX={itemInteraction:{click:Sa,hover:Sa},axisInteraction:{click:Sa,hover:Sa},keyboardInteraction:Sa,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}},c9=ei({name:&quot;tooltip&quot;,initialState:gX,reducers:{addTooltipEntrySettings:{reducer(e,r){e.tooltipItemPayloads.push(r.payload)},prepare:wr()},replaceTooltipEntrySettings:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Yi(e).tooltipItemPayloads.indexOf(t);o&gt;-1&amp;&amp;(e.tooltipItemPayloads[o]=n)},prepare:wr()},removeTooltipEntrySettings:{reducer(e,r){var t=Yi(e).tooltipItemPayloads.indexOf(r.payload);t&gt;-1&amp;&amp;e.tooltipItemPayloads.splice(t,1)},prepare:wr()},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:vX,replaceTooltipEntrySettings:yX,removeTooltipEntrySettings:bX,setTooltipSettingsState:xX,setActiveMouseOverItemIndex:u9,mouseLeaveItem:wX,mouseLeaveChart:d9,setActiveClickItemIndex:_X,setMouseOverAxisIndex:f9,setMouseClickAxisIndex:jX,setSyncInteraction:Ky,setKeyboardInteraction:Xy}=c9.actions,SX=c9.reducer;function Q6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function hf(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Q6(Object(t),!0).forEach(function(n){kX(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kX(e,r,t){return(r=NX(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function NX(e){var r=CX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function CX(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 EX(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 AX(e){return e.index!=null}var h9=(e,r,t,n)=&gt;{if(r==null)return Sa;var o=EX(e,r,t);if(o==null)return Sa;if(o.active)return o;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&amp;&amp;e.syncInteraction.index!=null)return e.syncInteraction;var s=e.settings.active===!0;if(AX(o)){if(s)return hf(hf({},o),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return hf(hf({},Sa),{},{coordinate:o.coordinate})};function MX(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 OX(e,r){var t=MX(e),n=r[0],o=r[1];if(t===void 0)return!1;var s=Math.min(n,o),a=Math.max(n,o);return t&gt;=s&amp;&amp;t&lt;=a}function TX(e,r,t){if(t==null||r==null)return!0;var n=Ur(e,r);return n==null||!Ia(t)?!0:OX(n,t)}var l1=(e,r,t,n)=&gt;{var o=e?.index;if(o==null)return null;var s=Number(o);if(!Ar(s))return o;var a=0,u=1/0;r.length&gt;0&amp;&amp;(u=r.length-1);var l=Math.max(a,Math.min(s,u)),i=r[l];return i==null||TX(i,t,n)?String(l):null},m9=(e,r,t,n,o,s,a,u)=&gt;{if(!(s==null||u==null)){var l=a[0],i=l==null?void 0:u(l.positions,s);if(i!=null)return i;var c=o?.[Number(s)];if(c)return t===&quot;horizontal&quot;?{x:c.coordinate,y:(n.top+r)/2}:{x:(n.left+e)/2,y:c.coordinate}}},p9=(e,r,t,n)=&gt;{if(r===&quot;axis&quot;)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var o;if(t===&quot;hover&quot;?o=e.itemInteraction.hover.graphicalItemId:o=e.itemInteraction.click.graphicalItemId,o==null&amp;&amp;n!=null){var s=e.tooltipItemPayloads[0];return s!=null?[s]:[]}return e.tooltipItemPayloads.filter(a=&gt;{var u;return((u=a.settings)===null||u===void 0?void 0:u.graphicalItemId)===o})},$u=e=&gt;e.options.tooltipPayloadSearcher,Kl=e=&gt;e.tooltip;function J6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function ej(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?J6(Object(t),!0).forEach(function(n){PX(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function PX(e,r,t){return(r=IX(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function IX(e){var r=RX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function RX(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 DX(e,r){return e??r}var g9=(e,r,t,n,o,s,a)=&gt;{if(!(r==null||s==null)){var{chartData:u,computedData:l,dataStartIndex:i,dataEndIndex:c}=t,h=[];return e.reduce((f,d)=&gt;{var v,{dataDefinedOnItem:y,settings:p}=d,b=DX(y,u),x=Array.isArray(b)?HN(b,i,c):b,_=(v=p?.dataKey)!==null&amp;&amp;v!==void 0?v:n,E=p?.nameKey,M;if(n&amp;&amp;Array.isArray(x)&amp;&amp;!Array.isArray(x[0])&amp;&amp;a===&quot;axis&quot;?M=eN(x,n,o):M=s(x,r,l,E),Array.isArray(M))M.forEach(W=&gt;{var L=ej(ej({},p),{},{name:W.name,unit:W.unit,color:void 0,fill:void 0});f.push(n5({tooltipEntrySettings:L,dataKey:W.dataKey,payload:W.payload,value:Ur(W.payload,W.dataKey),name:W.name}))});else{var D;f.push(n5({tooltipEntrySettings:p,dataKey:_,payload:M,value:Ur(M,_),name:(D=Ur(M,E))!==null&amp;&amp;D!==void 0?D:p?.name}))}return f},h)}},c1=Ae([Qr,tr,k7,Wx,Zr],K7),LX=Ae([e=&gt;e.graphicalItems.cartesianItems,e=&gt;e.graphicalItems.polarItems],(e,r)=&gt;[...e,...r]),FX=Ae([Zr,Wl],N7),Xl=Ae([LX,Qr,FX],C7,{memoizeOptions:{resultEqualityCheck:Dm}}),BX=Ae([Xl],e=&gt;e.filter(Im)),zX=Ae([Xl],M7,{memoizeOptions:{resultEqualityCheck:Dm}}),Gl=Ae([zX,ta],O7),$X=Ae([BX,ta,Qr],_7),u1=Ae([Gl,Qr,Xl],T7),v9=Ae([Qr],e1),UX=Ae([Qr],e=&gt;e.allowDataOverflow),y9=Ae([v9,UX],JC),VX=Ae([Xl],e=&gt;e.filter(Im)),qX=Ae([$X,VX,Mm,p7],I7),WX=Ae([qX,ta,Zr,y9],R7),HX=Ae([Xl],A7),KX=Ae([Gl,Qr,HX,t1,Zr],F7,{memoizeOptions:{resultEqualityCheck:Rm}}),XX=Ae([B7,Zr,Wl],Hl),GX=Ae([XX,Zr],U7),YX=Ae([z7,Zr,Wl],Hl),ZX=Ae([YX,Zr],V7),QX=Ae([$7,Zr,Wl],Hl),JX=Ae([QX,Zr],q7),eG=Ae([GX,JX,ZX],Eh),tG=Ae([Qr,v9,y9,WX,KX,eG,tr,Zr],W7),Uu=Ae([Qr,tr,Gl,u1,Mm,Zr,tG],H7),rG=Ae([Uu,Qr,c1],X7),nG=Ae([Qr,Uu,rG,Zr],G7),b9=e=&gt;{var r=Zr(e),t=Wl(e),n=!1;return zu(e,r,t,n)},x9=Ae([Qr,b9],Om),w9=Ae([Qr,c1,nG,x9],n1),iG=Ae([tr,u1,Qr,Zr],r9),sG=Ae([tr,u1,Qr,Zr],n9),aG=(e,r,t,n,o,s,a,u)=&gt;{if(r){var{type:l}=r,i=Ba(e,u);if(n){var c=t===&quot;scaleBand&quot;&amp;&amp;n.bandwidth?n.bandwidth()/2:2,h=l===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/c:0;return h=u===&quot;angleAxis&quot;&amp;&amp;o!=null&amp;&amp;o?.length&gt;=2?Zn(o[0]-o[1])*2*h:h,i&amp;&amp;a?a.map((f,d)=&gt;({coordinate:n(f)+h,value:f,index:d,offset:h})):n.domain().map((f,d)=&gt;({coordinate:n(f)+h,value:s?s[f]:f,index:d,offset:h}))}}},ia=Ae([tr,Qr,c1,w9,b9,iG,sG,Zr],aG),d1=Ae([s9,a9,pX],(e,r,t)=&gt;o9(t.shared,e,r)),_9=e=&gt;e.tooltip.settings.trigger,f1=e=&gt;e.tooltip.settings.defaultIndex,Vu=Ae([Kl,d1,_9,f1],h9),Ao=Ae([Vu,Gl,Fu,Uu],l1),j9=Ae([ia,Ao],l9),S9=Ae([Vu],e=&gt;{if(e)return e.dataKey});Ae([Vu],e=&gt;{if(e)return e.graphicalItemId});var k9=Ae([Kl,d1,_9,f1],p9),oG=Ae([Qs,Js,tr,un,ia,f1,k9,$u],m9),lG=Ae([Vu,oG],(e,r)=&gt;e!=null&amp;&amp;e.coordinate?e.coordinate:r),cG=Ae([Vu],e=&gt;{var r;return(r=e?.active)!==null&amp;&amp;r!==void 0?r:!1}),uG=Ae([k9,Ao,ta,Fu,j9,$u,d1],g9),dG=Ae([uG],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 tj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function rj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?tj(Object(t),!0).forEach(function(n){fG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fG(e,r,t){return(r=hG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function hG(e){var r=mG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function mG(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 pG=()=&gt;xt(Qr),gG=()=&gt;{var e=pG(),r=xt(ia),t=xt(w9);return El(!e||!t?void 0:rj(rj({},e),{},{scale:t}),r)};function nj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function fl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?nj(Object(t),!0).forEach(function(n){vG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function vG(e,r,t){return(r=yG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yG(e){var r=bG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bG(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 xG=(e,r,t,n)=&gt;{var o=r.find(s=&gt;s&amp;&amp;s.index===t);if(o){if(e===&quot;horizontal&quot;)return{x:o.coordinate,y:n.chartY};if(e===&quot;vertical&quot;)return{x:n.chartX,y:o.coordinate}}return{x:0,y:0}},wG=(e,r,t,n)=&gt;{var o=r.find(i=&gt;i&amp;&amp;i.index===t);if(o){if(e===&quot;centric&quot;){var s=o.coordinate,{radius:a}=n;return fl(fl(fl({},n),bn(n.cx,n.cy,a,s)),{},{angle:s,radius:a})}var u=o.coordinate,{angle:l}=n;return fl(fl(fl({},n),bn(n.cx,n.cy,u,l)),{},{angle:l,radius:u})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function _G(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 N9=(e,r,t,n,o)=&gt;{var s,a=(s=r?.length)!==null&amp;&amp;s!==void 0?s:0;if(a&lt;=1||e==null)return 0;if(n===&quot;angleAxis&quot;&amp;&amp;o!=null&amp;&amp;Math.abs(Math.abs(o[1]-o[0])-360)&lt;=1e-6)for(var u=0;u&lt;a;u++){var l,i,c,h,f,d=u&gt;0?(l=t[u-1])===null||l===void 0?void 0:l.coordinate:(i=t[a-1])===null||i===void 0?void 0:i.coordinate,v=(c=t[u])===null||c===void 0?void 0:c.coordinate,y=u&gt;=a-1?(h=t[0])===null||h===void 0?void 0:h.coordinate:(f=t[u+1])===null||f===void 0?void 0:f.coordinate,p=void 0;if(!(d==null||v==null||y==null))if(Zn(v-d)!==Zn(y-v)){var b=[];if(Zn(y-v)===Zn(o[1]-o[0])){p=y;var x=v+o[1]-o[0];b[0]=Math.min(x,(x+d)/2),b[1]=Math.max(x,(x+d)/2)}else{p=d;var _=y+o[1]-o[0];b[0]=Math.min(v,(_+v)/2),b[1]=Math.max(v,(_+v)/2)}var E=[Math.min(v,(p+v)/2),Math.max(v,(p+v)/2)];if(e&gt;E[0]&amp;&amp;e&lt;=E[1]||e&gt;=b[0]&amp;&amp;e&lt;=b[1]){var M;return(M=t[u])===null||M===void 0?void 0:M.index}}else{var D=Math.min(d,y),W=Math.max(d,y);if(e&gt;(D+v)/2&amp;&amp;e&lt;=(W+v)/2){var L;return(L=t[u])===null||L===void 0?void 0:L.index}}}else if(r)for(var V=0;V&lt;a;V++){var H=r[V];if(H!=null){var K=r[V+1],z=r[V-1];if(V===0&amp;&amp;K!=null&amp;&amp;e&lt;=(H.coordinate+K.coordinate)/2||V===a-1&amp;&amp;z!=null&amp;&amp;e&gt;(H.coordinate+z.coordinate)/2||V&gt;0&amp;&amp;V&lt;a-1&amp;&amp;z!=null&amp;&amp;K!=null&amp;&amp;e&gt;(H.coordinate+z.coordinate)/2&amp;&amp;e&lt;=(H.coordinate+K.coordinate)/2)return H.index}}return-1},jG=()=&gt;xt(Wx),h1=(e,r)=&gt;r,C9=(e,r,t)=&gt;t,m1=(e,r,t,n)=&gt;n,SG=Ae(ia,e=&gt;tm(e,r=&gt;r.coordinate)),p1=Ae([Kl,h1,C9,m1],h9),g1=Ae([p1,Gl,Fu,Uu],l1),kG=(e,r,t)=&gt;{if(r!=null){var n=Kl(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}},E9=Ae([Kl,h1,C9,m1],p9),Ah=Ae([Qs,Js,tr,un,ia,m1,E9,$u],m9),NG=Ae([p1,Ah],(e,r)=&gt;{var t;return(t=e.coordinate)!==null&amp;&amp;t!==void 0?t:r}),A9=Ae([ia,g1],l9),CG=Ae([E9,g1,ta,Fu,A9,$u,h1],g9),EG=Ae([p1,g1],(e,r)=&gt;({isActive:e.active&amp;&amp;r!=null,activeIndex:r})),AG=(e,r,t,n,o,s,a)=&gt;{if(!(!e||!t||!n||!o)&amp;&amp;_G(e,a)){var u=q$(e,r),l=N9(u,s,o,t,n),i=xG(r,o,l,e);return{activeIndex:String(l),activeCoordinate:i}}},MG=(e,r,t,n,o,s,a)=&gt;{if(!(!e||!n||!o||!s||!t)){var u=hq(e,t);if(u){var l=W$(u,r),i=N9(l,a,s,n,o),c=wG(r,s,i,u);return{activeIndex:String(i),activeCoordinate:c}}}},OG=(e,r,t,n,o,s,a,u)=&gt;{if(!(!e||!r||!n||!o||!s))return r===&quot;horizontal&quot;||r===&quot;vertical&quot;?AG(e,r,n,o,s,a,u):MG(e,r,t,n,o,s,a)},TG=Ae(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}}),PG=Ae(e=&gt;e.zIndex.zIndexMap,e=&gt;{var r=Object.keys(e).map(n=&gt;parseInt(n,10)).concat(Object.values(cn)),t=Array.from(new Set(r));return t.sort((n,o)=&gt;n-o)},{memoizeOptions:{resultEqualityCheck:gK}});function ij(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function sj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ij(Object(t),!0).forEach(function(n){IG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ij(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function IG(e,r,t){return(r=RG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function RG(e){var r=DG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function DG(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 LG={},FG={zIndexMap:Object.values(cn).reduce((e,r)=&gt;sj(sj({},e),{},{[r]:{element:void 0,panoramaElement:void 0,consumers:0}}),LG)},BG=new Set(Object.values(cn));function zG(e){return BG.has(e)}var M9=ei({name:&quot;zIndex&quot;,initialState:FG,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:wr()},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;!zG(t)&amp;&amp;delete e.zIndexMap[t])},prepare:wr()},registerZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t,element:n,isPanorama:o}=r.payload;e.zIndexMap[t]?o?e.zIndexMap[t].panoramaElement=n:e.zIndexMap[t].element=n:e.zIndexMap[t]={consumers:0,element:o?void 0:n,panoramaElement:o?n:void 0}},prepare:wr()},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:wr()}}}),{registerZIndexPortal:$G,unregisterZIndexPortal:UG,registerZIndexPortalElement:VG,unregisterZIndexPortalElement:qG}=M9.actions,WG=M9.reducer;function Ii(e){var{zIndex:r,children:t}=e,n=SU(),o=n&amp;&amp;r!==void 0&amp;&amp;r!==0,s=On(),a=Mr();q.useLayoutEffect(()=&gt;o?(a($G({zIndex:r})),()=&gt;{a(UG({zIndex:r}))}):Cu,[a,r,o]);var u=xt(l=&gt;TG(l,r,s));return o?u?ob.createPortal(t,u):null:t}function Gy(){return Gy=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},Gy.apply(null,arguments)}function aj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function mf(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?aj(Object(t),!0).forEach(function(n){HG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):aj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function HG(e,r,t){return(r=KG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function KG(e){var r=XG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function XG(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 GG(e){var{cursor:r,cursorComp:t,cursorProps:n}=e;return q.isValidElement(r)?q.cloneElement(r,n):q.createElement(t,n)}function YG(e){var r,{coordinate:t,payload:n,index:o,offset:s,tooltipAxisBandSize:a,layout:u,cursor:l,tooltipEventType:i,chartName:c}=e,h=t,f=n,d=o;if(!l||!h||c!==&quot;ScatterChart&quot;&amp;&amp;i!==&quot;axis&quot;)return null;var v,y,p;if(c===&quot;ScatterChart&quot;)v=h,y=NV,p=cn.cursorLine;else if(c===&quot;BarChart&quot;)v=CV(u,h,s,a),y=mC,p=cn.cursorRectangle;else if(u===&quot;radial&quot;&amp;&amp;rN(h)){var{cx:b,cy:x,radius:_,startAngle:E,endAngle:M}=pC(h);v={cx:b,cy:x,startAngle:E,endAngle:M,innerRadius:_,outerRadius:_},y=vC,p=cn.cursorLine}else v={points:vq(u,h,s)},y=cC,p=cn.cursorLine;var D=typeof l==&quot;object&quot;&amp;&amp;&quot;className&quot;in l?l.className:void 0,W=mf(mf(mf(mf({stroke:&quot;#ccc&quot;,pointerEvents:&quot;none&quot;},s),v),ku(l)),{},{payload:f,payloadIndex:d,className:sr(&quot;recharts-tooltip-cursor&quot;,D)});return q.createElement(Ii,{zIndex:(r=e.zIndex)!==null&amp;&amp;r!==void 0?r:p},q.createElement(GG,{cursor:l,cursorComp:y,cursorProps:W}))}function ZG(e){var r=gG(),t=eC(),n=$l(),o=jG();return r==null||t==null||n==null||o==null?null:q.createElement(YG,Gy({},e,{offset:t,layout:n,tooltipAxisBandSize:r,chartName:o}))}var O9=q.createContext(null),QG=()=&gt;q.useContext(O9),ov={exports:{}},oj;function JG(){return oj||(oj=1,(function(e){var r=Object.prototype.hasOwnProperty,t=&quot;~&quot;;function n(){}Object.create&amp;&amp;(n.prototype=Object.create(null),new n().__proto__||(t=!1));function o(l,i,c){this.fn=l,this.context=i,this.once=c||!1}function s(l,i,c,h,f){if(typeof c!=&quot;function&quot;)throw new TypeError(&quot;The listener must be a function&quot;);var d=new o(c,h||l,f),v=t?t+i:i;return l._events[v]?l._events[v].fn?l._events[v]=[l._events[v],d]:l._events[v].push(d):(l._events[v]=d,l._eventsCount++),l}function a(l,i){--l._eventsCount===0?l._events=new n:delete l._events[i]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var i=[],c,h;if(this._eventsCount===0)return i;for(h in c=this._events)r.call(c,h)&amp;&amp;i.push(t?h.slice(1):h);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(c)):i},u.prototype.listeners=function(i){var c=t?t+i:i,h=this._events[c];if(!h)return[];if(h.fn)return[h.fn];for(var f=0,d=h.length,v=new Array(d);f&lt;d;f++)v[f]=h[f].fn;return v},u.prototype.listenerCount=function(i){var c=t?t+i:i,h=this._events[c];return h?h.fn?1:h.length:0},u.prototype.emit=function(i,c,h,f,d,v){var y=t?t+i:i;if(!this._events[y])return!1;var p=this._events[y],b=arguments.length,x,_;if(p.fn){switch(p.once&amp;&amp;this.removeListener(i,p.fn,void 0,!0),b){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,h),!0;case 4:return p.fn.call(p.context,c,h,f),!0;case 5:return p.fn.call(p.context,c,h,f,d),!0;case 6:return p.fn.call(p.context,c,h,f,d,v),!0}for(_=1,x=new Array(b-1);_&lt;b;_++)x[_-1]=arguments[_];p.fn.apply(p.context,x)}else{var E=p.length,M;for(_=0;_&lt;E;_++)switch(p[_].once&amp;&amp;this.removeListener(i,p[_].fn,void 0,!0),b){case 1:p[_].fn.call(p[_].context);break;case 2:p[_].fn.call(p[_].context,c);break;case 3:p[_].fn.call(p[_].context,c,h);break;case 4:p[_].fn.call(p[_].context,c,h,f);break;default:if(!x)for(M=1,x=new Array(b-1);M&lt;b;M++)x[M-1]=arguments[M];p[_].fn.apply(p[_].context,x)}}return!0},u.prototype.on=function(i,c,h){return s(this,i,c,h,!1)},u.prototype.once=function(i,c,h){return s(this,i,c,h,!0)},u.prototype.removeListener=function(i,c,h,f){var d=t?t+i:i;if(!this._events[d])return this;if(!c)return a(this,d),this;var v=this._events[d];if(v.fn)v.fn===c&amp;&amp;(!f||v.once)&amp;&amp;(!h||v.context===h)&amp;&amp;a(this,d);else{for(var y=0,p=[],b=v.length;y&lt;b;y++)(v[y].fn!==c||f&amp;&amp;!v[y].once||h&amp;&amp;v[y].context!==h)&amp;&amp;p.push(v[y]);p.length?this._events[d]=p.length===1?p[0]:p:a(this,d)}return this},u.prototype.removeAllListeners=function(i){var c;return i?(c=t?t+i:i,this._events[c]&amp;&amp;a(this,c)):(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})(ov)),ov.exports}var eY=JG();const tY=ts(eY);var yu=new tY,Yy=&quot;recharts.syncEvent.tooltip&quot;,lj=&quot;recharts.syncEvent.brush&quot;;function T9(e,r){if(r){var t=Number.parseInt(r,10);if(!Qi(t))return e?.[t]}}var rY={chartName:&quot;&quot;,tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:&quot;axis&quot;},P9=ei({name:&quot;options&quot;,initialState:rY,reducers:{createEventEmitter:e=&gt;{e.eventEmitter==null&amp;&amp;(e.eventEmitter=Symbol(&quot;rechartsEventEmitter&quot;))}}}),nY=P9.reducer,{createEventEmitter:iY}=P9.actions;function sY(e){return e.tooltip.syncInteraction}var aY={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},I9=ei({name:&quot;chartData&quot;,initialState:aY,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:cj,setDataStartEndIndexes:oY,setComputedData:kne}=I9.actions,lY=I9.reducer,cY=[&quot;x&quot;,&quot;y&quot;];function uj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function hl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?uj(Object(t),!0).forEach(function(n){uY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function uY(e,r,t){return(r=dY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function dY(e){var r=fY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function fY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function hY(e,r){if(e==null)return{};var t,n,o=mY(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function mY(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 pY(){var e=xt(Hx),r=xt(Kx),t=Mr(),n=xt(g7),o=xt(ia),s=$l(),a=gm(),u=xt(l=&gt;l.rootProps.className);q.useEffect(()=&gt;{if(e==null)return Cu;var l=(i,c,h)=&gt;{if(r!==h&amp;&amp;e===i){if(n===&quot;index&quot;){var f;if(a&amp;&amp;c!==null&amp;&amp;c!==void 0&amp;&amp;(f=c.payload)!==null&amp;&amp;f!==void 0&amp;&amp;f.coordinate&amp;&amp;c.payload.sourceViewBox){var d=c.payload.coordinate,{x:v,y}=d,p=hY(d,cY),{x:b,y:x,width:_,height:E}=c.payload.sourceViewBox,M=hl(hl({},p),{},{x:a.x+(_?(v-b)/_:0)*a.width,y:a.y+(E?(y-x)/E:0)*a.height});t(hl(hl({},c),{},{payload:hl(hl({},c.payload),{},{coordinate:M})}))}else t(c);return}if(o!=null){var D;if(typeof n==&quot;function&quot;){var W={activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate},L=n(o,W);D=o[L]}else n===&quot;value&quot;&amp;&amp;(D=o.find(j=&gt;String(j.value)===c.payload.label));var{coordinate:V}=c.payload;if(D==null||c.payload.active===!1||V==null||a==null){t(Ky({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:H,y:K}=V,z=Math.min(H,a.x+a.width),O=Math.min(K,a.y+a.height),I={x:s===&quot;horizontal&quot;?D.coordinate:z,y:s===&quot;horizontal&quot;?O:D.coordinate},C=Ky({active:c.payload.active,coordinate:I,dataKey:c.payload.dataKey,index:String(D.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId});t(C)}}};return yu.on(Yy,l),()=&gt;{yu.off(Yy,l)}},[u,t,r,e,n,o,s,a])}function gY(){var e=xt(Hx),r=xt(Kx),t=Mr();q.useEffect(()=&gt;{if(e==null)return Cu;var n=(o,s,a)=&gt;{r!==a&amp;&amp;e===o&amp;&amp;t(oY(s))};return yu.on(lj,n),()=&gt;{yu.off(lj,n)}},[t,r,e])}function vY(){var e=Mr();q.useEffect(()=&gt;{e(iY())},[e]),pY(),gY()}function yY(e,r,t,n,o,s){var a=xt(d=&gt;kG(d,e,r)),u=xt(Kx),l=xt(Hx),i=xt(g7),c=xt(sY),h=c?.active,f=gm();q.useEffect(()=&gt;{if(!h&amp;&amp;l!=null&amp;&amp;u!=null){var d=Ky({active:s,coordinate:t,dataKey:a,index:o,label:typeof n==&quot;number&quot;?String(n):n,sourceViewBox:f,graphicalItemId:void 0});yu.emit(Yy,l,d,u)}},[h,t,a,o,n,u,l,i,s,f])}function dj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function fj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?dj(Object(t),!0).forEach(function(n){bY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bY(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=wY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wY(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 _Y(e){return e.dataKey}function jY(e,r){return q.isValidElement(e)?q.cloneElement(e,r):typeof e==&quot;function&quot;?q.createElement(e,r):q.createElement(sV,r)}var hj=[],SY={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 lv(e){var r,t,n=xn(e,SY),{active:o,allowEscapeViewBox:s,animationDuration:a,animationEasing:u,content:l,filterNull:i,isAnimationActive:c,offset:h,payloadUniqBy:f,position:d,reverseDirection:v,useTranslate3d:y,wrapperStyle:p,cursor:b,shared:x,trigger:_,defaultIndex:E,portal:M,axisId:D}=n,W=Mr(),L=typeof E==&quot;number&quot;?String(E):E;q.useEffect(()=&gt;{W(xX({shared:x,trigger:_,axisId:D,active:o,defaultIndex:L}))},[W,x,_,D,o,L]);var V=gm(),H=lC(),K=mX(x),{activeIndex:z,isActive:O}=(r=xt(ee=&gt;EG(ee,K,_,L)))!==null&amp;&amp;r!==void 0?r:{},I=xt(ee=&gt;CG(ee,K,_,L)),C=xt(ee=&gt;A9(ee,K,_,L)),j=xt(ee=&gt;NG(ee,K,_,L)),k=I,S=QG(),N=(t=o??O)!==null&amp;&amp;t!==void 0?t:!1,[T,R]=gN([k,N]),B=K===&quot;axis&quot;?C:void 0;yY(K,_,j,B,z,N);var Y=M??S;if(Y==null||V==null||K==null)return null;var Z=k??hj;N||(Z=hj),i&amp;&amp;Z.length&amp;&amp;(Z=dN(Z.filter(ee=&gt;ee.value!=null&amp;&amp;(ee.hide!==!0||n.includeHidden)),f,_Y));var ne=Z.length&gt;0,U=q.createElement(fV,{allowEscapeViewBox:s,animationDuration:a,animationEasing:u,isAnimationActive:c,active:N,coordinate:j,hasPayload:ne,offset:h,position:d,reverseDirection:v,useTranslate3d:y,viewBox:V,wrapperStyle:p,lastBoundingBox:T,innerRef:R,hasPortalFromProps:!!M},jY(l,fj(fj({},n),{},{payload:Z,label:B,active:N,activeIndex:z,coordinate:j,accessibilityLayer:H})));return q.createElement(q.Fragment,null,ob.createPortal(U,Y),N&amp;&amp;q.createElement(ZG,{cursor:b,tooltipEventType:K,coordinate:j,payload:Z,index:z}))}var R9=e=&gt;null;R9.displayName=&quot;Cell&quot;;function kY(e,r,t){return(r=NY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function NY(e){var r=CY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function CY(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 EY{constructor(r){kY(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 mj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function AY(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?mj(Object(t),!0).forEach(function(n){MY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function MY(e,r,t){return(r=OY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function OY(e){var r=TY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function TY(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 PY={cacheSize:2e3,enableCache:!0},D9=AY({},PY),pj=new EY(D9.cacheSize),IY={position:&quot;absolute&quot;,top:&quot;-20000px&quot;,left:0,padding:0,margin:0,border:&quot;none&quot;,whiteSpace:&quot;pre&quot;},gj=&quot;recharts_measurement_span&quot;;function RY(e,r){var t=r.fontSize||&quot;&quot;,n=r.fontFamily||&quot;&quot;,o=r.fontWeight||&quot;&quot;,s=r.fontStyle||&quot;&quot;,a=r.letterSpacing||&quot;&quot;,u=r.textTransform||&quot;&quot;;return&quot;&quot;.concat(e,&quot;|&quot;).concat(t,&quot;|&quot;).concat(n,&quot;|&quot;).concat(o,&quot;|&quot;).concat(s,&quot;|&quot;).concat(a,&quot;|&quot;).concat(u)}var vj=(e,r)=&gt;{try{var t=document.getElementById(gj);t||(t=document.createElement(&quot;span&quot;),t.setAttribute(&quot;id&quot;,gj),t.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),document.body.appendChild(t)),Object.assign(t.style,IY,r),t.textContent=&quot;&quot;.concat(e);var n=t.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},Kc=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r==null||wm.isSsr)return{width:0,height:0};if(!D9.enableCache)return vj(r,t);var n=RY(r,t),o=pj.get(n);if(o)return o;var s=vj(r,t);return pj.set(n,s),s},L9;function DY(e,r,t){return(r=LY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function LY(e){var r=FY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function FY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var yj=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,bj=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,BY=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,zY=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,$Y={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},UY=[&quot;cm&quot;,&quot;mm&quot;,&quot;pt&quot;,&quot;pc&quot;,&quot;in&quot;,&quot;Q&quot;,&quot;px&quot;];function VY(e){return UY.includes(e)}var wl=&quot;NaN&quot;;function qY(e,r){return e*$Y[r]}class yn{static parse(r){var t,[,n,o]=(t=zY.exec(r))!==null&amp;&amp;t!==void 0?t:[];return n==null?yn.NaN:new yn(parseFloat(n),o??&quot;&quot;)}constructor(r,t){this.num=r,this.unit=t,this.num=r,this.unit=t,Qi(r)&amp;&amp;(this.unit=&quot;&quot;),t!==&quot;&quot;&amp;&amp;!BY.test(t)&amp;&amp;(this.num=NaN,this.unit=&quot;&quot;),VY(t)&amp;&amp;(this.num=qY(r,t),this.unit=&quot;px&quot;)}add(r){return this.unit!==r.unit?new yn(NaN,&quot;&quot;):new yn(this.num+r.num,this.unit)}subtract(r){return this.unit!==r.unit?new yn(NaN,&quot;&quot;):new yn(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 yn(NaN,&quot;&quot;):new yn(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 yn(NaN,&quot;&quot;):new yn(this.num/r.num,this.unit||r.unit)}toString(){return&quot;&quot;.concat(this.num).concat(this.unit)}isNaN(){return Qi(this.num)}}L9=yn;DY(yn,&quot;NaN&quot;,new L9(NaN,&quot;&quot;));function F9(e){if(e==null||e.includes(wl))return wl;for(var r=e;r.includes(&quot;*&quot;)||r.includes(&quot;/&quot;);){var t,[,n,o,s]=(t=yj.exec(r))!==null&amp;&amp;t!==void 0?t:[],a=yn.parse(n??&quot;&quot;),u=yn.parse(s??&quot;&quot;),l=o===&quot;*&quot;?a.multiply(u):a.divide(u);if(l.isNaN())return wl;r=r.replace(yj,l.toString())}for(;r.includes(&quot;+&quot;)||/.-\d+(?:\.\d+)?/.test(r);){var i,[,c,h,f]=(i=bj.exec(r))!==null&amp;&amp;i!==void 0?i:[],d=yn.parse(c??&quot;&quot;),v=yn.parse(f??&quot;&quot;),y=h===&quot;+&quot;?d.add(v):d.subtract(v);if(y.isNaN())return wl;r=r.replace(bj,y.toString())}return r}var xj=/\(([^()]*)\)/;function WY(e){for(var r=e,t;(t=xj.exec(r))!=null;){var[,n]=t;r=r.replace(xj,F9(n))}return r}function HY(e){var r=e.replace(/\s+/g,&quot;&quot;);return r=WY(r),r=F9(r),r}function KY(e){try{return HY(e)}catch{return wl}}function cv(e){var r=KY(e.slice(5,-1));return r===wl?&quot;&quot;:r}var XY=[&quot;x&quot;,&quot;y&quot;,&quot;lineHeight&quot;,&quot;capHeight&quot;,&quot;fill&quot;,&quot;scaleToFit&quot;,&quot;textAnchor&quot;,&quot;verticalAnchor&quot;],GY=[&quot;dx&quot;,&quot;dy&quot;,&quot;angle&quot;,&quot;className&quot;,&quot;breakAll&quot;];function Zy(){return Zy=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},Zy.apply(null,arguments)}function wj(e,r){if(e==null)return{};var t,n,o=YY(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function YY(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 B9=/[ \f\n\r\t\v\u2028\u2029]+/,z9=e=&gt;{var{children:r,breakAll:t,style:n}=e;try{var o=[];jr(r)||(t?o=r.toString().split(&quot;&quot;):o=r.toString().split(B9));var s=o.map(u=&gt;({word:u,width:Kc(u,n).width})),a=t?0:Kc(&quot; &quot;,n).width;return{wordsWithComputedWidth:s,spaceWidth:a}}catch{return null}};function ZY(e){return e===&quot;start&quot;||e===&quot;middle&quot;||e===&quot;end&quot;||e===&quot;inherit&quot;}var $9=(e,r,t,n)=&gt;e.reduce((o,s)=&gt;{var{word:a,width:u}=s,l=o[o.length-1];if(l&amp;&amp;u!=null&amp;&amp;(r==null||n||l.width+u+t&lt;Number(r)))l.words.push(a),l.width+=u+t;else{var i={words:[a],width:u};o.push(i)}return o},[]),U9=e=&gt;e.reduce((r,t)=&gt;r.width&gt;t.width?r:t),QY=&quot;…&quot;,_j=(e,r,t,n,o,s,a,u)=&gt;{var l=e.slice(0,r),i=z9({breakAll:t,style:n,children:l+QY});if(!i)return[!1,[]];var c=$9(i.wordsWithComputedWidth,s,a,u),h=c.length&gt;o||U9(c).width&gt;Number(s);return[h,c]},JY=(e,r,t,n,o)=&gt;{var{maxLines:s,children:a,style:u,breakAll:l}=e,i=pt(s),c=String(a),h=$9(r,n,t,o);if(!i||o)return h;var f=h.length&gt;s||U9(h).width&gt;Number(n);if(!f)return h;for(var d=0,v=c.length-1,y=0,p;d&lt;=v&amp;&amp;y&lt;=c.length-1;){var b=Math.floor((d+v)/2),x=b-1,[_,E]=_j(c,x,l,u,s,n,t,o),[M]=_j(c,b,l,u,s,n,t,o);if(!_&amp;&amp;!M&amp;&amp;(d=b+1),_&amp;&amp;M&amp;&amp;(v=b-1),!_&amp;&amp;M){p=E;break}y++}return p||h},jj=e=&gt;{var r=jr(e)?[]:e.toString().split(B9);return[{words:r,width:void 0}]},eZ=e=&gt;{var{width:r,scaleToFit:t,children:n,style:o,breakAll:s,maxLines:a}=e;if((r||t)&amp;&amp;!wm.isSsr){var u,l,i=z9({breakAll:s,children:n,style:o});if(i){var{wordsWithComputedWidth:c,spaceWidth:h}=i;u=c,l=h}else return jj(n);return JY({breakAll:s,children:n,maxLines:a,style:o},u,l,r,!!t)}return jj(n)},V9=&quot;#808080&quot;,tZ={angle:0,breakAll:!1,capHeight:&quot;0.71em&quot;,fill:V9,lineHeight:&quot;1em&quot;,scaleToFit:!1,textAnchor:&quot;start&quot;,verticalAnchor:&quot;end&quot;,x:0,y:0},v1=q.forwardRef((e,r)=&gt;{var t=xn(e,tZ),{x:n,y:o,lineHeight:s,capHeight:a,fill:u,scaleToFit:l,textAnchor:i,verticalAnchor:c}=t,h=wj(t,XY),f=q.useMemo(()=&gt;eZ({breakAll:h.breakAll,children:h.children,maxLines:h.maxLines,scaleToFit:l,style:h.style,width:h.width}),[h.breakAll,h.children,h.maxLines,l,h.style,h.width]),{dx:d,dy:v,angle:y,className:p,breakAll:b}=h,x=wj(h,GY);if(!bs(n)||!bs(o)||f.length===0)return null;var _=Number(n)+(pt(d)?d:0),E=Number(o)+(pt(v)?v:0);if(!Ar(_)||!Ar(E))return null;var M;switch(c){case&quot;start&quot;:M=cv(&quot;calc(&quot;.concat(a,&quot;)&quot;));break;case&quot;middle&quot;:M=cv(&quot;calc(&quot;.concat((f.length-1)/2,&quot; * -&quot;).concat(s,&quot; + (&quot;).concat(a,&quot; / 2))&quot;));break;default:M=cv(&quot;calc(&quot;.concat(f.length-1,&quot; * -&quot;).concat(s,&quot;)&quot;));break}var D=[];if(l){var W=f[0].width,{width:L}=h;D.push(&quot;scale(&quot;.concat(pt(L)&amp;&amp;pt(W)?L/W:1,&quot;)&quot;))}return y&amp;&amp;D.push(&quot;rotate(&quot;.concat(y,&quot;, &quot;).concat(_,&quot;, &quot;).concat(E,&quot;)&quot;)),D.length&amp;&amp;(x.transform=D.join(&quot; &quot;)),q.createElement(&quot;text&quot;,Zy({},Bn(x),{ref:r,x:_,y:E,className:sr(&quot;recharts-text&quot;,p),textAnchor:i,fill:u.includes(&quot;url&quot;)?V9:u}),f.map((V,H)=&gt;{var K=V.words.join(b?&quot;&quot;:&quot; &quot;);return q.createElement(&quot;tspan&quot;,{x:_,dy:H===0?M:s,key:&quot;&quot;.concat(K,&quot;-&quot;).concat(H)},K)}))});v1.displayName=&quot;Text&quot;;var rZ=[&quot;labelRef&quot;],nZ=[&quot;content&quot;];function Sj(e,r){if(e==null)return{};var t,n,o=iZ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function iZ(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 kj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Lr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?kj(Object(t),!0).forEach(function(n){sZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function sZ(e,r,t){return(r=aZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function aZ(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 Ls(){return Ls=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},Ls.apply(null,arguments)}var q9=q.createContext(null),lZ=e=&gt;{var{x:r,y:t,upperWidth:n,lowerWidth:o,width:s,height:a,children:u}=e,l=q.useMemo(()=&gt;({x:r,y:t,upperWidth:n,lowerWidth:o,width:s,height:a}),[r,t,n,o,s,a]);return q.createElement(q9.Provider,{value:l},u)},W9=()=&gt;{var e=q.useContext(q9),r=gm();return e||JN(r)},cZ=q.createContext(null),uZ=()=&gt;{var e=q.useContext(cZ),r=xt(w7);return e||r},dZ=e=&gt;{var{value:r,formatter:t}=e,n=jr(e.children)?r:e.children;return typeof t==&quot;function&quot;?t(n):n},y1=e=&gt;e!=null&amp;&amp;typeof e==&quot;function&quot;,fZ=(e,r)=&gt;{var t=Zn(r-e),n=Math.min(Math.abs(r-e),360);return t*n},hZ=(e,r,t,n,o)=&gt;{var{offset:s,className:a}=e,{cx:u,cy:l,innerRadius:i,outerRadius:c,startAngle:h,endAngle:f,clockWise:d}=o,v=(i+c)/2,y=fZ(h,f),p=y&gt;=0?1:-1,b,x;switch(r){case&quot;insideStart&quot;:b=h+p*s,x=d;break;case&quot;insideEnd&quot;:b=f-p*s,x=!d;break;case&quot;end&quot;:b=f+p*s,x=d;break;default:throw new Error(&quot;Unsupported position &quot;.concat(r))}x=y&lt;=0?x:!x;var _=bn(u,l,v,b),E=bn(u,l,v,b+(x?1:-1)*359),M=&quot;M&quot;.concat(_.x,&quot;,&quot;).concat(_.y,`
    A`).concat(v,&quot;,&quot;).concat(v,&quot;,0,1,&quot;).concat(x?0:1,`,
    `).concat(E.x,&quot;,&quot;).concat(E.y),D=jr(e.id)?su(&quot;recharts-radial-line-&quot;):e.id;return q.createElement(&quot;text&quot;,Ls({},n,{dominantBaseline:&quot;central&quot;,className:sr(&quot;recharts-radial-bar-label&quot;,a)}),q.createElement(&quot;defs&quot;,null,q.createElement(&quot;path&quot;,{id:D,d:M})),q.createElement(&quot;textPath&quot;,{xlinkHref:&quot;#&quot;.concat(D)},t))},mZ=(e,r,t)=&gt;{var{cx:n,cy:o,innerRadius:s,outerRadius:a,startAngle:u,endAngle:l}=e,i=(u+l)/2;if(t===&quot;outside&quot;){var{x:c,y:h}=bn(n,o,a+r,i);return{x:c,y:h,textAnchor:c&gt;=n?&quot;start&quot;:&quot;end&quot;,verticalAnchor:&quot;middle&quot;}}if(t===&quot;center&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;};if(t===&quot;centerTop&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;start&quot;};if(t===&quot;centerBottom&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;end&quot;};var f=(s+a)/2,{x:d,y:v}=bn(n,o,f,i);return{x:d,y:v,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;}},Qy=e=&gt;&quot;cx&quot;in e&amp;&amp;pt(e.cx),pZ=(e,r)=&gt;{var{parentViewBox:t,offset:n,position:o}=e,s;t!=null&amp;&amp;!Qy(t)&amp;&amp;(s=t);var{x:a,y:u,upperWidth:l,lowerWidth:i,height:c}=r,h=a,f=a+(l-i)/2,d=(h+f)/2,v=(l+i)/2,y=h+l/2,p=c&gt;=0?1:-1,b=p*n,x=p&gt;0?&quot;end&quot;:&quot;start&quot;,_=p&gt;0?&quot;start&quot;:&quot;end&quot;,E=l&gt;=0?1:-1,M=E*n,D=E&gt;0?&quot;end&quot;:&quot;start&quot;,W=E&gt;0?&quot;start&quot;:&quot;end&quot;;if(o===&quot;top&quot;){var L={x:h+l/2,y:u-b,textAnchor:&quot;middle&quot;,verticalAnchor:x};return Lr(Lr({},L),s?{height:Math.max(u-s.y,0),width:l}:{})}if(o===&quot;bottom&quot;){var V={x:f+i/2,y:u+c+b,textAnchor:&quot;middle&quot;,verticalAnchor:_};return Lr(Lr({},V),s?{height:Math.max(s.y+s.height-(u+c),0),width:i}:{})}if(o===&quot;left&quot;){var H={x:d-M,y:u+c/2,textAnchor:D,verticalAnchor:&quot;middle&quot;};return Lr(Lr({},H),s?{width:Math.max(H.x-s.x,0),height:c}:{})}if(o===&quot;right&quot;){var K={x:d+v+M,y:u+c/2,textAnchor:W,verticalAnchor:&quot;middle&quot;};return Lr(Lr({},K),s?{width:Math.max(s.x+s.width-K.x,0),height:c}:{})}var z=s?{width:v,height:c}:{};return o===&quot;insideLeft&quot;?Lr({x:d+M,y:u+c/2,textAnchor:W,verticalAnchor:&quot;middle&quot;},z):o===&quot;insideRight&quot;?Lr({x:d+v-M,y:u+c/2,textAnchor:D,verticalAnchor:&quot;middle&quot;},z):o===&quot;insideTop&quot;?Lr({x:h+l/2,y:u+b,textAnchor:&quot;middle&quot;,verticalAnchor:_},z):o===&quot;insideBottom&quot;?Lr({x:f+i/2,y:u+c-b,textAnchor:&quot;middle&quot;,verticalAnchor:x},z):o===&quot;insideTopLeft&quot;?Lr({x:h+M,y:u+b,textAnchor:W,verticalAnchor:_},z):o===&quot;insideTopRight&quot;?Lr({x:h+l-M,y:u+b,textAnchor:D,verticalAnchor:_},z):o===&quot;insideBottomLeft&quot;?Lr({x:f+M,y:u+c-b,textAnchor:W,verticalAnchor:x},z):o===&quot;insideBottomRight&quot;?Lr({x:f+i-M,y:u+c-b,textAnchor:D,verticalAnchor:x},z):o&amp;&amp;typeof o==&quot;object&quot;&amp;&amp;(pt(o.x)||qs(o.x))&amp;&amp;(pt(o.y)||qs(o.y))?Lr({x:a+Ji(o.x,v),y:u+Ji(o.y,c),textAnchor:&quot;end&quot;,verticalAnchor:&quot;end&quot;},z):Lr({x:y,y:u+c/2,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;},z)},gZ={angle:0,offset:5,zIndex:cn.label,position:&quot;middle&quot;,textBreakAll:!1};function ja(e){var r=xn(e,gZ),{viewBox:t,position:n,value:o,children:s,content:a,className:u=&quot;&quot;,textBreakAll:l,labelRef:i}=r,c=uZ(),h=W9(),f=n===&quot;center&quot;?h:c??h,d,v,y;if(t==null?d=f:Qy(t)?d=t:d=JN(t),!d||jr(o)&amp;&amp;jr(s)&amp;&amp;!q.isValidElement(a)&amp;&amp;typeof a!=&quot;function&quot;)return null;var p=Lr(Lr({},r),{},{viewBox:d});if(q.isValidElement(a)){var{labelRef:b}=p,x=Sj(p,rZ);return q.cloneElement(a,x)}if(typeof a==&quot;function&quot;){var{content:_}=p,E=Sj(p,nZ);if(v=q.createElement(a,E),q.isValidElement(v))return v}else v=dZ(r);var M=Bn(r);if(Qy(d)){if(n===&quot;insideStart&quot;||n===&quot;insideEnd&quot;||n===&quot;end&quot;)return hZ(r,n,v,M,d);y=mZ(d,r.offset,r.position)}else y=pZ(r,d);return q.createElement(Ii,{zIndex:r.zIndex},q.createElement(v1,Ls({ref:i,className:sr(&quot;recharts-label&quot;,u)},M,y,{textAnchor:ZY(M.textAnchor)?M.textAnchor:y.textAnchor,breakAll:l}),v))}ja.displayName=&quot;Label&quot;;var vZ=(e,r,t)=&gt;{if(!e)return null;var n={viewBox:r,labelRef:t};return e===!0?q.createElement(ja,Ls({key:&quot;label-implicit&quot;},n)):bs(e)?q.createElement(ja,Ls({key:&quot;label-implicit&quot;,value:e},n)):q.isValidElement(e)?e.type===ja?q.cloneElement(e,Lr({key:&quot;label-implicit&quot;},n)):q.createElement(ja,Ls({key:&quot;label-implicit&quot;,content:e},n)):y1(e)?q.createElement(ja,Ls({key:&quot;label-implicit&quot;,content:e},n)):e&amp;&amp;typeof e==&quot;object&quot;?q.createElement(ja,Ls({},e,{key:&quot;label-implicit&quot;},n)):null};function yZ(e){var{label:r,labelRef:t}=e,n=W9();return vZ(r,n,t)||null}var uv={},dv={},Nj;function bZ(){return Nj||(Nj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t[t.length-1]}e.last=r})(dv)),dv}var fv={},Cj;function xZ(){return Cj||(Cj=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})(fv)),fv}var Ej;function wZ(){return Ej||(Ej=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=bZ(),t=xZ(),n=ix();function o(s){if(n.isArrayLike(s))return r.last(t.toArray(s))}e.last=o})(uv)),uv}var hv,Aj;function _Z(){return Aj||(Aj=1,hv=wZ().last),hv}var jZ=_Z();const SZ=ts(jZ);var kZ=[&quot;valueAccessor&quot;],NZ=[&quot;dataKey&quot;,&quot;clockWise&quot;,&quot;id&quot;,&quot;textBreakAll&quot;,&quot;zIndex&quot;];function Mh(){return Mh=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},Mh.apply(null,arguments)}function Mj(e,r){if(e==null)return{};var t,n,o=CZ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function CZ(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 EZ=e=&gt;Array.isArray(e.value)?SZ(e.value):e.value,H9=q.createContext(void 0),K9=H9.Provider,X9=q.createContext(void 0);X9.Provider;function AZ(){return q.useContext(H9)}function MZ(){return q.useContext(X9)}function Af(e){var{valueAccessor:r=EZ}=e,t=Mj(e,kZ),{dataKey:n,clockWise:o,id:s,textBreakAll:a,zIndex:u}=t,l=Mj(t,NZ),i=AZ(),c=MZ(),h=i||c;return!h||!h.length?null:q.createElement(Ii,{zIndex:u??cn.label},q.createElement(Mi,{className:&quot;recharts-label-list&quot;},h.map((f,d)=&gt;{var v,y=jr(n)?r(f,d):Ur(f&amp;&amp;f.payload,n),p=jr(s)?{}:{id:&quot;&quot;.concat(s,&quot;-&quot;).concat(d)};return q.createElement(ja,Mh({key:&quot;label-&quot;.concat(d)},Bn(f),l,p,{fill:(v=t.fill)!==null&amp;&amp;v!==void 0?v:f.fill,parentViewBox:f.parentViewBox,value:y,textBreakAll:a,viewBox:f.viewBox,index:d,zIndex:0}))})))}Af.displayName=&quot;LabelList&quot;;function G9(e){var{label:r}=e;return r?r===!0?q.createElement(Af,{key:&quot;labelList-implicit&quot;}):q.isValidElement(r)||y1(r)?q.createElement(Af,{key:&quot;labelList-implicit&quot;,content:r}):typeof r==&quot;object&quot;?q.createElement(Af,Mh({key:&quot;labelList-implicit&quot;},r,{type:String(r.type)})):null:null}function Jy(){return Jy=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},Jy.apply(null,arguments)}var Y9=e=&gt;{var{cx:r,cy:t,r:n,className:o}=e,s=sr(&quot;recharts-dot&quot;,o);return pt(r)&amp;&amp;pt(t)&amp;&amp;pt(n)?q.createElement(&quot;circle&quot;,Jy({},Zi(e),nx(e),{className:s,cx:r,cy:t,r:n})):null},OZ={radiusAxis:{},angleAxis:{}},Z9=ei({name:&quot;polarAxis&quot;,initialState:OZ,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:Nne,removeRadiusAxis:Cne,addAngleAxis:Ene,removeAngleAxis:Ane}=Z9.actions,TZ=Z9.reducer,mv={exports:{}},ar={};var Oj;function PZ(){if(Oj)return ar;Oj=1;var e=Symbol.for(&quot;react.transitional.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),o=Symbol.for(&quot;react.profiler&quot;),s=Symbol.for(&quot;react.consumer&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),l=Symbol.for(&quot;react.suspense&quot;),i=Symbol.for(&quot;react.suspense_list&quot;),c=Symbol.for(&quot;react.memo&quot;),h=Symbol.for(&quot;react.lazy&quot;),f=Symbol.for(&quot;react.view_transition&quot;),d=Symbol.for(&quot;react.client.reference&quot;);function v(y){if(typeof y==&quot;object&quot;&amp;&amp;y!==null){var p=y.$$typeof;switch(p){case e:switch(y=y.type,y){case t:case o:case n:case l:case i:case f:return y;default:switch(y=y&amp;&amp;y.$$typeof,y){case a:case u:case h:case c:return y;case s:return y;default:return p}}case r:return p}}}return ar.ContextConsumer=s,ar.ContextProvider=a,ar.Element=e,ar.ForwardRef=u,ar.Fragment=t,ar.Lazy=h,ar.Memo=c,ar.Portal=r,ar.Profiler=o,ar.StrictMode=n,ar.Suspense=l,ar.SuspenseList=i,ar.isContextConsumer=function(y){return v(y)===s},ar.isContextProvider=function(y){return v(y)===a},ar.isElement=function(y){return typeof y==&quot;object&quot;&amp;&amp;y!==null&amp;&amp;y.$$typeof===e},ar.isForwardRef=function(y){return v(y)===u},ar.isFragment=function(y){return v(y)===t},ar.isLazy=function(y){return v(y)===h},ar.isMemo=function(y){return v(y)===c},ar.isPortal=function(y){return v(y)===r},ar.isProfiler=function(y){return v(y)===o},ar.isStrictMode=function(y){return v(y)===n},ar.isSuspense=function(y){return v(y)===l},ar.isSuspenseList=function(y){return v(y)===i},ar.isValidElementType=function(y){return typeof y==&quot;string&quot;||typeof y==&quot;function&quot;||y===t||y===o||y===n||y===l||y===i||typeof y==&quot;object&quot;&amp;&amp;y!==null&amp;&amp;(y.$$typeof===h||y.$$typeof===c||y.$$typeof===a||y.$$typeof===s||y.$$typeof===u||y.$$typeof===d||y.getModuleId!==void 0)},ar.typeOf=v,ar}var Tj;function IZ(){return Tj||(Tj=1,mv.exports=PZ()),mv.exports}var RZ=IZ(),Pj=e=&gt;typeof e==&quot;string&quot;?e:e?e.displayName||e.name||&quot;Component&quot;:&quot;&quot;,Ij=null,pv=null,Q9=e=&gt;{if(e===Ij&amp;&amp;Array.isArray(pv))return pv;var r=[];return q.Children.forEach(e,t=&gt;{jr(t)||(RZ.isFragment(t)?r=r.concat(Q9(t.props.children)):r.push(t))}),pv=r,Ij=e,r};function DZ(e,r){var t=[],n=[];return Array.isArray(r)?n=r.map(o=&gt;Pj(o)):n=[Pj(r)],Q9(e).forEach(o=&gt;{var s=Nl(o,&quot;type.displayName&quot;)||Nl(o,&quot;type.name&quot;);s&amp;&amp;n.indexOf(s)!==-1&amp;&amp;t.push(o)}),t}var J9=e=&gt;e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;clipDot&quot;in e?!!e.clipDot:!0,gv={},Rj;function LZ(){return Rj||(Rj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){if(typeof t!=&quot;object&quot;||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!==&quot;[object Object]&quot;){const o=t[Symbol.toStringTag];return o==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${o}]`}let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}e.isPlainObject=r})(gv)),gv}var vv,Dj;function FZ(){return Dj||(Dj=1,vv=LZ().isPlainObject),vv}var BZ=FZ();const zZ=ts(BZ);var Lj,Fj,Bj,zj,$j;function Uj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Vj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Uj(Object(t),!0).forEach(function(n){$Z(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $Z(e,r,t){return(r=UZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UZ(e){var r=VZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VZ(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 Oh(){return Oh=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},Oh.apply(null,arguments)}function Dc(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var qj=(e,r,t,n,o)=&gt;{var s=t-n,a;return a=Pr(Lj||(Lj=Dc([&quot;M &quot;,&quot;,&quot;,&quot;&quot;])),e,r),a+=Pr(Fj||(Fj=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r),a+=Pr(Bj||(Bj=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-s/2,r+o),a+=Pr(zj||(zj=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-s/2-n,r+o),a+=Pr($j||($j=Dc([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),e,r),a},qZ={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},WZ=e=&gt;{var r=xn(e,qZ),{x:t,y:n,upperWidth:o,lowerWidth:s,height:a,className:u}=r,{animationEasing:l,animationDuration:i,animationBegin:c,isUpdateAnimationActive:h}=r,f=q.useRef(null),[d,v]=q.useState(-1),y=q.useRef(o),p=q.useRef(s),b=q.useRef(a),x=q.useRef(t),_=q.useRef(n),E=jm(e,&quot;trapezoid-&quot;);if(q.useEffect(()=&gt;{if(f.current&amp;&amp;f.current.getTotalLength)try{var I=f.current.getTotalLength();I&amp;&amp;v(I)}catch{}},[]),t!==+t||n!==+n||o!==+o||s!==+s||a!==+a||o===0&amp;&amp;s===0||a===0)return null;var M=sr(&quot;recharts-trapezoid&quot;,u);if(!h)return q.createElement(&quot;g&quot;,null,q.createElement(&quot;path&quot;,Oh({},Bn(r),{className:M,d:qj(t,n,o,s,a)})));var D=y.current,W=p.current,L=b.current,V=x.current,H=_.current,K=&quot;0px &quot;.concat(d===-1?1:d,&quot;px&quot;),z=&quot;&quot;.concat(d,&quot;px 0px&quot;),O=uC([&quot;strokeDasharray&quot;],i,l);return q.createElement(_m,{animationId:E,key:E,canBegin:d&gt;0,duration:i,easing:l,isActive:h,begin:c},I=&gt;{var C=Ir(D,o,I),j=Ir(W,s,I),k=Ir(L,a,I),S=Ir(V,t,I),N=Ir(H,n,I);f.current&amp;&amp;(y.current=C,p.current=j,b.current=k,x.current=S,_.current=N);var T=I&gt;0?{transition:O,strokeDasharray:z}:{strokeDasharray:K};return q.createElement(&quot;path&quot;,Oh({},Bn(r),{className:M,d:qj(S,N,C,j,k),ref:f,style:Vj(Vj({},T),r.style)}))})},HZ=[&quot;option&quot;,&quot;shapeType&quot;,&quot;activeClassName&quot;];function KZ(e,r){if(e==null)return{};var t,n,o=XZ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function XZ(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 Wj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Th(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Wj(Object(t),!0).forEach(function(n){GZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function 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){return Th(Th({},r),e)}function JZ(e,r){return e===&quot;symbols&quot;}function Hj(e){var{shapeType:r,elementProps:t}=e;switch(r){case&quot;rectangle&quot;:return q.createElement(mC,t);case&quot;trapezoid&quot;:return q.createElement(WZ,t);case&quot;sector&quot;:return q.createElement(vC,t);case&quot;symbols&quot;:if(JZ(r))return q.createElement(rx,t);break;case&quot;curve&quot;:return q.createElement(cC,t);default:return null}}function eQ(e){return q.isValidElement(e)?e.props:e}function eE(e){var{option:r,shapeType:t,activeClassName:n=&quot;recharts-active-shape&quot;}=e,o=KZ(e,HZ),s;if(q.isValidElement(r))s=q.cloneElement(r,Th(Th({},o),eQ(r)));else if(typeof r==&quot;function&quot;)s=r(o,o.index);else if(zZ(r)&amp;&amp;typeof r!=&quot;boolean&quot;){var a=QZ(r,o);s=q.createElement(Hj,{shapeType:t,elementProps:a})}else{var u=o;s=q.createElement(Hj,{shapeType:t,elementProps:u})}return o.isActive?q.createElement(Mi,{className:n},s):s}var tE=(e,r,t)=&gt;{var n=Mr();return(o,s)=&gt;a=&gt;{e?.(o,s,a),n(u9({activeIndex:String(s),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}},rE=e=&gt;{var r=Mr();return(t,n)=&gt;o=&gt;{e?.(t,n,o),r(wX())}},nE=(e,r,t)=&gt;{var n=Mr();return(o,s)=&gt;a=&gt;{e?.(o,s,a),n(_X({activeIndex:String(s),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}};function iE(e){var{tooltipEntrySettings:r}=e,t=Mr(),n=On(),o=q.useRef(null);return q.useLayoutEffect(()=&gt;{n||(o.current===null?t(vX(r)):o.current!==r&amp;&amp;t(yX({prev:o.current,next:r})),o.current=r)},[r,t,n]),q.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(bX(o.current)),o.current=null)},[t]),null}function sE(e){var{legendPayload:r}=e,t=Mr(),n=On(),o=q.useRef(null);return q.useLayoutEffect(()=&gt;{n||(o.current===null?t(FU(r)):o.current!==r&amp;&amp;t(BU({prev:o.current,next:r})),o.current=r)},[t,n,r]),q.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(zU(o.current)),o.current=null)},[t]),null}var yv,tQ=()=&gt;{var[e]=q.useState(()=&gt;su(&quot;uid-&quot;));return e},rQ=(yv=OS.useId)!==null&amp;&amp;yv!==void 0?yv:tQ;function nQ(e,r){var t=rQ();return r||(e?&quot;&quot;.concat(e,&quot;-&quot;).concat(t):t)}var iQ=q.createContext(void 0),aE=e=&gt;{var{id:r,type:t,children:n}=e,o=nQ(&quot;recharts-&quot;.concat(t),r);return q.createElement(iQ.Provider,{value:o},n(o))},sQ={cartesianItems:[],polarItems:[]},oE=ei({name:&quot;graphicalItems&quot;,initialState:sQ,reducers:{addCartesianGraphicalItem:{reducer(e,r){e.cartesianItems.push(r.payload)},prepare:wr()},replaceCartesianGraphicalItem:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Yi(e).cartesianItems.indexOf(t);o&gt;-1&amp;&amp;(e.cartesianItems[o]=n)},prepare:wr()},removeCartesianGraphicalItem:{reducer(e,r){var t=Yi(e).cartesianItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.cartesianItems.splice(t,1)},prepare:wr()},addPolarGraphicalItem:{reducer(e,r){e.polarItems.push(r.payload)},prepare:wr()},removePolarGraphicalItem:{reducer(e,r){var t=Yi(e).polarItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.polarItems.splice(t,1)},prepare:wr()}}}),{addCartesianGraphicalItem:aQ,replaceCartesianGraphicalItem:oQ,removeCartesianGraphicalItem:lQ,addPolarGraphicalItem:Mne,removePolarGraphicalItem:One}=oE.actions,cQ=oE.reducer,uQ=e=&gt;{var r=Mr(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(aQ(e)):t.current!==e&amp;&amp;r(oQ({prev:t.current,next:e})),t.current=e},[r,e]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(lQ(t.current)),t.current=null)},[r]),null},lE=q.memo(uQ),dQ=[&quot;points&quot;];function Kj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function bv(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Kj(Object(t),!0).forEach(function(n){fQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fQ(e,r,t){return(r=hQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function hQ(e){var r=mQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function mQ(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 Ph(){return Ph=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},Ph.apply(null,arguments)}function pQ(e,r){if(e==null)return{};var t,n,o=gQ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function gQ(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 vQ(e){var{option:r,dotProps:t,className:n}=e;if(q.isValidElement(r))return q.cloneElement(r,t);if(typeof r==&quot;function&quot;)return r(t);var o=sr(n,typeof r!=&quot;boolean&quot;?r.className:&quot;&quot;),s=t??{},{points:a}=s,u=pQ(s,dQ);return q.createElement(Y9,Ph({},u,{className:o}))}function yQ(e,r){return e==null?!1:r?!0:e.length===1}function bQ(e){var{points:r,dot:t,className:n,dotClassName:o,dataKey:s,baseProps:a,needClip:u,clipPathId:l,zIndex:i=cn.scatter}=e;if(!yQ(r,t))return null;var c=J9(t),h=vF(t),f=r.map((v,y)=&gt;{var p,b,x=bv(bv(bv({r:3},a),h),{},{index:y,cx:(p=v.x)!==null&amp;&amp;p!==void 0?p:void 0,cy:(b=v.y)!==null&amp;&amp;b!==void 0?b:void 0,dataKey:s,value:v.value,payload:v.payload,points:r});return q.createElement(vQ,{key:&quot;dot-&quot;.concat(y),option:t,dotProps:x,className:o})}),d={};return u&amp;&amp;l!=null&amp;&amp;(d.clipPath=&quot;url(#clipPath-&quot;.concat(c?&quot;&quot;:&quot;dots-&quot;).concat(l,&quot;)&quot;)),q.createElement(Ii,{zIndex:i},q.createElement(Mi,Ph({className:n},d),f))}function Xj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Gj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Xj(Object(t),!0).forEach(function(n){xQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function xQ(e,r,t){return(r=wQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function wQ(e){var r=_Q(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function _Q(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 cE=0,jQ={xAxis:{},yAxis:{},zAxis:{}},uE=ei({name:&quot;cartesianAxis&quot;,initialState:jQ,reducers:{addXAxis:{reducer(e,r){e.xAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeXAxis:{reducer(e,r){delete e.xAxis[r.payload.id]},prepare:wr()},addYAxis:{reducer(e,r){e.yAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeYAxis:{reducer(e,r){delete e.yAxis[r.payload.id]},prepare:wr()},addZAxis:{reducer(e,r){e.zAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeZAxis:{reducer(e,r){delete e.zAxis[r.payload.id]},prepare:wr()},updateYAxisWidth(e,r){var{id:t,width:n}=r.payload,o=e.yAxis[t];if(o){var s=o.widthHistory||[];if(s.length===3&amp;&amp;s[0]===s[2]&amp;&amp;n===s[1]&amp;&amp;n!==o.width&amp;&amp;Math.abs(n-s[0])&lt;=1)return;var a=[...s,n].slice(-3);e.yAxis[t]=Gj(Gj({},e.yAxis[t]),{},{width:n,widthHistory:a})}}}}),{addXAxis:SQ,replaceXAxis:kQ,removeXAxis:NQ,addYAxis:CQ,replaceYAxis:EQ,removeYAxis:AQ,addZAxis:Tne,replaceZAxis:Pne,removeZAxis:Ine,updateYAxisWidth:MQ}=uE.actions,OQ=uE.reducer,TQ=Ae([un],e=&gt;({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),PQ=Ae([TQ,Qs,Js],(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)}}),b1=()=&gt;xt(PQ),IQ=()=&gt;xt(dG);function Yj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function xv(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Yj(Object(t),!0).forEach(function(n){RQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function RQ(e,r,t){return(r=DQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function DQ(e){var r=LQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function LQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var FQ=e=&gt;{var{point:r,childIndex:t,mainColor:n,activeDot:o,dataKey:s,clipPath:a}=e;if(o===!1||r.x==null||r.y==null)return null;var u={index:t,dataKey:s,cx:r.x,cy:r.y,r:4,fill:n??&quot;none&quot;,strokeWidth:2,stroke:&quot;#fff&quot;,payload:r.payload,value:r.value},l=xv(xv(xv({},u),ku(o)),nx(o)),i;return q.isValidElement(o)?i=q.cloneElement(o,l):typeof o==&quot;function&quot;?i=o(l):i=q.createElement(Y9,l),q.createElement(Mi,{className:&quot;recharts-active-dot&quot;,clipPath:a},i)};function BQ(e){var{points:r,mainColor:t,activeDot:n,itemDataKey:o,clipPath:s,zIndex:a=cn.activeDot}=e,u=xt(Ao),l=IQ();if(r==null||l==null)return null;var i=r.find(c=&gt;l.includes(c.payload));return jr(i)?null:q.createElement(Ii,{zIndex:a},q.createElement(FQ,{point:i,childIndex:Number(u),mainColor:t,dataKey:o,activeDot:n,clipPath:s}))}var Zj=(e,r,t)=&gt;{var n=t??e;if(!jr(n))return Ji(n,r,0)},zQ=(e,r,t)=&gt;{var n={},o=e.filter(Im),s=e.filter(i=&gt;i.stackId==null),a=o.reduce((i,c)=&gt;(i[c.stackId]||(i[c.stackId]=[]),i[c.stackId].push(c),i),n),u=Object.entries(a).map(i=&gt;{var[c,h]=i,f=h.map(v=&gt;v.dataKey),d=Zj(r,t,h[0].barSize);return{stackId:c,dataKeys:f,barSize:d}}),l=s.map(i=&gt;{var c=[i.dataKey].filter(f=&gt;f!=null),h=Zj(r,t,i.barSize);return{stackId:void 0,dataKeys:c,barSize:h}});return[...u,...l]};function Qj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function pf(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Qj(Object(t),!0).forEach(function(n){$Q(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $Q(e,r,t){return(r=UQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UQ(e){var r=VQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VQ(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 qQ(e,r,t,n,o){var s=n.length;if(!(s&lt;1)){var a=Ji(e,t,0,!0),u,l=[];if(Ar(n[0].barSize)){var i=!1,c=t/s,h=n.reduce((b,x)=&gt;b+(x.barSize||0),0);h+=(s-1)*a,h&gt;=t&amp;&amp;(h-=(s-1)*a,a=0),h&gt;=t&amp;&amp;c&gt;0&amp;&amp;(i=!0,c*=.9,h=s*c);var f=(t-h)/2&gt;&gt;0,d={offset:f-a,size:0};u=n.reduce((b,x)=&gt;{var _,E={stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:d.offset+d.size+a,size:i?c:(_=x.barSize)!==null&amp;&amp;_!==void 0?_:0}},M=[...b,E];return d=M[M.length-1].position,M},l)}else{var v=Ji(r,t,0,!0);t-2*v-(s-1)*a&lt;=0&amp;&amp;(a=0);var y=(t-2*v-(s-1)*a)/s;y&gt;1&amp;&amp;(y&gt;&gt;=0);var p=Ar(o)?Math.min(y,o):y;u=n.reduce((b,x,_)=&gt;[...b,{stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:v+(y+a)*_+(y-p)/2,size:p}}],l)}return u}}var WQ=(e,r,t,n,o,s,a)=&gt;{var u=jr(a)?r:a,l=qQ(t,n,o!==s?o:s,e,u);return o!==s&amp;&amp;l!=null&amp;&amp;(l=l.map(i=&gt;pf(pf({},i),{},{position:pf(pf({},i.position),{},{offset:i.position.offset-o/2})}))),l},HQ=(e,r)=&gt;{var t=Zx(r);if(!(!e||t==null||r==null)){var{stackId:n}=r;if(n!=null){var o=e[n];if(o){var{stackedData:s}=o;if(s)return s.find(a=&gt;a.key===t)}}}};function KQ(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;Ar(e.zIndex)?e.zIndex:r}var XQ=e=&gt;{var{chartData:r}=e,t=Mr(),n=On();return q.useEffect(()=&gt;n?()=&gt;{}:(t(cj(r)),()=&gt;{t(cj(void 0))}),[r,t,n]),null},Jj={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},dE=ei({name:&quot;brush&quot;,initialState:Jj,reducers:{setBrushSettings(e,r){return r.payload==null?Jj:r.payload}}}),{setBrushSettings:Rne}=dE.actions,GQ=dE.reducer;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)}class x1{static create(r){return new x1(r)}constructor(r){this.scale=r}get domain(){return this.scale.domain}get range(){return this.scale.range}get rangeMin(){return this.range()[0]}get rangeMax(){return this.range()[1]}get bandwidth(){return this.scale.bandwidth}apply(r){var{bandAware:t,position:n}=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r!==void 0){if(n)switch(n){case&quot;start&quot;:return this.scale(r);case&quot;middle&quot;:{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case&quot;end&quot;:{var s=this.bandwidth?this.bandwidth():0;return this.scale(r)+s}default:return this.scale(r)}if(t){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+a}return this.scale(r)}}isInRange(r){var t=this.range(),n=t[0],o=t[t.length-1];return n&lt;=o?r&gt;=n&amp;&amp;r&lt;=o:r&gt;=o&amp;&amp;r&lt;=n}}YQ(x1,&quot;EPS&quot;,1e-4);function JQ(e){return(e%180+180)%180}var eJ=function(r){var{width:t,height:n}=r,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,s=JQ(o),a=s*Math.PI/180,u=Math.atan(n/t),l=a&gt;u&amp;&amp;a&lt;Math.PI-u?n/Math.sin(a):t/Math.cos(a);return Math.abs(l)},tJ={dots:[],areas:[],lines:[]},fE=ei({name:&quot;referenceElements&quot;,initialState:tJ,reducers:{addDot:(e,r)=&gt;{e.dots.push(r.payload)},removeDot:(e,r)=&gt;{var t=Yi(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=Yi(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=Yi(e).lines.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.lines.splice(t,1)}}}),{addDot:Dne,removeDot:Lne,addArea:Fne,removeArea:Bne,addLine:zne,removeLine:$ne}=fE.actions,rJ=fE.reducer,nJ=q.createContext(void 0),iJ=e=&gt;{var{children:r}=e,[t]=q.useState(&quot;&quot;.concat(su(&quot;recharts&quot;),&quot;-clip&quot;)),n=b1();if(n==null)return null;var{x:o,y:s,width:a,height:u}=n;return q.createElement(nJ.Provider,{value:t},q.createElement(&quot;defs&quot;,null,q.createElement(&quot;clipPath&quot;,{id:t},q.createElement(&quot;rect&quot;,{x:o,y:s,height:u,width:a}))),r)};function hE(e,r){if(r&lt;1)return[];if(r===1)return e;for(var t=[],n=0;n&lt;e.length;n+=r){var o=e[n];o!==void 0&amp;&amp;t.push(o)}return t}function sJ(e,r,t){var n={width:e.width+r.width,height:e.height+r.height};return eJ(n,t)}function aJ(e,r,t){var n=t===&quot;width&quot;,{x:o,y:s,width:a,height:u}=e;return r===1?{start:n?o:s,end:n?o+a:s+u}:{start:n?o+a:s+u,end:n?o:s}}function bu(e,r,t,n,o){if(e*r&lt;e*n||e*r&gt;e*o)return!1;var s=t();return e*(r-e*s/2-n)&gt;=0&amp;&amp;e*(r+e*s/2-o)&lt;=0}function oJ(e,r){return hE(e,r+1)}function lJ(e,r,t,n,o){for(var s=(n||[]).slice(),{start:a,end:u}=r,l=0,i=1,c=a,h=function(){var v=n?.[l];if(v===void 0)return{v:hE(n,i)};var y=l,p,b=()=&gt;(p===void 0&amp;&amp;(p=t(v,y)),p),x=v.coordinate,_=l===0||bu(e,x,b,c,u);_||(l=0,c=a,i+=1),_&amp;&amp;(c=x+e*(b()/2+o),l+=i)},f;i&lt;=s.length;)if(f=h(),f)return f.v;return[]}function cJ(e,r,t,n,o){var s=(n||[]).slice(),a=s.length;if(a===0)return[];for(var{start:u,end:l}=r,i=1;i&lt;=a;i++){for(var c=(a-1)%i,h=u,f=!0,d=function(){var x=n[v],_=v,E,M=()=&gt;(E===void 0&amp;&amp;(E=t(x,_)),E),D=x.coordinate,W=v===c||bu(e,D,M,h,l);if(!W)return f=!1,1;W&amp;&amp;(h=D+e*(M()/2+o))},v=c;v&lt;a&amp;&amp;!d();v+=i);if(f){for(var y=[],p=c;p&lt;a;p+=i)y.push(n[p]);return y}}return[]}function eS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function En(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){uJ(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 uJ(e,r,t){return(r=dJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function dJ(e){var r=fJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function fJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function hJ(e,r,t,n,o){for(var s=(n||[]).slice(),a=s.length,{start:u}=r,{end:l}=r,i=function(f){var d=s[f],v,y=()=&gt;(v===void 0&amp;&amp;(v=t(d,f)),v);if(f===a-1){var p=e*(d.coordinate+e*y()/2-l);s[f]=d=En(En({},d),{},{tickCoord:p&gt;0?d.coordinate-p*e:d.coordinate})}else s[f]=d=En(En({},d),{},{tickCoord:d.coordinate});if(d.tickCoord!=null){var b=bu(e,d.tickCoord,y,u,l);b&amp;&amp;(l=d.tickCoord-e*(y()/2+o),s[f]=En(En({},d),{},{isShow:!0}))}},c=a-1;c&gt;=0;c--)i(c);return s}function mJ(e,r,t,n,o,s){var a=(n||[]).slice(),u=a.length,{start:l,end:i}=r;if(s){var c=n[u-1],h=t(c,u-1),f=e*(c.coordinate+e*h/2-i);if(a[u-1]=c=En(En({},c),{},{tickCoord:f&gt;0?c.coordinate-f*e:c.coordinate}),c.tickCoord!=null){var d=bu(e,c.tickCoord,()=&gt;h,l,i);d&amp;&amp;(i=c.tickCoord-e*(h/2+o),a[u-1]=En(En({},c),{},{isShow:!0}))}}for(var v=s?u-1:u,y=function(x){var _=a[x],E,M=()=&gt;(E===void 0&amp;&amp;(E=t(_,x)),E);if(x===0){var D=e*(_.coordinate-e*M()/2-l);a[x]=_=En(En({},_),{},{tickCoord:D&lt;0?_.coordinate-D*e:_.coordinate})}else a[x]=_=En(En({},_),{},{tickCoord:_.coordinate});if(_.tickCoord!=null){var W=bu(e,_.tickCoord,M,l,i);W&amp;&amp;(l=_.tickCoord+e*(M()/2+o),a[x]=En(En({},_),{},{isShow:!0}))}},p=0;p&lt;v;p++)y(p);return a}function w1(e,r,t){var{tick:n,ticks:o,viewBox:s,minTickGap:a,orientation:u,interval:l,tickFormatter:i,unit:c,angle:h}=e;if(!o||!o.length||!n)return[];if(pt(l)||wm.isSsr){var f;return(f=oJ(o,pt(l)?l:0))!==null&amp;&amp;f!==void 0?f:[]}var d=[],v=u===&quot;top&quot;||u===&quot;bottom&quot;?&quot;width&quot;:&quot;height&quot;,y=c&amp;&amp;v===&quot;width&quot;?Kc(c,{fontSize:r,letterSpacing:t}):{width:0,height:0},p=(_,E)=&gt;{var M=typeof i==&quot;function&quot;?i(_.value,E):_.value;return v===&quot;width&quot;?sJ(Kc(M,{fontSize:r,letterSpacing:t}),y,h):Kc(M,{fontSize:r,letterSpacing:t})[v]},b=o.length&gt;=2?Zn(o[1].coordinate-o[0].coordinate):1,x=aJ(s,b,v);return l===&quot;equidistantPreserveStart&quot;?lJ(b,x,p,o,a):l===&quot;equidistantPreserveEnd&quot;?cJ(b,x,p,o,a):(l===&quot;preserveStart&quot;||l===&quot;preserveStartEnd&quot;?d=mJ(b,x,p,o,a,l===&quot;preserveStartEnd&quot;):d=hJ(b,x,p,o,a),d.filter(_=&gt;_.isShow))}var pJ=e=&gt;{var{ticks:r,label:t,labelGapWithTick:n=5,tickSize:o=0,tickMargin:s=0}=e,a=0;if(r){Array.from(r).forEach(c=&gt;{if(c){var h=c.getBoundingClientRect();h.width&gt;a&amp;&amp;(a=h.width)}});var u=t?t.getBoundingClientRect().width:0,l=o+s,i=a+l+u+(t?n:0);return Math.round(i)}return 0},gJ=[&quot;axisLine&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;,&quot;hide&quot;,&quot;ticks&quot;,&quot;axisType&quot;];function vJ(e,r){if(e==null)return{};var t,n,o=yJ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function yJ(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 Mo(){return Mo=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},Mo.apply(null,arguments)}function tS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function $r(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?tS(Object(t),!0).forEach(function(n){bJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bJ(e,r,t){return(r=xJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xJ(e){var r=wJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Us={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:cn.axis};function _J(e){var{x:r,y:t,width:n,height:o,orientation:s,mirror:a,axisLine:u,otherSvgProps:l}=e;if(!u)return null;var i=$r($r($r({},l),Zi(u)),{},{fill:&quot;none&quot;});if(s===&quot;top&quot;||s===&quot;bottom&quot;){var c=+(s===&quot;top&quot;&amp;&amp;!a||s===&quot;bottom&quot;&amp;&amp;a);i=$r($r({},i),{},{x1:r,y1:t+c*o,x2:r+n,y2:t+c*o})}else{var h=+(s===&quot;left&quot;&amp;&amp;!a||s===&quot;right&quot;&amp;&amp;a);i=$r($r({},i),{},{x1:r+h*n,y1:t,x2:r+h*n,y2:t+o})}return q.createElement(&quot;line&quot;,Mo({},i,{className:sr(&quot;recharts-cartesian-axis-line&quot;,Nl(u,&quot;className&quot;))}))}function jJ(e,r,t,n,o,s,a,u,l){var i,c,h,f,d,v,y=u?-1:1,p=e.tickSize||a,b=pt(e.tickCoord)?e.tickCoord:e.coordinate;switch(s){case&quot;top&quot;:i=c=e.coordinate,f=t+ +!u*o,h=f-y*p,v=h-y*l,d=b;break;case&quot;left&quot;:h=f=e.coordinate,c=r+ +!u*n,i=c-y*p,d=i-y*l,v=b;break;case&quot;right&quot;:h=f=e.coordinate,c=r+ +u*n,i=c+y*p,d=i+y*l,v=b;break;default:i=c=e.coordinate,f=t+ +u*o,h=f+y*p,v=h+y*l,d=b;break}return{line:{x1:i,y1:h,x2:c,y2:f},tick:{x:d,y:v}}}function SJ(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 kJ(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 NJ(e){var{option:r,tickProps:t,value:n}=e,o,s=sr(t.className,&quot;recharts-cartesian-axis-tick-value&quot;);if(q.isValidElement(r))o=q.cloneElement(r,$r($r({},t),{},{className:s}));else if(typeof r==&quot;function&quot;)o=r($r($r({},t),{},{className:s}));else{var a=&quot;recharts-cartesian-axis-tick-value&quot;;typeof r!=&quot;boolean&quot;&amp;&amp;(a=sr(a,r?.className)),o=q.createElement(v1,Mo({},t,{className:a}),n)}return o}var CJ=q.forwardRef((e,r)=&gt;{var{ticks:t=[],tick:n,tickLine:o,stroke:s,tickFormatter:a,unit:u,padding:l,tickTextProps:i,orientation:c,mirror:h,x:f,y:d,width:v,height:y,tickSize:p,tickMargin:b,fontSize:x,letterSpacing:_,getTicksConfig:E,events:M,axisType:D}=e,W=w1($r($r({},E),{},{ticks:t}),x,_),L=SJ(c,h),V=kJ(c,h),H=Zi(E),K=ku(n),z={};typeof o==&quot;object&quot;&amp;&amp;(z=o);var O=$r($r({},H),{},{fill:&quot;none&quot;},z),I=W.map(k=&gt;$r({entry:k},jJ(k,f,d,v,y,c,p,h,b))),C=I.map(k=&gt;{var{entry:S,line:N}=k;return q.createElement(Mi,{className:&quot;recharts-cartesian-axis-tick&quot;,key:&quot;tick-&quot;.concat(S.value,&quot;-&quot;).concat(S.coordinate,&quot;-&quot;).concat(S.tickCoord)},o&amp;&amp;q.createElement(&quot;line&quot;,Mo({},O,N,{className:sr(&quot;recharts-cartesian-axis-tick-line&quot;,Nl(o,&quot;className&quot;))})))}),j=I.map((k,S)=&gt;{var{entry:N,tick:T}=k,R=$r($r($r($r({textAnchor:L,verticalAnchor:V},H),{},{stroke:&quot;none&quot;,fill:s},K),T),{},{index:S,payload:N,visibleTicksCount:W.length,tickFormatter:a,padding:l},i);return q.createElement(Mi,Mo({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)},em(M,N,S)),n&amp;&amp;q.createElement(NJ,{option:n,tickProps:R,value:&quot;&quot;.concat(typeof a==&quot;function&quot;?a(N.value,S):N.value).concat(u||&quot;&quot;)}))});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-ticks recharts-&quot;.concat(D,&quot;-ticks&quot;)},j.length&gt;0&amp;&amp;q.createElement(Ii,{zIndex:cn.label},q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-labels recharts-&quot;.concat(D,&quot;-tick-labels&quot;),ref:r},j)),C.length&gt;0&amp;&amp;q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-lines recharts-&quot;.concat(D,&quot;-tick-lines&quot;)},C))}),EJ=q.forwardRef((e,r)=&gt;{var{axisLine:t,width:n,height:o,className:s,hide:a,ticks:u,axisType:l}=e,i=vJ(e,gJ),[c,h]=q.useState(&quot;&quot;),[f,d]=q.useState(&quot;&quot;),v=q.useRef(null);q.useImperativeHandle(r,()=&gt;({getCalculatedWidth:()=&gt;{var p;return pJ({ticks:v.current,label:(p=e.labelRef)===null||p===void 0?void 0:p.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var y=q.useCallback(p=&gt;{if(p){var b=p.getElementsByClassName(&quot;recharts-cartesian-axis-tick-value&quot;);v.current=b;var x=b[0];if(x){var _=window.getComputedStyle(x),E=_.fontSize,M=_.letterSpacing;(E!==c||M!==f)&amp;&amp;(h(E),d(M))}}},[c,f]);return a||n!=null&amp;&amp;n&lt;=0||o!=null&amp;&amp;o&lt;=0?null:q.createElement(Ii,{zIndex:e.zIndex},q.createElement(Mi,{className:sr(&quot;recharts-cartesian-axis&quot;,s)},q.createElement(_J,{x:e.x,y:e.y,width:n,height:o,orientation:e.orientation,mirror:e.mirror,axisLine:t,otherSvgProps:Zi(e)}),q.createElement(CJ,{ref:y,axisType:l,events:i,fontSize:c,getTicksConfig:e,height:e.height,letterSpacing:f,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}),q.createElement(lZ,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},q.createElement(yZ,{label:e.label,labelRef:e.labelRef}),e.children)))}),_1=q.forwardRef((e,r)=&gt;{var t=xn(e,Us);return q.createElement(EJ,Mo({},t,{ref:r}))});_1.displayName=&quot;CartesianAxis&quot;;var AJ=[&quot;x1&quot;,&quot;y1&quot;,&quot;x2&quot;,&quot;y2&quot;,&quot;key&quot;],MJ=[&quot;offset&quot;],OJ=[&quot;xAxisId&quot;,&quot;yAxisId&quot;],TJ=[&quot;xAxisId&quot;,&quot;yAxisId&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(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function An(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){PJ(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 PJ(e,r,t){return(r=IJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function IJ(e){var r=RJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function RJ(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 bo(){return bo=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},bo.apply(null,arguments)}function Ih(e,r){if(e==null)return{};var t,n,o=DJ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function DJ(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 LJ=e=&gt;{var{fill:r}=e;if(!r||r===&quot;none&quot;)return null;var{fillOpacity:t,x:n,y:o,width:s,height:a,ry:u}=e;return q.createElement(&quot;rect&quot;,{x:n,y:o,ry:u,width:s,height:a,stroke:&quot;none&quot;,fill:r,fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})};function mE(e){var{option:r,lineItemProps:t}=e,n;if(q.isValidElement(r))n=q.cloneElement(r,t);else if(typeof r==&quot;function&quot;)n=r(t);else{var o,{x1:s,y1:a,x2:u,y2:l,key:i}=t,c=Ih(t,AJ),h=(o=Zi(c))!==null&amp;&amp;o!==void 0?o:{},{offset:f}=h,d=Ih(h,MJ);n=q.createElement(&quot;line&quot;,bo({},d,{x1:s,y1:a,x2:u,y2:l,fill:&quot;none&quot;,key:i}))}return n}function FJ(e){var{x:r,width:t,horizontal:n=!0,horizontalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:s,yAxisId:a}=e,u=Ih(e,OJ),l=o.map((i,c)=&gt;{var h=An(An({},u),{},{x1:r,y1:i,x2:r+t,y2:i,key:&quot;line-&quot;.concat(c),index:c});return q.createElement(mE,{key:&quot;line-&quot;.concat(c),option:n,lineItemProps:h})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-horizontal&quot;},l)}function BJ(e){var{y:r,height:t,vertical:n=!0,verticalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:s,yAxisId:a}=e,u=Ih(e,TJ),l=o.map((i,c)=&gt;{var h=An(An({},u),{},{x1:i,y1:r,x2:i,y2:r+t,key:&quot;line-&quot;.concat(c),index:c});return q.createElement(mE,{option:n,lineItemProps:h,key:&quot;line-&quot;.concat(c)})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-vertical&quot;},l)}function zJ(e){var{horizontalFill:r,fillOpacity:t,x:n,y:o,width:s,height:a,horizontalPoints:u,horizontal:l=!0}=e;if(!l||!r||!r.length||u==null)return null;var i=u.map(h=&gt;Math.round(h+o-o)).sort((h,f)=&gt;h-f);o!==i[0]&amp;&amp;i.unshift(0);var c=i.map((h,f)=&gt;{var d=!i[f+1],v=d?o+a-h:i[f+1]-h;if(v&lt;=0)return null;var y=f%r.length;return q.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(f),y:h,x:n,height:v,width:s,stroke:&quot;none&quot;,fill:r[y],fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-horizontal&quot;},c)}function $J(e){var{vertical:r=!0,verticalFill:t,fillOpacity:n,x:o,y:s,width:a,height:u,verticalPoints:l}=e;if(!r||!t||!t.length)return null;var i=l.map(h=&gt;Math.round(h+o-o)).sort((h,f)=&gt;h-f);o!==i[0]&amp;&amp;i.unshift(0);var c=i.map((h,f)=&gt;{var d=!i[f+1],v=d?o+a-h:i[f+1]-h;if(v&lt;=0)return null;var y=f%t.length;return q.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(f),x:h,y:s,width:v,height:u,stroke:&quot;none&quot;,fill:t[y],fillOpacity:n,className:&quot;recharts-cartesian-grid-bg&quot;})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-vertical&quot;},c)}var UJ=(e,r)=&gt;{var{xAxis:t,width:n,height:o,offset:s}=e;return KN(w1(An(An(An({},Us),t),{},{ticks:XN(t),viewBox:{x:0,y:0,width:n,height:o}})),s.left,s.left+s.width,r)},VJ=(e,r)=&gt;{var{yAxis:t,width:n,height:o,offset:s}=e;return KN(w1(An(An(An({},Us),t),{},{ticks:XN(t),viewBox:{x:0,y:0,width:n,height:o}})),s.top,s.top+s.height,r)},qJ={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:&quot;#ccc&quot;,fill:&quot;none&quot;,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:cn.grid};function Mf(e){var r=px(),t=gx(),n=eC(),o=An(An({},xn(e,qJ)),{},{x:pt(e.x)?e.x:n.left,y:pt(e.y)?e.y:n.top,width:pt(e.width)?e.width:n.width,height:pt(e.height)?e.height:n.height}),{xAxisId:s,yAxisId:a,x:u,y:l,width:i,height:c,syncWithTicks:h,horizontalValues:f,verticalValues:d}=o,v=On(),y=xt(V=&gt;Z6(V,&quot;xAxis&quot;,s,v)),p=xt(V=&gt;Z6(V,&quot;yAxis&quot;,a,v));if(!xs(i)||!xs(c)||!pt(u)||!pt(l))return null;var b=o.verticalCoordinatesGenerator||UJ,x=o.horizontalCoordinatesGenerator||VJ,{horizontalPoints:_,verticalPoints:E}=o;if((!_||!_.length)&amp;&amp;typeof x==&quot;function&quot;){var M=f&amp;&amp;f.length,D=x({yAxis:p?An(An({},p),{},{ticks:M?f:p.ticks}):void 0,width:r??i,height:t??c,offset:n},M?!0:h);oh(Array.isArray(D),&quot;horizontalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof D,&quot;]&quot;)),Array.isArray(D)&amp;&amp;(_=D)}if((!E||!E.length)&amp;&amp;typeof b==&quot;function&quot;){var W=d&amp;&amp;d.length,L=b({xAxis:y?An(An({},y),{},{ticks:W?d:y.ticks}):void 0,width:r??i,height:t??c,offset:n},W?!0:h);oh(Array.isArray(L),&quot;verticalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof L,&quot;]&quot;)),Array.isArray(L)&amp;&amp;(E=L)}return q.createElement(Ii,{zIndex:o.zIndex},q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid&quot;},q.createElement(LJ,{fill:o.fill,fillOpacity:o.fillOpacity,x:o.x,y:o.y,width:o.width,height:o.height,ry:o.ry}),q.createElement(zJ,bo({},o,{horizontalPoints:_})),q.createElement($J,bo({},o,{verticalPoints:E})),q.createElement(FJ,bo({},o,{offset:n,horizontalPoints:_,xAxis:y,yAxis:p})),q.createElement(BJ,bo({},o,{offset:n,verticalPoints:E,xAxis:y,yAxis:p}))))}Mf.displayName=&quot;CartesianGrid&quot;;var WJ={},pE=ei({name:&quot;errorBars&quot;,initialState:WJ,reducers:{addErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]||(e[t]=[]),e[t].push(n)},replaceErrorBar:(e,r)=&gt;{var{itemId:t,prev:n,next:o}=r.payload;e[t]&amp;&amp;(e[t]=e[t].map(s=&gt;s.dataKey===n.dataKey&amp;&amp;s.direction===n.direction?o:s))},removeErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]&amp;&amp;(e[t]=e[t].filter(o=&gt;o.dataKey!==n.dataKey||o.direction!==n.direction))}}}),{addErrorBar:Une,replaceErrorBar:Vne,removeErrorBar:qne}=pE.actions,HJ=pE.reducer,KJ=[&quot;children&quot;];function XJ(e,r){if(e==null)return{};var t,n,o=GJ(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function GJ(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 YJ={data:[],xAxisId:&quot;xAxis-0&quot;,yAxisId:&quot;yAxis-0&quot;,dataPointFormatter:()=&gt;({x:0,y:0,value:0}),errorBarOffset:0},ZJ=q.createContext(YJ);function gE(e){var{children:r}=e,t=XJ(e,KJ);return q.createElement(ZJ.Provider,{value:t},r)}function j1(e,r){var t,n,o=xt(i=&gt;ra(i,e)),s=xt(i=&gt;na(i,r)),a=(t=o?.allowDataOverflow)!==null&amp;&amp;t!==void 0?t:sn.allowDataOverflow,u=(n=s?.allowDataOverflow)!==null&amp;&amp;n!==void 0?n:an.allowDataOverflow,l=a||u;return{needClip:l,needClipX:a,needClipY:u}}function vE(e){var{xAxisId:r,yAxisId:t,clipPathId:n}=e,o=b1(),{needClipX:s,needClipY:a,needClip:u}=j1(r,t);if(!u||!o)return null;var{x:l,y:i,width:c,height:h}=o;return q.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-&quot;.concat(n)},q.createElement(&quot;rect&quot;,{x:s?l:l-c/2,y:a?i:i-h/2,width:s?c:c*2,height:a?h:h*2}))}var yE=(e,r,t,n)=&gt;Da(e,&quot;xAxis&quot;,r,n),bE=(e,r,t,n)=&gt;Ra(e,&quot;xAxis&quot;,r,n),xE=(e,r,t,n)=&gt;Da(e,&quot;yAxis&quot;,t,n),wE=(e,r,t,n)=&gt;Ra(e,&quot;yAxis&quot;,t,n),QJ=Ae([tr,yE,xE,bE,wE],(e,r,t,n,o)=&gt;Ba(e,&quot;xAxis&quot;)?El(r,n,!1):El(t,o,!1)),JJ=(e,r,t,n,o)=&gt;o;function eee(e){return e.type===&quot;line&quot;}var tee=Ae([Lm,JJ],(e,r)=&gt;e.filter(eee).find(t=&gt;t.id===r)),ree=Ae([tr,yE,xE,bE,wE,tee,QJ,Ux],(e,r,t,n,o,s,a,u)=&gt;{var{chartData:l,dataStartIndex:i,dataEndIndex:c}=u;if(!(s==null||r==null||t==null||n==null||o==null||n.length===0||o.length===0||a==null||e!==&quot;horizontal&quot;&amp;&amp;e!==&quot;vertical&quot;)){var{dataKey:h,data:f}=s,d;if(f!=null&amp;&amp;f.length&gt;0?d=f:d=l?.slice(i,c+1),d!=null)return Vee({layout:e,xAxis:r,yAxis:t,xAxisTicks:n,yAxisTicks:o,dataKey:h,bandSize:a,displayedData:d})}});function nee(e){var r=ku(e),t=3,n=2;if(r!=null){var{r:o,strokeWidth:s}=r,a=Number(o),u=Number(s);return(Number.isNaN(a)||a&lt;0)&amp;&amp;(a=t),(Number.isNaN(u)||u&lt;0)&amp;&amp;(u=n),{r:a,strokeWidth:u}}return{r:t,strokeWidth:n}}var wv={exports:{}},_v={};var nS;function iee(){if(nS)return _v;nS=1;var e=Il();function r(l,i){return l===i&amp;&amp;(l!==0||1/l===1/i)||l!==l&amp;&amp;i!==i}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useSyncExternalStore,o=e.useRef,s=e.useEffect,a=e.useMemo,u=e.useDebugValue;return _v.useSyncExternalStoreWithSelector=function(l,i,c,h,f){var d=o(null);if(d.current===null){var v={hasValue:!1,value:null};d.current=v}else v=d.current;d=a(function(){function p(M){if(!b){if(b=!0,x=M,M=h(M),f!==void 0&amp;&amp;v.hasValue){var D=v.value;if(f(D,M))return _=D}return _=M}if(D=_,t(x,M))return D;var W=h(M);return f!==void 0&amp;&amp;f(D,W)?(x=M,D):(x=M,_=W)}var b=!1,x,_,E=c===void 0?null:c;return[function(){return p(i())},E===null?void 0:function(){return p(E())}]},[i,c,h,f]);var y=n(l,d[0],d[1]);return s(function(){v.hasValue=!0,v.value=y},[y]),u(y),y},_v}var iS;function see(){return iS||(iS=1,wv.exports=iee()),wv.exports}see();function aee(e){e()}function oee(){let e=null,r=null;return{clear(){e=null,r=null},notify(){aee(()=&gt;{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(t){let n=!0;const o=r={callback:t,next:null,prev:r};return o.prev?o.prev.next=o:e=o,function(){!n||e===null||(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var sS={notify(){},get:()=&gt;[]};function lee(e,r){let t,n=sS,o=0,s=!1;function a(y){c();const p=n.subscribe(y);let b=!1;return()=&gt;{b||(b=!0,p(),h())}}function u(){n.notify()}function l(){v.onStateChange&amp;&amp;v.onStateChange()}function i(){return s}function c(){o++,t||(t=e.subscribe(l),n=oee())}function h(){o--,t&amp;&amp;o===0&amp;&amp;(t(),t=void 0,n.clear(),n=sS)}function f(){s||(s=!0,c())}function d(){s&amp;&amp;(s=!1,h())}const v={addNestedSub:a,notifyNestedSubs:u,handleChangeWrapper:l,isSubscribed:i,trySubscribe:f,tryUnsubscribe:d,getListeners:()=&gt;n};return v}var cee=()=&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;,uee=cee(),dee=()=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.product===&quot;ReactNative&quot;,fee=dee(),hee=()=&gt;uee||fee?q.useLayoutEffect:q.useEffect,mee=hee();function aS(e,r){return e===r?e!==0||r!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function pee(e,r){if(aS(e,r))return!0;if(typeof e!=&quot;object&quot;||e===null||typeof r!=&quot;object&quot;||r===null)return!1;const t=Object.keys(e),n=Object.keys(r);if(t.length!==n.length)return!1;for(let o=0;o&lt;t.length;o++)if(!Object.prototype.hasOwnProperty.call(r,t[o])||!aS(e[t[o]],r[t[o]]))return!1;return!0}var gee=Symbol.for(&quot;react-redux-context&quot;),vee=typeof globalThis&lt;&quot;u&quot;?globalThis:{};function yee(){if(!q.createContext)return{};const e=vee[gee]??=new Map;let r=e.get(q.createContext);return r||(r=q.createContext(null),e.set(q.createContext,r)),r}var bee=yee();function xee(e){const{children:r,context:t,serverState:n,store:o}=e,s=q.useMemo(()=&gt;{const l=lee(o);return{store:o,subscription:l,getServerState:n?()=&gt;n:void 0}},[o,n]),a=q.useMemo(()=&gt;o.getState(),[o]);mee(()=&gt;{const{subscription:l}=s;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==o.getState()&amp;&amp;l.notifyNestedSubs(),()=&gt;{l.tryUnsubscribe(),l.onStateChange=void 0}},[s,a]);const u=t||bee;return q.createElement(u.Provider,{value:s},r)}var wee=xee,_ee=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 jee(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 Um(e,r){var t=new Set([...Object.keys(e),...Object.keys(r)]);for(var n of t)if(_ee.has(n)){if(e[n]==null&amp;&amp;r[n]==null)continue;if(!pee(e[n],r[n]))return!1}else if(!jee(e[n],r[n]))return!1;return!0}var See=[&quot;id&quot;],kee=[&quot;type&quot;,&quot;layout&quot;,&quot;connectNulls&quot;,&quot;needClip&quot;,&quot;shape&quot;],Nee=[&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 xu(){return xu=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},xu.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(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function hs(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){Cee(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 Cee(e,r,t){return(r=Eee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Eee(e){var r=Aee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Aee(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 S1(e,r){if(e==null)return{};var t,n,o=Mee(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Mee(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 Oee=e=&gt;{var{dataKey:r,name:t,stroke:n,legendType:o,hide:s}=e;return[{inactive:s,dataKey:r,type:o,color:n,value:dm(t,r),payload:e}]},Tee=q.memo(e=&gt;{var{dataKey:r,data:t,stroke:n,strokeWidth:o,fill:s,name:a,hide:u,unit:l,tooltipType:i,id:c}=e,h={dataDefinedOnItem:t,positions:void 0,settings:{stroke:n,strokeWidth:o,fill:s,dataKey:r,nameKey:void 0,name:dm(a,r),hide:u,type:i,color:n,unit:l,graphicalItemId:c}};return q.createElement(iE,{tooltipEntrySettings:h})}),_E=(e,r)=&gt;&quot;&quot;.concat(r,&quot;px &quot;).concat(e-r,&quot;px&quot;);function Pee(e,r){for(var t=e.length%2!==0?[...e,0]:e,n=[],o=0;o&lt;r;++o)n=[...n,...t];return n}var Iee=(e,r,t)=&gt;{var n=t.reduce((h,f)=&gt;h+f);if(!n)return _E(r,e);for(var o=Math.floor(e/n),s=e%n,a=r-e,u=[],l=0,i=0;l&lt;t.length;i+=t[l],++l)if(i+t[l]&gt;s){u=[...t.slice(0,l),s-i];break}var c=u.length%2===0?[0,a]:[a];return[...Pee(t,o),...u,...c].map(h=&gt;&quot;&quot;.concat(h,&quot;px&quot;)).join(&quot;, &quot;)};function Ree(e){var{clipPathId:r,points:t,props:n}=e,{dot:o,dataKey:s,needClip:a}=n,{id:u}=n,l=S1(n,See),i=Zi(l);return q.createElement(bQ,{points:t,dot:o,className:&quot;recharts-line-dots&quot;,dotClassName:&quot;recharts-line-dot&quot;,dataKey:s,baseProps:i,needClip:a,clipPathId:r})}function Dee(e){var{showLabels:r,children:t,points:n}=e,o=q.useMemo(()=&gt;n?.map(s=&gt;{var a,u,l={x:(a=s.x)!==null&amp;&amp;a!==void 0?a:0,y:(u=s.y)!==null&amp;&amp;u!==void 0?u:0,width:0,lowerWidth:0,upperWidth:0,height:0};return hs(hs({},l),{},{value:s.value,payload:s.payload,viewBox:l,parentViewBox:void 0,fill:void 0})}),[n]);return q.createElement(K9,{value:r?o:void 0},t)}function lS(e){var{clipPathId:r,pathRef:t,points:n,strokeDasharray:o,props:s}=e,{type:a,layout:u,connectNulls:l,needClip:i,shape:c}=s,h=S1(s,kee),f=hs(hs({},Bn(h)),{},{fill:&quot;none&quot;,className:&quot;recharts-line-curve&quot;,clipPath:i?&quot;url(#clipPath-&quot;.concat(r,&quot;)&quot;):void 0,points:n,type:a,layout:u,connectNulls:l,strokeDasharray:o??s.strokeDasharray});return q.createElement(q.Fragment,null,n?.length&gt;1&amp;&amp;q.createElement(eE,xu({shapeType:&quot;curve&quot;,option:c},f,{pathRef:t})),q.createElement(Ree,{points:n,clipPathId:r,props:s}))}function Lee(e){try{return e&amp;&amp;e.getTotalLength&amp;&amp;e.getTotalLength()||0}catch{return 0}}function Fee(e){var{clipPathId:r,props:t,pathRef:n,previousPointsRef:o,longestAnimatedLengthRef:s}=e,{points:a,strokeDasharray:u,isAnimationActive:l,animationBegin:i,animationDuration:c,animationEasing:h,animateNewValues:f,width:d,height:v,onAnimationEnd:y,onAnimationStart:p}=t,b=o.current,x=jm(a,&quot;recharts-line-&quot;),_=q.useRef(x),[E,M]=q.useState(!1),D=!E,W=q.useCallback(()=&gt;{typeof y==&quot;function&quot;&amp;&amp;y(),M(!1)},[y]),L=q.useCallback(()=&gt;{typeof p==&quot;function&quot;&amp;&amp;p(),M(!0)},[p]),V=Lee(n.current),H=q.useRef(0);_.current!==x&amp;&amp;(H.current=s.current,_.current=x);var K=H.current;return q.createElement(Dee,{points:a,showLabels:D},t.children,q.createElement(_m,{animationId:x,begin:i,duration:c,isActive:l,easing:h,onAnimationEnd:W,onAnimationStart:L,key:x},z=&gt;{var O=Ir(K,V+K,z),I=Math.min(O,V),C;if(l)if(u){var j=&quot;&quot;.concat(u).split(/[,\s]+/gim).map(N=&gt;parseFloat(N));C=Iee(I,V,j)}else C=_E(V,I);else C=u==null?void 0:String(u);if(z&gt;0&amp;&amp;V&gt;0&amp;&amp;(o.current=a,s.current=Math.max(s.current,I)),b){var k=b.length/a.length,S=z===1?a:a.map((N,T)=&gt;{var R=Math.floor(T*k);if(b[R]){var B=b[R];return hs(hs({},N),{},{x:Ir(B.x,N.x,z),y:Ir(B.y,N.y,z)})}return f?hs(hs({},N),{},{x:Ir(d*2,N.x,z),y:Ir(v/2,N.y,z)}):hs(hs({},N),{},{x:N.x,y:N.y})});return o.current=S,q.createElement(lS,{props:t,points:S,clipPathId:r,pathRef:n,strokeDasharray:C})}return q.createElement(lS,{props:t,points:a,clipPathId:r,pathRef:n,strokeDasharray:C})}),q.createElement(G9,{label:t.label}))}function Bee(e){var{clipPathId:r,props:t}=e,n=q.useRef(null),o=q.useRef(0),s=q.useRef(null);return q.createElement(Fee,{props:t,clipPathId:r,previousPointsRef:n,longestAnimatedLengthRef:o,pathRef:s})}var zee=(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:Ur(e.payload,r)}};class $ee extends q.Component{render(){var{hide:r,dot:t,points:n,className:o,xAxisId:s,yAxisId:a,top:u,left:l,width:i,height:c,id:h,needClip:f,zIndex:d}=this.props;if(r)return null;var v=sr(&quot;recharts-line&quot;,o),y=h,{r:p,strokeWidth:b}=nee(t),x=J9(t),_=p*2+b,E=f?&quot;url(#clipPath-&quot;.concat(x?&quot;&quot;:&quot;dots-&quot;).concat(y,&quot;)&quot;):void 0;return q.createElement(Ii,{zIndex:d},q.createElement(Mi,{className:v},f&amp;&amp;q.createElement(&quot;defs&quot;,null,q.createElement(vE,{clipPathId:y,xAxisId:s,yAxisId:a}),!x&amp;&amp;q.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-dots-&quot;.concat(y)},q.createElement(&quot;rect&quot;,{x:l-_/2,y:u-_/2,width:i+_,height:c+_}))),q.createElement(gE,{xAxisId:s,yAxisId:a,data:n,dataPointFormatter:zee,errorBarOffset:0},q.createElement(Bee,{props:this.props,clipPathId:y}))),q.createElement(BQ,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:E}))}}var jE={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:cn.line,type:&quot;linear&quot;};function Uee(e){var r=xn(e,jE),{activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:s,animationEasing:a,connectNulls:u,dot:l,hide:i,isAnimationActive:c,label:h,legendType:f,xAxisId:d,yAxisId:v,id:y}=r,p=S1(r,Nee),{needClip:b}=j1(d,v),x=b1(),_=$l(),E=On(),M=xt(H=&gt;ree(H,d,v,E,y));if(_!==&quot;horizontal&quot;&amp;&amp;_!==&quot;vertical&quot;||M==null||x==null)return null;var{height:D,width:W,x:L,y:V}=x;return q.createElement($ee,xu({},p,{id:y,connectNulls:u,dot:l,activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:s,animationEasing:a,isAnimationActive:c,hide:i,label:h,legendType:f,xAxisId:d,yAxisId:v,points:M,layout:_,height:D,width:W,left:L,top:V,needClip:b}))}function Vee(e){var{layout:r,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:s,dataKey:a,bandSize:u,displayedData:l}=e;return l.map((i,c)=&gt;{var h=Ur(i,a);if(r===&quot;horizontal&quot;){var f=J4({axis:t,ticks:o,bandSize:u,entry:i,index:c}),d=jr(h)?null:n.scale(h);return{x:f,y:d,value:h,payload:i}}var v=jr(h)?null:t.scale(h),y=J4({axis:n,ticks:s,bandSize:u,entry:i,index:c});return v==null||y==null?null:{x:v,y,value:h,payload:i}}).filter(Boolean)}function qee(e){var r=xn(e,jE),t=On();return q.createElement(aE,{id:r.id,type:&quot;line&quot;},n=&gt;q.createElement(q.Fragment,null,q.createElement(sE,{legendPayload:Oee(r)}),q.createElement(Tee,{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}),q.createElement(lE,{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}),q.createElement(Uee,xu({},r,{id:n}))))}var SE=q.memo(qee,Um);SE.displayName=&quot;Line&quot;;function Io(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.xAxisId)!==null&amp;&amp;t!==void 0?t:cE}function Ro(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.yAxisId)!==null&amp;&amp;t!==void 0?t:cE}var Wee=&quot;Invariant failed&quot;;function Hee(e,r){throw new Error(Wee)}function eb(){return eb=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},eb.apply(null,arguments)}function Rh(e){return q.createElement(eE,eb({shapeType:&quot;rectangle&quot;,activeClassName:&quot;recharts-active-bar&quot;},e))}var Kee=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;return(n,o)=&gt;{if(pt(r))return r;var s=pt(n)||jr(n);return s?r(n,o):(s||Hee(),t)}},Xee=(e,r,t)=&gt;t,Gee=(e,r)=&gt;r,qu=Ae([Lm,Gee],(e,r)=&gt;e.filter(t=&gt;t.type===&quot;bar&quot;).find(t=&gt;t.id===r)),Yee=Ae([qu],e=&gt;e?.maxBarSize),Zee=(e,r,t,n)=&gt;n,Qee=Ae([tr,Lm,Io,Ro,Xee],(e,r,t,n,o)=&gt;r.filter(s=&gt;e===&quot;horizontal&quot;?s.xAxisId===t:s.yAxisId===n).filter(s=&gt;s.isPanorama===o).filter(s=&gt;s.hide===!1).filter(s=&gt;s.type===&quot;bar&quot;)),Jee=(e,r,t)=&gt;{var n=tr(e),o=Io(e,r),s=Ro(e,r);if(!(o==null||s==null))return n===&quot;horizontal&quot;?Hy(e,&quot;yAxis&quot;,s,t):Hy(e,&quot;xAxis&quot;,o,t)},ete=(e,r)=&gt;{var t=tr(e),n=Io(e,r),o=Ro(e,r);if(!(n==null||o==null))return t===&quot;horizontal&quot;?Y6(e,&quot;xAxis&quot;,n):Y6(e,&quot;yAxis&quot;,o)},tte=Ae([Qee,uK,ete],zQ),rte=(e,r,t)=&gt;{var n,o,s=qu(e,r);if(s!=null){var a=Io(e,r),u=Ro(e,r);if(!(a==null||u==null)){var l=tr(e),i=h7(e),{maxBarSize:c}=s,h=jr(c)?i:c,f,d;return l===&quot;horizontal&quot;?(f=Da(e,&quot;xAxis&quot;,a,t),d=Ra(e,&quot;xAxis&quot;,a,t)):(f=Da(e,&quot;yAxis&quot;,u,t),d=Ra(e,&quot;yAxis&quot;,u,t)),(n=(o=El(f,d,!0))!==null&amp;&amp;o!==void 0?o:h)!==null&amp;&amp;n!==void 0?n:0}}},kE=(e,r,t)=&gt;{var n=tr(e),o=Io(e,r),s=Ro(e,r);if(!(o==null||s==null)){var a,u;return n===&quot;horizontal&quot;?(a=Da(e,&quot;xAxis&quot;,o,t),u=Ra(e,&quot;xAxis&quot;,o,t)):(a=Da(e,&quot;yAxis&quot;,s,t),u=Ra(e,&quot;yAxis&quot;,s,t)),El(a,u)}},nte=Ae([tte,h7,cK,m7,rte,kE,Yee],WQ),ite=(e,r,t)=&gt;{var n=Io(e,r);if(n!=null)return Da(e,&quot;xAxis&quot;,n,t)},ste=(e,r,t)=&gt;{var n=Ro(e,r);if(n!=null)return Da(e,&quot;yAxis&quot;,n,t)},ate=(e,r,t)=&gt;{var n=Io(e,r);if(n!=null)return Ra(e,&quot;xAxis&quot;,n,t)},ote=(e,r,t)=&gt;{var n=Ro(e,r);if(n!=null)return Ra(e,&quot;yAxis&quot;,n,t)},lte=Ae([nte,qu],(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}}),cte=Ae([Jee,qu],HQ),ute=Ae([un,hx,ite,ste,ate,ote,lte,tr,ZH,kE,cte,qu,Zee],(e,r,t,n,o,s,a,u,l,i,c,h,f)=&gt;{var{chartData:d,dataStartIndex:v,dataEndIndex:y}=l;if(!(h==null||a==null||r==null||u!==&quot;horizontal&quot;&amp;&amp;u!==&quot;vertical&quot;||t==null||n==null||o==null||s==null||i==null)){var{data:p}=h,b;if(p!=null&amp;&amp;p.length&gt;0?b=p:b=d?.slice(v,y+1),b!=null)return Bte({layout:u,barSettings:h,pos:a,parentViewBox:r,bandSize:i,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:s,stackedData:c,displayedData:b,offset:e,cells:f,dataStartIndex:v})}}),dte=[&quot;index&quot;];function tb(){return tb=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},tb.apply(null,arguments)}function fte(e,r){if(e==null)return{};var t,n,o=hte(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function hte(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 NE=q.createContext(void 0),mte=e=&gt;{var r=q.useContext(NE);if(r!=null)return r.stackId;if(e!=null)return B$(e)},pte=(e,r)=&gt;&quot;recharts-bar-stack-clip-path-&quot;.concat(e,&quot;-&quot;).concat(r),gte=e=&gt;{var r=q.useContext(NE);if(r!=null){var{stackId:t}=r;return&quot;url(#&quot;.concat(pte(t,e),&quot;)&quot;)}},vte=e=&gt;{var{index:r}=e,t=fte(e,dte),n=gte(r);return q.createElement(Mi,tb({className:&quot;recharts-bar-stack-layer&quot;,clipPath:n},t))},yte=[&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onClick&quot;],bte=[&quot;value&quot;,&quot;background&quot;,&quot;tooltipPosition&quot;],xte=[&quot;id&quot;],wte=[&quot;onMouseEnter&quot;,&quot;onClick&quot;,&quot;onMouseLeave&quot;];function Ys(){return Ys=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},Ys.apply(null,arguments)}function cS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Rn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?cS(Object(t),!0).forEach(function(n){_te(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function _te(e,r,t){return(r=jte(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function jte(e){var r=Ste(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Ste(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Dh(e,r){if(e==null)return{};var t,n,o=kte(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function kte(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 Nte=e=&gt;{var{dataKey:r,name:t,fill:n,legendType:o,hide:s}=e;return[{inactive:s,dataKey:r,type:o,color:n,value:dm(t,r),payload:e}]},Cte=q.memo(e=&gt;{var{dataKey:r,stroke:t,strokeWidth:n,fill:o,name:s,hide:a,unit:u,tooltipType:l,id:i}=e,c={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:t,strokeWidth:n,fill:o,dataKey:r,nameKey:void 0,name:dm(s,r),hide:a,type:l,color:o,unit:u,graphicalItemId:i}};return q.createElement(iE,{tooltipEntrySettings:c})});function Ete(e){var r=xt(Ao),{data:t,dataKey:n,background:o,allOtherBarProps:s}=e,{onMouseEnter:a,onMouseLeave:u,onClick:l}=s,i=Dh(s,yte),c=tE(a,n,s.id),h=rE(u),f=nE(l,n,s.id);if(!o||t==null)return null;var d=ku(o);return q.createElement(Ii,{zIndex:KQ(o,cn.barBackground)},t.map((v,y)=&gt;{var{value:p,background:b,tooltipPosition:x}=v,_=Dh(v,bte);if(!b)return null;var E=c(v,y),M=h(v,y),D=f(v,y),W=Rn(Rn(Rn(Rn(Rn({option:o,isActive:String(y)===r},_),{},{fill:&quot;#eee&quot;},b),d),em(i,v,y)),{},{onMouseEnter:E,onMouseLeave:M,onClick:D,dataKey:n,index:y,className:&quot;recharts-bar-background-rectangle&quot;});return q.createElement(Rh,Ys({key:&quot;background-bar-&quot;.concat(y)},W))}))}function Ate(e){var{showLabels:r,children:t,rects:n}=e,o=n?.map(s=&gt;{var a={x:s.x,y:s.y,width:s.width,lowerWidth:s.width,upperWidth:s.width,height:s.height};return Rn(Rn({},a),{},{value:s.value,payload:s.payload,parentViewBox:s.parentViewBox,viewBox:a,fill:s.fill})});return q.createElement(K9,{value:r?o:void 0},t)}function Mte(e){var{shape:r,activeBar:t,baseProps:n,entry:o,index:s,dataKey:a}=e,u=xt(Ao),l=xt(S9),i=t&amp;&amp;String(s)===u&amp;&amp;(l==null||a===l),c=i?t:r;return i?q.createElement(Ii,{zIndex:cn.activeBar},q.createElement(Rh,Ys({},n,{name:String(n.name)},o,{isActive:i,option:c,index:s,dataKey:a}))):q.createElement(Rh,Ys({},n,{name:String(n.name)},o,{isActive:i,option:c,index:s,dataKey:a}))}function Ote(e){var{shape:r,baseProps:t,entry:n,index:o,dataKey:s}=e;return q.createElement(Rh,Ys({},t,{name:String(t.name)},n,{isActive:!1,option:r,index:o,dataKey:s}))}function Tte(e){var r,{data:t,props:n}=e,o=(r=Zi(n))!==null&amp;&amp;r!==void 0?r:{},{id:s}=o,a=Dh(o,xte),{shape:u,dataKey:l,activeBar:i}=n,{onMouseEnter:c,onClick:h,onMouseLeave:f}=n,d=Dh(n,wte),v=tE(c,l,s),y=rE(f),p=nE(h,l,s);return t?q.createElement(q.Fragment,null,t.map((b,x)=&gt;q.createElement(vte,Ys({index:x,key:&quot;rectangle-&quot;.concat(b?.x,&quot;-&quot;).concat(b?.y,&quot;-&quot;).concat(b?.value,&quot;-&quot;).concat(x),className:&quot;recharts-bar-rectangle&quot;},em(d,b,x),{onMouseEnter:v(b,x),onMouseLeave:y(b,x),onClick:p(b,x)}),i?q.createElement(Mte,{shape:u,activeBar:i,baseProps:a,entry:b,index:x,dataKey:l}):q.createElement(Ote,{shape:u,baseProps:a,entry:b,index:x,dataKey:l})))):null}function Pte(e){var{props:r,previousRectanglesRef:t}=e,{data:n,layout:o,isAnimationActive:s,animationBegin:a,animationDuration:u,animationEasing:l,onAnimationEnd:i,onAnimationStart:c}=r,h=t.current,f=jm(r,&quot;recharts-bar-&quot;),[d,v]=q.useState(!1),y=!d,p=q.useCallback(()=&gt;{typeof i==&quot;function&quot;&amp;&amp;i(),v(!1)},[i]),b=q.useCallback(()=&gt;{typeof c==&quot;function&quot;&amp;&amp;c(),v(!0)},[c]);return q.createElement(Ate,{showLabels:y,rects:n},q.createElement(_m,{animationId:f,begin:a,duration:u,isActive:s,easing:l,onAnimationEnd:p,onAnimationStart:b,key:f},x=&gt;{var _=x===1?n:n?.map((E,M)=&gt;{var D=h&amp;&amp;h[M];if(D)return Rn(Rn({},E),{},{x:Ir(D.x,E.x,x),y:Ir(D.y,E.y,x),width:Ir(D.width,E.width,x),height:Ir(D.height,E.height,x)});if(o===&quot;horizontal&quot;){var W=Ir(0,E.height,x),L=Ir(E.stackedBarStart,E.y,x);return Rn(Rn({},E),{},{y:L,height:W})}var V=Ir(0,E.width,x),H=Ir(E.stackedBarStart,E.x,x);return Rn(Rn({},E),{},{width:V,x:H})});return x&gt;0&amp;&amp;(t.current=_??null),_==null?null:q.createElement(Mi,null,q.createElement(Tte,{props:r,data:_}))}),q.createElement(G9,{label:r.label}),r.children)}function Ite(e){var r=q.useRef(null);return q.createElement(Pte,{previousRectanglesRef:r,props:e})}var CE=0,Rte=(e,r)=&gt;{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:Ur(e,r)}};class Dte extends q.PureComponent{render(){var{hide:r,data:t,dataKey:n,className:o,xAxisId:s,yAxisId:a,needClip:u,background:l,id:i}=this.props;if(r||t==null)return null;var c=sr(&quot;recharts-bar&quot;,o),h=i;return q.createElement(Mi,{className:c,id:i},u&amp;&amp;q.createElement(&quot;defs&quot;,null,q.createElement(vE,{clipPathId:h,xAxisId:s,yAxisId:a})),q.createElement(Mi,{className:&quot;recharts-bar-rectangles&quot;,clipPath:u?&quot;url(#clipPath-&quot;.concat(h,&quot;)&quot;):void 0},q.createElement(Ete,{data:t,dataKey:n,background:l,allOtherBarProps:this.props}),q.createElement(Ite,this.props)))}}var Lte={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:CE,xAxisId:0,yAxisId:0,zIndex:cn.bar};function Fte(e){var{xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:s,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:i,isAnimationActive:c}=e,{needClip:h}=j1(r,t),f=$l(),d=On(),v=DZ(e.children,R9),y=xt(x=&gt;ute(x,e.id,d,v));if(f!==&quot;vertical&quot;&amp;&amp;f!==&quot;horizontal&quot;)return null;var p,b=y?.[0];return b==null||b.height==null||b.width==null?p=0:p=f===&quot;vertical&quot;?b.height/2:b.width/2,q.createElement(gE,{xAxisId:r,yAxisId:t,data:y,dataPointFormatter:Rte,errorBarOffset:p},q.createElement(Dte,Ys({},e,{layout:f,needClip:h,data:y,xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:s,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:i,isAnimationActive:c})))}function Bte(e){var{layout:r,barSettings:{dataKey:t,minPointSize:n},pos:o,bandSize:s,xAxis:a,yAxis:u,xAxisTicks:l,yAxisTicks:i,stackedData:c,displayedData:h,offset:f,cells:d,parentViewBox:v,dataStartIndex:y}=e,p=r===&quot;horizontal&quot;?u:a,b=c?p.scale.domain():null,x=z$({numericAxis:p}),_=p.scale(x);return h.map((E,M)=&gt;{var D,W,L,V,H,K;if(c){var z=c[M+y];if(z==null)return null;D=I$(z,b)}else D=Ur(E,t),Array.isArray(D)||(D=[x,D]);var O=Kee(n,CE)(D[1],M);if(r===&quot;horizontal&quot;){var I,[C,j]=[u.scale(D[0]),u.scale(D[1])];W=e5({axis:a,ticks:l,bandSize:s,offset:o.offset,entry:E,index:M}),L=(I=j??C)!==null&amp;&amp;I!==void 0?I:void 0,V=o.size;var k=C-j;if(H=Qi(k)?0:k,K={x:W,y:f.top,width:V,height:f.height},Math.abs(O)&gt;0&amp;&amp;Math.abs(H)&lt;Math.abs(O)){var S=Zn(H||O)*(Math.abs(O)-Math.abs(H));L-=S,H+=S}}else{var[N,T]=[a.scale(D[0]),a.scale(D[1])];if(W=N,L=e5({axis:u,ticks:i,bandSize:s,offset:o.offset,entry:E,index:M}),V=T-N,H=o.size,K={x:f.left,y:L,width:f.width,height:H},Math.abs(O)&gt;0&amp;&amp;Math.abs(V)&lt;Math.abs(O)){var R=Zn(V||O)*(Math.abs(O)-Math.abs(V));V+=R}}if(W==null||L==null||V==null||H==null)return null;var B=Rn(Rn({},E),{},{stackedBarStart:_,x:W,y:L,width:V,height:H,value:c?D:D[1],payload:E,background:K,tooltipPosition:{x:W+V/2,y:L+H/2},parentViewBox:v},d&amp;&amp;d[M]&amp;&amp;d[M].props);return B}).filter(Boolean)}function zte(e){var r=xn(e,Lte),t=mte(r.stackId),n=On();return q.createElement(aE,{id:r.id,type:&quot;bar&quot;},o=&gt;q.createElement(q.Fragment,null,q.createElement(sE,{legendPayload:Nte(r)}),q.createElement(Cte,{dataKey:r.dataKey,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:o}),q.createElement(lE,{type:&quot;bar&quot;,id:o,data:void 0,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,stackId:t,hide:r.hide,barSize:r.barSize,minPointSize:r.minPointSize,maxBarSize:r.maxBarSize,isPanorama:n}),q.createElement(Ii,{zIndex:r.zIndex},q.createElement(Fte,Ys({},r,{id:o})))))}var rb=q.memo(zte,Um);rb.displayName=&quot;Bar&quot;;var $te=[&quot;domain&quot;,&quot;range&quot;],Ute=[&quot;domain&quot;,&quot;range&quot;];function uS(e,r){if(e==null)return{};var t,n,o=Vte(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Vte(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 dS(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 EE(e,r){if(e===r)return!0;var{domain:t,range:n}=e,o=uS(e,$te),{domain:s,range:a}=r,u=uS(r,Ute);return!dS(t,s)||!dS(n,a)?!1:Um(o,u)}var qte=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Wte=[&quot;id&quot;,&quot;scale&quot;];function nb(){return nb=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},nb.apply(null,arguments)}function fS(e,r){if(e==null)return{};var t,n,o=Hte(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Hte(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 Kte(e){var r=Mr(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(SQ(e)):t.current!==e&amp;&amp;r(kQ({prev:t.current,next:e})),t.current=e},[e,r]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(NQ(t.current)),t.current=null)},[r]),null}var Xte=e=&gt;{var{xAxisId:r,className:t}=e,n=xt(hx),o=On(),s=&quot;xAxis&quot;,a=xt(b=&gt;i9(b,s,r,o)),u=xt(b=&gt;e9(b,r)),l=xt(b=&gt;oX(b,r)),i=xt(b=&gt;j7(b,r));if(u==null||l==null||i==null)return null;var{dangerouslySetInnerHTML:c,ticks:h,scale:f}=e,d=fS(e,qte),{id:v,scale:y}=i,p=fS(i,Wte);return q.createElement(_1,nb({},d,p,{x:l.x,y:l.y,width:u.width,height:u.height,className:sr(&quot;recharts-&quot;.concat(s,&quot; &quot;).concat(s),t),viewBox:n,ticks:a,axisType:s}))},Gte={allowDataOverflow:sn.allowDataOverflow,allowDecimals:sn.allowDecimals,allowDuplicatedCategory:sn.allowDuplicatedCategory,angle:sn.angle,axisLine:Us.axisLine,height:sn.height,hide:!1,includeHidden:sn.includeHidden,interval:sn.interval,minTickGap:sn.minTickGap,mirror:sn.mirror,orientation:sn.orientation,padding:sn.padding,reversed:sn.reversed,scale:sn.scale,tick:sn.tick,tickCount:sn.tickCount,tickLine:Us.tickLine,tickSize:Us.tickSize,type:sn.type,xAxisId:0},Yte=e=&gt;{var r=xn(e,Gte);return q.createElement(q.Fragment,null,q.createElement(Kte,{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}),q.createElement(Xte,r))},Of=q.memo(Yte,EE);Of.displayName=&quot;XAxis&quot;;var Zte=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Qte=[&quot;id&quot;,&quot;scale&quot;];function ib(){return ib=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},ib.apply(null,arguments)}function hS(e,r){if(e==null)return{};var t,n,o=Jte(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Jte(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 ere(e){var r=Mr(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(CQ(e)):t.current!==e&amp;&amp;r(EQ({prev:t.current,next:e})),t.current=e},[e,r]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(AQ(t.current)),t.current=null)},[r]),null}var tre=e=&gt;{var{yAxisId:r,className:t,width:n,label:o}=e,s=q.useRef(null),a=q.useRef(null),u=xt(hx),l=On(),i=Mr(),c=&quot;yAxis&quot;,h=xt(D=&gt;t9(D,r)),f=xt(D=&gt;cX(D,r)),d=xt(D=&gt;i9(D,c,r,l)),v=xt(D=&gt;S7(D,r));if(q.useLayoutEffect(()=&gt;{if(!(n!==&quot;auto&quot;||!h||y1(o)||q.isValidElement(o)||v==null)){var D=s.current;if(D){var W=D.getCalculatedWidth();Math.round(h.width)!==Math.round(W)&amp;&amp;i(MQ({id:r,width:W}))}}},[d,h,i,o,r,n,v]),h==null||f==null||v==null)return null;var{dangerouslySetInnerHTML:y,ticks:p,scale:b}=e,x=hS(e,Zte),{id:_,scale:E}=v,M=hS(v,Qte);return q.createElement(_1,ib({},x,M,{ref:s,labelRef:a,x:f.x,y:f.y,tickTextProps:n===&quot;auto&quot;?{width:void 0}:{width:n},width:h.width,height:h.height,className:sr(&quot;recharts-&quot;.concat(c,&quot; &quot;).concat(c),t),viewBox:u,ticks:d,axisType:c}))},rre={allowDataOverflow:an.allowDataOverflow,allowDecimals:an.allowDecimals,allowDuplicatedCategory:an.allowDuplicatedCategory,angle:an.angle,axisLine:Us.axisLine,hide:!1,includeHidden:an.includeHidden,interval:an.interval,minTickGap:an.minTickGap,mirror:an.mirror,orientation:an.orientation,padding:an.padding,reversed:an.reversed,scale:an.scale,tick:an.tick,tickCount:an.tickCount,tickLine:Us.tickLine,tickSize:Us.tickSize,type:an.type,width:an.width,yAxisId:0},nre=e=&gt;{var r=xn(e,rre);return q.createElement(q.Fragment,null,q.createElement(ere,{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}),q.createElement(tre,r))},Tf=q.memo(nre,EE);Tf.displayName=&quot;YAxis&quot;;var ire=(e,r)=&gt;r,k1=Ae([ire,tr,w7,Zr,x9,ia,SG,un],OG),N1=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)}},AE=Oi(&quot;mouseClick&quot;),ME=Au();ME.startListening({actionCreator:AE,effect:(e,r)=&gt;{var t=e.payload,n=k1(r.getState(),N1(t));n?.activeIndex!=null&amp;&amp;r.dispatch(jX({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var sb=Oi(&quot;mouseMove&quot;),OE=Au(),gf=null;OE.startListening({actionCreator:sb,effect:(e,r)=&gt;{var t=e.payload;gf!==null&amp;&amp;cancelAnimationFrame(gf);var n=N1(t);gf=requestAnimationFrame(()=&gt;{var o=r.getState(),s=o1(o,o.tooltip.settings.shared);if(s===&quot;axis&quot;){var a=k1(o,n);a?.activeIndex!=null?r.dispatch(f9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):r.dispatch(d9())}gf=null})}});function sre(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 mS={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},TE=ei({name:&quot;rootProps&quot;,initialState:mS,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:mS.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}}}),are=TE.reducer,{updateOptions:ore}=TE.actions,PE=ei({name:&quot;polarOptions&quot;,initialState:null,reducers:{updatePolarOptions:(e,r)=&gt;r.payload}}),{updatePolarOptions:Wne}=PE.actions,lre=PE.reducer,IE=Oi(&quot;keyDown&quot;),RE=Oi(&quot;focus&quot;),C1=Au();C1.startListening({actionCreator:IE,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip,s=e.payload;if(!(s!==&quot;ArrowRight&quot;&amp;&amp;s!==&quot;ArrowLeft&quot;&amp;&amp;s!==&quot;Enter&quot;)){var a=l1(o,Gl(t),Fu(t),Uu(t)),u=a==null?-1:Number(a);if(!(!Number.isFinite(u)||u&lt;0)){var l=ia(t);if(s===&quot;Enter&quot;){var i=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(o.index));r.dispatch(Xy({active:!o.active,activeIndex:o.index,activeCoordinate:i}));return}var c=hX(t),h=c===&quot;left-to-right&quot;?1:-1,f=s===&quot;ArrowRight&quot;?1:-1,d=u+f*h;if(!(l==null||d&gt;=l.length||d&lt;0)){var v=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(d));r.dispatch(Xy({active:!0,activeIndex:d.toString(),activeCoordinate:v}))}}}}}});C1.startListening({actionCreator:RE,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip;if(!o.active&amp;&amp;o.index==null){var s=&quot;0&quot;,a=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(s));r.dispatch(Xy({active:!0,activeIndex:s,activeCoordinate:a}))}}}});var Si=Oi(&quot;externalEvent&quot;),DE=Au(),jv=new Map;DE.startListening({actionCreator:Si,effect:(e,r)=&gt;{var{handler:t,reactEvent:n}=e.payload;if(t!=null){n.persist();var o=n.type,s=jv.get(o);s!==void 0&amp;&amp;cancelAnimationFrame(s);var a=requestAnimationFrame(()=&gt;{try{var u=r.getState(),l={activeCoordinate:lG(u),activeDataKey:S9(u),activeIndex:Ao(u),activeLabel:j9(u),activeTooltipIndex:Ao(u),isTooltipActive:cG(u)};t(l,n)}finally{jv.delete(o)}});jv.set(o,a)}}});var cre=Ae([Kl],e=&gt;e.tooltipItemPayloads),ure=Ae([cre,$u,(e,r)=&gt;r,(e,r,t)=&gt;t],(e,r,t,n)=&gt;{var o=e.find(u=&gt;u.settings.graphicalItemId===n);if(o!=null){var{positions:s}=o;if(s!=null){var a=r(s,t);return a}}}),LE=Oi(&quot;touchMove&quot;),FE=Au();FE.startListening({actionCreator:LE,effect:(e,r)=&gt;{var t=e.payload;if(!(t.touches==null||t.touches.length===0)){var n=r.getState(),o=o1(n,n.tooltip.settings.shared);if(o===&quot;axis&quot;){var s=t.touches[0];if(s==null)return;var a=k1(n,N1({clientX:s.clientX,clientY:s.clientY,currentTarget:t.currentTarget}));a?.activeIndex!=null&amp;&amp;r.dispatch(f9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(o===&quot;item&quot;){var u,l=t.touches[0];if(document.elementFromPoint==null||l==null)return;var i=document.elementFromPoint(l.clientX,l.clientY);if(!i||!i.getAttribute)return;var c=i.getAttribute(K$),h=(u=i.getAttribute(X$))!==null&amp;&amp;u!==void 0?u:void 0,f=Xl(n).find(y=&gt;y.id===h);if(c==null||f==null||h==null)return;var{dataKey:d}=f,v=ure(n,c,h);r.dispatch(u9({activeDataKey:d,activeIndex:c,activeCoordinate:v,activeGraphicalItemId:h}))}}}});var dre=yN({brush:GQ,cartesianAxis:OQ,chartData:lY,errorBars:HJ,graphicalItems:cQ,layout:E$,legend:$U,options:nY,polarAxis:TZ,polarOptions:lre,referenceElements:rJ,rootProps:are,tooltip:SX,zIndex:WG}),fre=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;Chart&quot;;return Jz({reducer:dre,preloadedState:r,middleware:n=&gt;{var o;return n({serializableCheck:!1,immutableCheck:![&quot;commonjs&quot;,&quot;es6&quot;,&quot;production&quot;].includes((o=&quot;es6&quot;)!==null&amp;&amp;o!==void 0?o:&quot;&quot;)}).concat([ME.middleware,OE.middleware,C1.middleware,DE.middleware,FE.middleware])},enhancers:n=&gt;{var o=n;return typeof n==&quot;function&quot;&amp;&amp;(o=n()),o.concat(PN({type:&quot;raf&quot;}))},devTools:{serialize:{replacer:sre},name:&quot;recharts-&quot;.concat(t)}})};function hre(e){var{preloadedState:r,children:t,reduxStoreName:n}=e,o=On(),s=q.useRef(null);if(o)return t;s.current==null&amp;&amp;(s.current=fre(r,n));var a=ax;return q.createElement(wee,{context:a,store:s.current},t)}function mre(e){var{layout:r,margin:t}=e,n=Mr(),o=On();return q.useEffect(()=&gt;{o||(n(k$(r)),n(S$(t)))},[n,o,r,t]),null}var pre=q.memo(mre,Um);function gre(e){var r=Mr();return q.useEffect(()=&gt;{r(ore(e))},[r,e]),null}function pS(e){var{zIndex:r,isPanorama:t}=e,n=q.useRef(null),o=Mr();return q.useLayoutEffect(()=&gt;(n.current&amp;&amp;o(VG({zIndex:r,element:n.current,isPanorama:t})),()=&gt;{o(qG({zIndex:r,isPanorama:t}))}),[o,r,t]),q.createElement(&quot;g&quot;,{tabIndex:-1,ref:n})}function gS(e){var{children:r,isPanorama:t}=e,n=xt(PG);if(!n||n.length===0)return r;var o=n.filter(a=&gt;a&lt;0),s=n.filter(a=&gt;a&gt;0);return q.createElement(q.Fragment,null,o.map(a=&gt;q.createElement(pS,{key:a,zIndex:a,isPanorama:t})),r,s.map(a=&gt;q.createElement(pS,{key:a,zIndex:a,isPanorama:t})))}var vre=[&quot;children&quot;];function yre(e,r){if(e==null)return{};var t,n,o=bre(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function bre(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 Lh(){return Lh=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},Lh.apply(null,arguments)}var xre={width:&quot;100%&quot;,height:&quot;100%&quot;,display:&quot;block&quot;},wre=q.forwardRef((e,r)=&gt;{var t=px(),n=gx(),o=lC();if(!xs(t)||!xs(n))return null;var{children:s,otherAttributes:a,title:u,desc:l}=e,i,c;return a!=null&amp;&amp;(typeof a.tabIndex==&quot;number&quot;?i=a.tabIndex:i=o?0:void 0,typeof a.role==&quot;string&quot;?c=a.role:c=o?&quot;application&quot;:void 0),q.createElement(Gb,Lh({},a,{title:u,desc:l,role:c,tabIndex:i,width:t,height:n,style:xre,ref:r}),s)}),_re=e=&gt;{var{children:r}=e,t=xt(pm);if(!t)return null;var{width:n,height:o,y:s,x:a}=t;return q.createElement(Gb,{width:n,height:o,x:a,y:s},r)},vS=q.forwardRef((e,r)=&gt;{var{children:t}=e,n=yre(e,vre),o=On();return o?q.createElement(_re,null,q.createElement(gS,{isPanorama:!0},t)):q.createElement(wre,Lh({ref:r},n),q.createElement(gS,{isPanorama:!1},t))});function jre(){var e=Mr(),[r,t]=q.useState(null),n=xt(H$);return q.useEffect(()=&gt;{if(r!=null){var o=r.getBoundingClientRect(),s=o.width/r.offsetWidth;Ar(s)&amp;&amp;s!==n&amp;&amp;e(C$(s))}},[r,e,n]),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(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Sre(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){kre(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 kre(e,r,t){return(r=Nre(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Nre(e){var r=Cre(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Cre(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 Oo(){return Oo=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},Oo.apply(null,arguments)}var Ere=()=&gt;(vY(),null);function Fh(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 Are=q.forwardRef((e,r)=&gt;{var t,n,o=q.useRef(null),[s,a]=q.useState({containerWidth:Fh((t=e.style)===null||t===void 0?void 0:t.width),containerHeight:Fh((n=e.style)===null||n===void 0?void 0:n.height)}),u=q.useCallback((i,c)=&gt;{a(h=&gt;{var f=Math.round(i),d=Math.round(c);return h.containerWidth===f&amp;&amp;h.containerHeight===d?h:{containerWidth:f,containerHeight:d}})},[]),l=q.useCallback(i=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(i),i!=null&amp;&amp;typeof ResizeObserver&lt;&quot;u&quot;){var{width:c,height:h}=i.getBoundingClientRect();u(c,h);var f=v=&gt;{var{width:y,height:p}=v[0].contentRect;u(y,p)},d=new ResizeObserver(f);d.observe(i),o.current=d}},[r,u]);return q.useEffect(()=&gt;()=&gt;{var i=o.current;i?.disconnect()},[u]),q.createElement(q.Fragment,null,q.createElement(vm,{width:s.containerWidth,height:s.containerHeight}),q.createElement(&quot;div&quot;,Oo({ref:l},e)))}),Mre=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e,[o,s]=q.useState({containerWidth:Fh(t),containerHeight:Fh(n)}),a=q.useCallback((l,i)=&gt;{s(c=&gt;{var h=Math.round(l),f=Math.round(i);return c.containerWidth===h&amp;&amp;c.containerHeight===f?c:{containerWidth:h,containerHeight:f}})},[]),u=q.useCallback(l=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(l),l!=null){var{width:i,height:c}=l.getBoundingClientRect();a(i,c)}},[r,a]);return q.createElement(q.Fragment,null,q.createElement(vm,{width:o.containerWidth,height:o.containerHeight}),q.createElement(&quot;div&quot;,Oo({ref:u},e)))}),Ore=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return q.createElement(q.Fragment,null,q.createElement(vm,{width:t,height:n}),q.createElement(&quot;div&quot;,Oo({ref:r},e)))}),Tre=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return qs(t)||qs(n)?q.createElement(Mre,Oo({},e,{ref:r})):q.createElement(Ore,Oo({},e,{ref:r}))});function Pre(e){return e===!0?Are:Tre}var Ire=q.forwardRef((e,r)=&gt;{var{children:t,className:n,height:o,onClick:s,onContextMenu:a,onDoubleClick:u,onMouseDown:l,onMouseEnter:i,onMouseLeave:c,onMouseMove:h,onMouseUp:f,onTouchEnd:d,onTouchMove:v,onTouchStart:y,style:p,width:b,responsive:x,dispatchTouchEvents:_=!0}=e,E=q.useRef(null),M=Mr(),[D,W]=q.useState(null),[L,V]=q.useState(null),H=jre(),K=mx(),z=K?.width&gt;0?K.width:b,O=K?.height&gt;0?K.height:o,I=q.useCallback(P=&gt;{H(P),typeof r==&quot;function&quot;&amp;&amp;r(P),W(P),V(P),P!=null&amp;&amp;(E.current=P)},[H,r,W,V]),C=q.useCallback(P=&gt;{M(AE(P)),M(Si({handler:s,reactEvent:P}))},[M,s]),j=q.useCallback(P=&gt;{M(sb(P)),M(Si({handler:i,reactEvent:P}))},[M,i]),k=q.useCallback(P=&gt;{M(d9()),M(Si({handler:c,reactEvent:P}))},[M,c]),S=q.useCallback(P=&gt;{M(sb(P)),M(Si({handler:h,reactEvent:P}))},[M,h]),N=q.useCallback(()=&gt;{M(RE())},[M]),T=q.useCallback(P=&gt;{M(IE(P.key))},[M]),R=q.useCallback(P=&gt;{M(Si({handler:a,reactEvent:P}))},[M,a]),B=q.useCallback(P=&gt;{M(Si({handler:u,reactEvent:P}))},[M,u]),Y=q.useCallback(P=&gt;{M(Si({handler:l,reactEvent:P}))},[M,l]),Z=q.useCallback(P=&gt;{M(Si({handler:f,reactEvent:P}))},[M,f]),ne=q.useCallback(P=&gt;{M(Si({handler:y,reactEvent:P}))},[M,y]),U=q.useCallback(P=&gt;{_&amp;&amp;M(LE(P)),M(Si({handler:v,reactEvent:P}))},[M,_,v]),ee=q.useCallback(P=&gt;{M(Si({handler:d,reactEvent:P}))},[M,d]),F=Pre(x);return q.createElement(O9.Provider,{value:D},q.createElement(R8.Provider,{value:L},q.createElement(F,{width:z??p?.width,height:O??p?.height,className:sr(&quot;recharts-wrapper&quot;,n),style:Sre({position:&quot;relative&quot;,cursor:&quot;default&quot;,width:z,height:O},p),onClick:C,onContextMenu:R,onDoubleClick:B,onFocus:N,onKeyDown:T,onMouseDown:Y,onMouseEnter:j,onMouseLeave:k,onMouseMove:S,onMouseUp:Z,onTouchEnd:ee,onTouchMove:U,onTouchStart:ne,ref:I},q.createElement(Ere,null),t)))}),Rre=[&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 Dre(e,r){if(e==null)return{};var t,n,o=Lre(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n&lt;s.length;n++)t=s[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(o[t]=e[t])}return o}function Lre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Fre=q.forwardRef((e,r)=&gt;{var{width:t,height:n,responsive:o,children:s,className:a,style:u,compact:l,title:i,desc:c}=e,h=Dre(e,Rre),f=Zi(h);return l?q.createElement(q.Fragment,null,q.createElement(vm,{width:t,height:n}),q.createElement(vS,{otherAttributes:f,title:i,desc:c},s)):q.createElement(Ire,{className:a,style:u,width:t,height:n,responsive:o??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},q.createElement(vS,{otherAttributes:f,title:i,desc:c,ref:r},q.createElement(iJ,null,s)))});function ab(){return ab=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},ab.apply(null,arguments)}var Bre={top:5,right:5,bottom:5,left:5},zre={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,layout:&quot;horizontal&quot;,margin:Bre,responsive:!1,reverseStackOrder:!1,stackOffset:&quot;none&quot;,syncMethod:&quot;index&quot;},BE=q.forwardRef(function(r,t){var n,o=xn(r.categoricalChartProps,zre),{chartName:s,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,categoricalChartProps:i}=r,c={chartName:s,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,eventEmitter:void 0};return q.createElement(hre,{preloadedState:{options:c},reduxStoreName:(n=i.id)!==null&amp;&amp;n!==void 0?n:s},q.createElement(XQ,{chartData:i.data}),q.createElement(pre,{layout:o.layout,margin:o.margin}),q.createElement(gre,{baseValue:o.baseValue,accessibilityLayer:o.accessibilityLayer,barCategoryGap:o.barCategoryGap,maxBarSize:o.maxBarSize,stackOffset:o.stackOffset,barGap:o.barGap,barSize:o.barSize,syncId:o.syncId,syncMethod:o.syncMethod,className:o.className,reverseStackOrder:o.reverseStackOrder}),q.createElement(Fre,ab({},o,{ref:t})))}),$re=[&quot;axis&quot;],Ure=q.forwardRef((e,r)=&gt;q.createElement(BE,{chartName:&quot;LineChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:$re,tooltipPayloadSearcher:T9,categoricalChartProps:e,ref:r})),Vre=[&quot;axis&quot;,&quot;item&quot;],bS=q.forwardRef((e,r)=&gt;q.createElement(BE,{chartName:&quot;BarChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Vre,tooltipPayloadSearcher:T9,categoricalChartProps:e,ref:r}));function qre({stats:e,loading:r}){if(r)return m.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6&quot;,children:[1,2,3,4].map(s=&gt;m.jsx(ln,{className:&quot;animate-pulse&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;h-20 bg-gray-200 rounded&quot;})},s))});if(!e)return m.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune statistique disponible&quot;});const t=(e.timeline||[]).map(s=&gt;({date:new Date(s.date).toLocaleDateString(&quot;fr-FR&quot;,{day:&quot;2-digit&quot;,month:&quot;2-digit&quot;}),count:s.count})),n=Object.entries(e.by_status||{}).map(([s,a])=&gt;({status:s,count:a})),o=(e.by_plan||[]).slice(0,5).map(s=&gt;({name:s.pricing_plan_code||s.pricing_plan_name||&quot;-&quot;,count:s.count}));return m.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6&quot;,children:[m.jsxs(ln,{children:[m.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Total&quot;}),m.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-ink-900&quot;,children:e.total})]}),m.jsxs(ln,{children:[m.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Soumis&quot;}),m.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-blue-600&quot;,children:e.by_status.submitted||0})]}),m.jsxs(ln,{children:[m.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;En attente&quot;}),m.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-yellow-600&quot;,children:e.by_status.pending_payment||0})]}),m.jsxs(ln,{children:[m.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Payé&quot;}),m.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-green-600&quot;,children:e.by_status.paid||0})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-6&quot;,children:[m.jsxs(ln,{children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Évolution dans le temps&quot;}),m.jsx(qg,{width:&quot;100%&quot;,height:300,children:m.jsxs(Ure,{data:t,children:[m.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),m.jsx(Of,{dataKey:&quot;date&quot;}),m.jsx(Tf,{}),m.jsx(lv,{}),m.jsx(Cf,{}),m.jsx(SE,{type:&quot;monotone&quot;,dataKey:&quot;count&quot;,stroke:&quot;#0B4A6F&quot;,strokeWidth:2,name:&quot;Inscriptions&quot;})]})})]}),m.jsxs(ln,{children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Répartition par statut&quot;}),m.jsx(qg,{width:&quot;100%&quot;,height:300,children:m.jsxs(bS,{data:n,children:[m.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),m.jsx(Of,{dataKey:&quot;status&quot;}),m.jsx(Tf,{}),m.jsx(lv,{}),m.jsx(Cf,{}),m.jsx(rb,{dataKey:&quot;count&quot;,fill:&quot;#0B4A6F&quot;,name:&quot;Nombre&quot;})]})})]})]}),o.length&gt;0&amp;&amp;m.jsxs(ln,{children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Répartition par formule&quot;}),m.jsx(qg,{width:&quot;100%&quot;,height:300,children:m.jsxs(bS,{data:o,children:[m.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),m.jsx(Of,{dataKey:&quot;name&quot;}),m.jsx(Tf,{}),m.jsx(lv,{}),m.jsx(Cf,{}),m.jsx(rb,{dataKey:&quot;count&quot;,fill:&quot;#1F6F8B&quot;,name:&quot;Nombre&quot;})]})})]})]})}function vf(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 Sv={exports:{}};var xS;function Wre(){return xS||(xS=1,(function(e,r){(function(t){e.exports=t()})((function(){return(function t(n,o,s){function a(i,c){if(!o[i]){if(!n[i]){var h=typeof vf==&quot;function&quot;&amp;&amp;vf;if(!c&amp;&amp;h)return h(i,!0);if(u)return u(i,!0);var f=new Error(&quot;Cannot find module &#039;&quot;+i+&quot;&#039;&quot;);throw f.code=&quot;MODULE_NOT_FOUND&quot;,f}var d=o[i]={exports:{}};n[i][0].call(d.exports,(function(v){return a(n[i][1][v]||v)}),d,d.exports,t,n,o,s)}return o[i].exports}for(var u=typeof vf==&quot;function&quot;&amp;&amp;vf,l=0;l&lt;s.length;l++)a(s[l]);return a})({1:[function(t,n,o){const s=t(&quot;fs&quot;),a=t(&quot;fast-csv&quot;),u=t(&quot;dayjs/plugin/customParseFormat&quot;),l=t(&quot;dayjs/plugin/utc&quot;),i=t(&quot;dayjs&quot;).extend(u).extend(l),c=t(&quot;../utils/stream-buf&quot;),{fs:{exists:h}}=t(&quot;../utils/utils&quot;),f={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(d){this.workbook=d,this.worksheet=null}async readFile(d,v){if(v=v||{},!await h(d))throw new Error(&quot;File not found: &quot;+d);const y=s.createReadStream(d),p=await this.read(y,v);return y.close(),p}read(d,v){return v=v||{},new Promise((y,p)=&gt;{const b=this.workbook.addWorksheet(v.sheetName),x=v.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;],_=v.map||function(M){if(M===&quot;&quot;)return null;const D=Number(M);if(!Number.isNaN(D)&amp;&amp;D!==1/0)return D;const W=x.reduce((V,H)=&gt;{if(V)return V;const K=i(M,H,!0);return K.isValid()?K:null},null);if(W)return new Date(W.valueOf());const L=f[M];return L!==void 0?L:M},E=a.parse(v.parserOptions).on(&quot;data&quot;,M=&gt;{b.addRow(M.map(_))}).on(&quot;end&quot;,()=&gt;{E.emit(&quot;worksheet&quot;,b)});E.on(&quot;worksheet&quot;,y).on(&quot;error&quot;,p),d.pipe(E)})}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(d,v){return new Promise((y,p)=&gt;{v=v||{};const b=this.workbook.getWorksheet(v.sheetName||v.sheetId),x=a.format(v.formatterOptions);d.on(&quot;finish&quot;,()=&gt;{y()}),x.on(&quot;error&quot;,p),x.pipe(d);const{dateFormat:_,dateUTC:E}=v,M=v.map||(L=&gt;{if(L){if(L.text||L.hyperlink)return L.hyperlink||L.text||&quot;&quot;;if(L.formula||L.result)return L.result||&quot;&quot;;if(L instanceof Date)return _?E?i.utc(L).format(_):i(L).format(_):E?i.utc(L).format():i(L).format();if(L.error)return L.error;if(typeof L==&quot;object&quot;)return JSON.stringify(L)}return L}),D=v.includeEmptyRows===void 0||v.includeEmptyRows;let W=1;b&amp;&amp;b.eachRow((L,V)=&gt;{if(D)for(;W++&lt;V-1;)x.write([]);const{values:H}=L;H.shift(),x.write(H.map(M)),W=V}),x.end()})}writeFile(d,v){const y={encoding:(v=v||{}).encoding||&quot;utf8&quot;},p=s.createWriteStream(d,y);return this.write(p,v)}async writeBuffer(d){const v=new c;return await this.write(v,d),v.read()}}},{&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,dayjs:391,&quot;dayjs/plugin/customParseFormat&quot;:392,&quot;dayjs/plugin/utc&quot;:393,&quot;fast-csv&quot;:424,fs:216}],2:[function(t,n,o){const s=t(&quot;../utils/col-cache&quot;);class a{constructor(l,i){let c=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=l,i)if(typeof i==&quot;string&quot;){const h=s.decodeAddress(i);this.nativeCol=h.col+c,this.nativeColOff=0,this.nativeRow=h.row+c,this.nativeRowOff=0}else i.nativeCol!==void 0?(this.nativeCol=i.nativeCol||0,this.nativeColOff=i.nativeColOff||0,this.nativeRow=i.nativeRow||0,this.nativeRowOff=i.nativeRowOff||0):i.col!==void 0?(this.col=i.col+c,this.row=i.row+c):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(l){return l instanceof a||l==null?l:new a(l)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(l){this.nativeCol=Math.floor(l),this.nativeColOff=Math.floor((l-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(l){this.nativeRow=Math.floor(l),this.nativeRowOff=Math.floor((l-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&amp;&amp;this.worksheet.getColumn(this.nativeCol+1)&amp;&amp;this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&amp;&amp;this.worksheet.getRow(this.nativeRow+1)&amp;&amp;this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(l){this.nativeCol=l.nativeCol,this.nativeColOff=l.nativeColOff,this.nativeRow=l.nativeRow,this.nativeRowOff=l.nativeRowOff}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],3:[function(t,n,o){const s=t(&quot;../utils/col-cache&quot;),a=t(&quot;../utils/under-dash&quot;),u=t(&quot;./enums&quot;),{slideFormula:l}=t(&quot;../utils/shared-formula&quot;),i=t(&quot;./note&quot;);class c{constructor(d,v,y){if(!d||!v)throw new Error(&quot;A Cell needs a Row&quot;);this._row=d,this._column=v,s.validateAddress(y),this._address=y,this._value=h.create(c.Types.Null,this),this.style=this._mergeStyle(d.style,v.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(d){this.style.numFmt=d}get font(){return this.style.font}set font(d){this.style.font=d}get alignment(){return this.style.alignment}set alignment(d){this.style.alignment=d}get border(){return this.style.border}set border(d){this.style.border=d}get fill(){return this.style.fill}set fill(d){this.style.fill=d}get protection(){return this.style.protection}set protection(d){this.style.protection=d}_mergeStyle(d,v,y){const p=d&amp;&amp;d.numFmt||v&amp;&amp;v.numFmt;p&amp;&amp;(y.numFmt=p);const b=d&amp;&amp;d.font||v&amp;&amp;v.font;b&amp;&amp;(y.font=b);const x=d&amp;&amp;d.alignment||v&amp;&amp;v.alignment;x&amp;&amp;(y.alignment=x);const _=d&amp;&amp;d.border||v&amp;&amp;v.border;_&amp;&amp;(y.border=_);const E=d&amp;&amp;d.fill||v&amp;&amp;v.fill;E&amp;&amp;(y.fill=E);const M=d&amp;&amp;d.protection||v&amp;&amp;v.protection;return M&amp;&amp;(y.protection=M),y}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===c.Types.Merge}merge(d,v){this._value.release(),this._value=h.create(c.Types.Merge,this,d),v||(this.style=d.style)}unmerge(){this.type===c.Types.Merge&amp;&amp;(this._value.release(),this._value=h.create(c.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(d){return this._value.type===c.Types.Merge&amp;&amp;this._value.isMergedTo(d)}get master(){return this.type===c.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===c.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(d){this.type!==c.Types.Merge?(this._value.release(),this._value=h.create(h.getType(d),this,d)):this._value.master.value=d}get note(){return this._comment&amp;&amp;this._comment.note}set note(d){this._comment=new i(d)}get text(){return this._value.toString()}get html(){return a.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(d){this.type===c.Types.String&amp;&amp;(this._value=h.create(c.Types.Hyperlink,this,{text:this._value.value,hyperlink:d}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:d}=this._row;return{sheetName:d.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(d){this.names=[d]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(d){const{definedNames:v}=this.workbook;v.removeAllNames(this.fullAddress),d.forEach(y=&gt;{v.addEx(this.fullAddress,y)})}addName(d){this.workbook.definedNames.addEx(this.fullAddress,d)}removeName(d){this.workbook.definedNames.removeEx(this.fullAddress,d)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(d){this._dataValidations.add(this.address,d)}get model(){const{model:d}=this._value;return d.style=this.style,this._comment&amp;&amp;(d.comment=this._comment.model),d}set model(d){this._value.release(),this._value=h.create(d.type,this),this._value.model=d,d.comment&amp;&amp;d.comment.type===&quot;note&quot;&amp;&amp;(this._comment=i.fromModel(d.comment)),d.style?this.style=d.style:this.style={}}}c.Types=u.ValueType;const h={getType:f=&gt;f==null?c.Types.Null:f instanceof String||typeof f==&quot;string&quot;?c.Types.String:typeof f==&quot;number&quot;?c.Types.Number:typeof f==&quot;boolean&quot;?c.Types.Boolean:f instanceof Date?c.Types.Date:f.text&amp;&amp;f.hyperlink?c.Types.Hyperlink:f.formula||f.sharedFormula?c.Types.Formula:f.richText?c.Types.RichText:f.sharedString?c.Types.SharedString:f.error?c.Types.Error:c.Types.JSON,types:[{t:c.Types.Null,f:class{constructor(f){this.model={address:f.address,type:c.Types.Null}}get value(){return null}set value(f){}get type(){return c.Types.Null}get effectiveType(){return c.Types.Null}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return&quot;&quot;}release(){}toString(){return&quot;&quot;}}},{t:c.Types.Number,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Number,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.Number}get effectiveType(){return c.Types.Number}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.String,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.String,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return`&quot;${this.model.value.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}toString(){return this.model.value}}},{t:c.Types.Date,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Date,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.Date}get effectiveType(){return c.Types.Date}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Hyperlink,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Hyperlink,text:d?d.text:void 0,hyperlink:d?d.hyperlink:void 0},d&amp;&amp;d.tooltip&amp;&amp;(this.model.tooltip=d.tooltip)}get value(){const f={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&amp;&amp;(f.tooltip=this.model.tooltip),f}set value(f){this.model={text:f.text,hyperlink:f.hyperlink},f.tooltip&amp;&amp;(this.model.tooltip=f.tooltip)}get text(){return this.model.text}set text(f){this.model.text=f}get hyperlink(){return this.model.hyperlink}set hyperlink(f){this.model.hyperlink=f}get type(){return c.Types.Hyperlink}get effectiveType(){return c.Types.Hyperlink}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:c.Types.Formula,f:class{constructor(f,d){this.cell=f,this.model={address:f.address,type:c.Types.Formula,shareType:d?d.shareType:void 0,ref:d?d.ref:void 0,formula:d?d.formula:void 0,sharedFormula:d?d.sharedFormula:void 0,result:d?d.result:void 0}}_copyModel(f){const d={},v=y=&gt;{const p=f[y];p&amp;&amp;(d[y]=p)};return v(&quot;formula&quot;),v(&quot;result&quot;),v(&quot;ref&quot;),v(&quot;shareType&quot;),v(&quot;sharedFormula&quot;),d}get value(){return this._copyModel(this.model)}set value(f){this.model=this._copyModel(f)}validate(f){switch(h.getType(f)){case c.Types.Null:case c.Types.String:case c.Types.Number:case c.Types.Date:break;case c.Types.Hyperlink:case c.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(f){this.model.formula=f}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(f){this.model.result=f}get type(){return c.Types.Formula}get effectiveType(){const f=this.model.result;return f==null?u.ValueType.Null:f instanceof String||typeof f==&quot;string&quot;?u.ValueType.String:typeof f==&quot;number&quot;?u.ValueType.Number:f instanceof Date?u.ValueType.Date:f.text&amp;&amp;f.hyperlink?u.ValueType.Hyperlink:f.formula?u.ValueType.Formula:u.ValueType.Null}get address(){return this.model.address}set address(f){this.model.address=f}_getTranslatedFormula(){if(!this._translatedFormula&amp;&amp;this.model.sharedFormula){const{worksheet:f}=this.cell,d=f.findCell(this.model.sharedFormula);this._translatedFormula=d&amp;&amp;l(d.formula,d.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:c.Types.Merge,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Merge,master:d?d.address:void 0},this._master=d,d&amp;&amp;d.addMergeRef()}get value(){return this._master.value}set value(f){f instanceof c?(this._master&amp;&amp;this._master.releaseMergeRef(),f.addMergeRef(),this._master=f):this._master.value=f}isMergedTo(f){return f===this._master}get master(){return this._master}get type(){return c.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return&quot;&quot;}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:c.Types.JSON,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.String,value:JSON.stringify(d),rawValue:d}}get value(){return this.model.rawValue}set value(f){this.model.rawValue=f,this.model.value=JSON.stringify(f)}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:c.Types.SharedString,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.SharedString,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.SharedString}get effectiveType(){return c.Types.SharedString}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.RichText,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.String,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}toString(){return this.model.value.richText.map(f=&gt;f.text).join(&quot;&quot;)}get type(){return c.Types.RichText}get effectiveType(){return c.Types.RichText}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return`&quot;${this.text.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}}},{t:c.Types.Boolean,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Boolean,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.Boolean}get effectiveType(){return c.Types.Boolean}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Error,f:class{constructor(f,d){this.model={address:f.address,type:c.Types.Error,value:d}}get value(){return this.model.value}set value(f){this.model.value=f}get type(){return c.Types.Error}get effectiveType(){return c.Types.Error}get address(){return this.model.address}set address(f){this.model.address=f}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((f,d)=&gt;(f[d.t]=d.f,f),[]),create(f,d,v){const y=this.types[f];if(!y)throw new Error(&quot;Could not create Value of type &quot;+f);return new y(d,v)}};n.exports=c},{&quot;../utils/col-cache&quot;:19,&quot;../utils/shared-formula&quot;:23,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7,&quot;./note&quot;:9}],4:[function(t,n,o){const s=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;);class l{constructor(c,h,f){this._worksheet=c,this._number=h,f!==!1&amp;&amp;(this.defn=f)}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(c){c?(this.key=c.key,this.width=c.width!==void 0?c.width:9,this.outlineLevel=c.outlineLevel,c.style?this.style=c.style:this.style={},this.header=c.header,this._hidden=!!c.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(c){c!==void 0?(this._header=c,this.headers.forEach((h,f)=&gt;{this._worksheet.getCell(f+1,this.number).value=h})):this._header=void 0}get key(){return this._key}set key(c){(this._key&amp;&amp;this._worksheet.getColumnKey(this._key))===this&amp;&amp;this._worksheet.deleteColumnKey(this._key),this._key=c,c&amp;&amp;this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(c){this._hidden=c}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(c){this._outlineLevel=c}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(c){return this.width===c.width&amp;&amp;this.hidden===c.hidden&amp;&amp;this.outlineLevel===c.outlineLevel&amp;&amp;s.isEqual(this.style,c.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const c=this.style;return!c||!(c.font||c.numFmt||c.alignment||c.border||c.fill||c.protection)}get headerCount(){return this.headers.length}eachCell(c,h){const f=this.number;h||(h=c,c=null),this._worksheet.eachRow(c,(d,v)=&gt;{h(d.getCell(f),v)})}get values(){const c=[];return this.eachCell((h,f)=&gt;{h&amp;&amp;h.type!==a.ValueType.Null&amp;&amp;(c[f]=h.value)}),c}set values(c){if(!c)return;const h=this.number;let f=0;c.hasOwnProperty(&quot;0&quot;)&amp;&amp;(f=1),c.forEach((d,v)=&gt;{this._worksheet.getCell(v+f,h).value=d})}_applyStyle(c,h){return this.style[c]=h,this.eachCell(f=&gt;{f[c]=h}),h}get numFmt(){return this.style.numFmt}set numFmt(c){this._applyStyle(&quot;numFmt&quot;,c)}get font(){return this.style.font}set font(c){this._applyStyle(&quot;font&quot;,c)}get alignment(){return this.style.alignment}set alignment(c){this._applyStyle(&quot;alignment&quot;,c)}get protection(){return this.style.protection}set protection(c){this._applyStyle(&quot;protection&quot;,c)}get border(){return this.style.border}set border(c){this._applyStyle(&quot;border&quot;,c)}get fill(){return this.style.fill}set fill(c){this._applyStyle(&quot;fill&quot;,c)}static toModel(c){const h=[];let f=null;return c&amp;&amp;c.forEach((d,v)=&gt;{d.isDefault?f&amp;&amp;(f=null):f&amp;&amp;d.equivalentTo(f)?f.max=v+1:(f={min:v+1,max:v+1,width:d.width!==void 0?d.width:9,style:d.style,isCustomWidth:d.isCustomWidth,hidden:d.hidden,outlineLevel:d.outlineLevel,collapsed:d.collapsed},h.push(f))}),h.length?h:void 0}static fromModel(c,h){const f=[];let d=1,v=0;for(h=(h=h||[]).sort((function(y,p){return y.min-p.min}));v&lt;h.length;){const y=h[v++];for(;d&lt;y.min;)f.push(new l(c,d++));for(;d&lt;=y.max;)f.push(new l(c,d++,y))}return f.length?f:null}}n.exports=l},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7}],5:[function(t,n,o){n.exports=class{constructor(s){this.model=s||{}}add(s,a){return this.model[s]=a}find(s){return this.model[s]}remove(s){this.model[s]=void 0}}},{}],6:[function(t,n,o){const s=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;../utils/cell-matrix&quot;),l=t(&quot;./range&quot;),i=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;n.exports=class{constructor(){this.matrixMap={}}getMatrix(c){return this.matrixMap[c]||(this.matrixMap[c]=new u)}add(c,h){const f=a.decodeEx(c);this.addEx(f,h)}addEx(c,h){const f=this.getMatrix(h);if(c.top)for(let d=c.left;d&lt;=c.right;d++)for(let v=c.top;v&lt;=c.bottom;v++){const y={sheetName:c.sheetName,address:a.n2l(d)+v,row:v,col:d};f.addCellEx(y)}else f.addCellEx(c)}remove(c,h){const f=a.decodeEx(c);this.removeEx(f,h)}removeEx(c,h){this.getMatrix(h).removeCellEx(c)}removeAllNames(c){s.each(this.matrixMap,h=&gt;{h.removeCellEx(c)})}forEach(c){s.each(this.matrixMap,(h,f)=&gt;{h.forEach(d=&gt;{c(f,d)})})}getNames(c){return this.getNamesEx(a.decodeEx(c))}getNamesEx(c){return s.map(this.matrixMap,(h,f)=&gt;h.findCellEx(c)&amp;&amp;f).filter(Boolean)}_explore(c,h){h.mark=!1;const{sheetName:f}=h,d=new l(h.row,h.col,h.row,h.col,f);let v,y;function p(x,_){const E=c.findCellAt(f,x,h.col);return!(!E||!E.mark)&amp;&amp;(d[_]=x,E.mark=!1,!0)}for(y=h.row-1;p(y,&quot;top&quot;);y--);for(y=h.row+1;p(y,&quot;bottom&quot;);y++);function b(x,_){const E=[];for(y=d.top;y&lt;=d.bottom;y++){const M=c.findCellAt(f,y,x);if(!M||!M.mark)return!1;E.push(M)}d[_]=x;for(let M=0;M&lt;E.length;M++)E[M].mark=!1;return!0}for(v=h.col-1;b(v,&quot;left&quot;);v--);for(v=h.col+1;b(v,&quot;right&quot;);v++);return d}getRanges(c,h){return(h=h||this.matrixMap[c])?(h.forEach(f=&gt;{f.mark=!0}),{name:c,ranges:h.map(f=&gt;f.mark&amp;&amp;this._explore(h,f)).filter(Boolean).map(f=&gt;f.$shortRange)}):{name:c,ranges:[]}}normaliseMatrix(c,h){c.forEachInSheet(h,(f,d,v)=&gt;{f&amp;&amp;(f.row===d&amp;&amp;f.col===v||(f.row=d,f.col=v,f.address=a.n2l(v)+d))})}spliceRows(c,h,f,d){s.each(this.matrixMap,v=&gt;{v.spliceRows(c,h,f,d),this.normaliseMatrix(v,c)})}spliceColumns(c,h,f,d){s.each(this.matrixMap,v=&gt;{v.spliceColumns(c,h,f,d),this.normaliseMatrix(v,c)})}get model(){return s.map(this.matrixMap,(c,h)=&gt;this.getRanges(h,c)).filter(c=&gt;c.ranges.length)}set model(c){const h=this.matrixMap={};c.forEach(f=&gt;{const d=h[f.name]=new u;f.ranges.forEach(v=&gt;{i.test(v.split(&quot;!&quot;).pop()||&quot;&quot;)&amp;&amp;d.addCell(v)})})}}},{&quot;../utils/cell-matrix&quot;:18,&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./range&quot;:10}],7:[function(t,n,o){n.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:&quot;#N/A&quot;,Ref:&quot;#REF!&quot;,Name:&quot;#NAME?&quot;,DivZero:&quot;#DIV/0!&quot;,Null:&quot;#NULL!&quot;,Value:&quot;#VALUE!&quot;,Num:&quot;#NUM!&quot;}}},{}],8:[function(t,n,o){const s=t(&quot;../utils/col-cache&quot;),a=t(&quot;./anchor&quot;);n.exports=class{constructor(u,l){this.worksheet=u,this.model=l}get model(){switch(this.type){case&quot;background&quot;:return{type:this.type,imageId:this.imageId};case&quot;image&quot;:return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&amp;&amp;this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error(&quot;Invalid Image Type&quot;)}}set model(u){let{type:l,imageId:i,range:c,hyperlinks:h}=u;if(this.type=l,this.imageId=i,l===&quot;image&quot;)if(typeof c==&quot;string&quot;){const f=s.decode(c);this.range={tl:new a(this.worksheet,{col:f.left,row:f.top},-1),br:new a(this.worksheet,{col:f.right,row:f.bottom},0),editAs:&quot;oneCell&quot;}}else this.range={tl:new a(this.worksheet,c.tl,0),br:c.br&amp;&amp;new a(this.worksheet,c.br,0),ext:c.ext,editAs:c.editAs,hyperlinks:h||c.hyperlinks}}}},{&quot;../utils/col-cache&quot;:19,&quot;./anchor&quot;:2}],9:[function(t,n,o){const s=t(&quot;../utils/under-dash&quot;);class a{constructor(l){this.note=l}get model(){let l=null;return typeof this.note===&quot;string&quot;?l={type:&quot;note&quot;,note:{texts:[{text:this.note}]}}:l={type:&quot;note&quot;,note:this.note},s.deepMerge({},a.DEFAULT_CONFIGS,l)}set model(l){const{note:i}=l,{texts:c}=i;c.length===1&amp;&amp;Object.keys(c[0]).length===1?this.note=c[0].text:this.note=i}static fromModel(l){const i=new a;return i.model=l,i}}a.DEFAULT_CONFIGS={note:{margins:{insetmode:&quot;auto&quot;,inset:[.13,.13,.25,.25]},protection:{locked:&quot;True&quot;,lockText:&quot;True&quot;},editAs:&quot;absolute&quot;}},n.exports=a},{&quot;../utils/under-dash&quot;:26}],10:[function(t,n,o){const s=t(&quot;../utils/col-cache&quot;);class a{constructor(){this.decode(arguments)}setTLBR(l,i,c,h,f){if(arguments.length&lt;4){const d=s.decodeAddress(l),v=s.decodeAddress(i);this.model={top:Math.min(d.row,v.row),left:Math.min(d.col,v.col),bottom:Math.max(d.row,v.row),right:Math.max(d.col,v.col),sheetName:c},this.setTLBR(d.row,d.col,v.row,v.col,f)}else this.model={top:Math.min(l,c),left:Math.min(i,h),bottom:Math.max(l,c),right:Math.max(i,h),sheetName:f}}decode(l){switch(l.length){case 5:this.setTLBR(l[0],l[1],l[2],l[3],l[4]);break;case 4:this.setTLBR(l[0],l[1],l[2],l[3]);break;case 3:this.setTLBR(l[0],l[1],l[2]);break;case 2:this.setTLBR(l[0],l[1]);break;case 1:{const i=l[0];if(i instanceof a)this.model={top:i.model.top,left:i.model.left,bottom:i.model.bottom,right:i.model.right,sheetName:i.sheetName};else if(i instanceof Array)this.decode(i);else if(i.top&amp;&amp;i.left&amp;&amp;i.bottom&amp;&amp;i.right)this.model={top:i.top,left:i.left,bottom:i.bottom,right:i.right,sheetName:i.sheetName};else{const c=s.decodeEx(i);c.top?this.model={top:c.top,left:c.left,bottom:c.bottom,right:c.right,sheetName:c.sheetName}:this.model={top:c.row,left:c.col,bottom:c.row,right:c.col,sheetName:c.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error(&quot;Invalid number of arguments to _getDimensions() - &quot;+l.length)}}get top(){return this.model.top||1}set top(l){this.model.top=l}get left(){return this.model.left||1}set left(l){this.model.left=l}get bottom(){return this.model.bottom||1}set bottom(l){this.model.bottom=l}get right(){return this.model.right||1}set right(l){this.model.right=l}get sheetName(){return this.model.sheetName}set sheetName(l){this.model.sheetName=l}get _serialisedSheetName(){const{sheetName:l}=this.model;return l?/^[a-zA-Z0-9]*$/.test(l)?l+&quot;!&quot;:`&#039;${l}&#039;!`:&quot;&quot;}expand(l,i,c,h){(!this.model.top||l&lt;this.top)&amp;&amp;(this.top=l),(!this.model.left||i&lt;this.left)&amp;&amp;(this.left=i),(!this.model.bottom||c&gt;this.bottom)&amp;&amp;(this.bottom=c),(!this.model.right||h&gt;this.right)&amp;&amp;(this.right=h)}expandRow(l){if(l){const{dimensions:i,number:c}=l;i&amp;&amp;this.expand(c,i.min,c,i.max)}}expandToAddress(l){const i=s.decodeEx(l);this.expand(i.row,i.col,i.row,i.col)}get tl(){return s.n2l(this.left)+this.top}get $t$l(){return`$${s.n2l(this.left)}$${this.top}`}get br(){return s.n2l(this.right)+this.bottom}get $b$r(){return`$${s.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count&gt;1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count&gt;1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;!(l.bottom&lt;this.top)&amp;&amp;!(l.top&gt;this.bottom)&amp;&amp;!(l.right&lt;this.left)&amp;&amp;!(l.left&gt;this.right)}contains(l){const i=s.decodeEx(l);return this.containsEx(i)}containsEx(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;l.row&gt;=this.top&amp;&amp;l.row&lt;=this.bottom&amp;&amp;l.col&gt;=this.left&amp;&amp;l.col&lt;=this.right}forEachAddress(l){for(let i=this.left;i&lt;=this.right;i++)for(let c=this.top;c&lt;=this.bottom;c++)l(s.encodeAddress(c,i),c,i)}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],11:[function(t,n,o){const s=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;),l=t(&quot;./cell&quot;);n.exports=class{constructor(i,c){this._worksheet=i,this._number=c,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(i){return this._cells[i-1]}getCellEx(i){let c=this._cells[i.col-1];if(!c){const h=this._worksheet.getColumn(i.col);c=new l(this,h,i.address),this._cells[i.col-1]=c}return c}getCell(i){if(typeof i==&quot;string&quot;){const c=this._worksheet.getColumnKey(i);i=c?c.number:u.l2n(i)}return this._cells[i-1]||this.getCellEx({address:u.encodeAddress(this._number,i),row:this._number,col:i})}splice(i,c){const h=i+c;for(var f=arguments.length,d=new Array(f&gt;2?f-2:0),v=2;v&lt;f;v++)d[v-2]=arguments[v];const y=d.length-c,p=this._cells.length;let b,x,_;if(y&lt;0)for(b=i+d.length;b&lt;=p;b++)_=this._cells[b-1],x=this._cells[b-y-1],x?(_=this.getCell(b),_.value=x.value,_.style=x.style,_._comment=x._comment):_&amp;&amp;(_.value=null,_.style={},_._comment=void 0);else if(y&gt;0)for(b=p;b&gt;=h;b--)x=this._cells[b-1],x?(_=this.getCell(b+y),_.value=x.value,_.style=x.style,_._comment=x._comment):this._cells[b+y-1]=void 0;for(b=0;b&lt;d.length;b++)_=this.getCell(i+b),_.value=d[b],_.style={},_._comment=void 0}eachCell(i,c){if(c||(c=i,i=null),i&amp;&amp;i.includeEmpty){const h=this._cells.length;for(let f=1;f&lt;=h;f++)c(this.getCell(f),f)}else this._cells.forEach((h,f)=&gt;{h&amp;&amp;h.type!==a.ValueType.Null&amp;&amp;c(h,f+1)})}addPageBreak(i,c){const h=this._worksheet,f=Math.max(0,i-1)||0,d=Math.max(0,c-1)||16838,v={id:this._number,max:d,man:1};f&amp;&amp;(v.min=f),h.rowBreaks.push(v)}get values(){const i=[];return this._cells.forEach(c=&gt;{c&amp;&amp;c.type!==a.ValueType.Null&amp;&amp;(i[c.col]=c.value)}),i}set values(i){if(this._cells=[],i)if(i instanceof Array){let c=0;i.hasOwnProperty(&quot;0&quot;)&amp;&amp;(c=1),i.forEach((h,f)=&gt;{h!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,f+c),row:this._number,col:f+c}).value=h)})}else this._worksheet.eachColumnKey((c,h)=&gt;{i[h]!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,c.number),row:this._number,col:c.number}).value=i[h])})}get hasValues(){return s.some(this._cells,i=&gt;i&amp;&amp;i.type!==a.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let i=0;return this.eachCell(()=&gt;{i++}),i}get dimensions(){let i=0,c=0;return this._cells.forEach(h=&gt;{h&amp;&amp;h.type!==a.ValueType.Null&amp;&amp;((!i||i&gt;h.col)&amp;&amp;(i=h.col),c&lt;h.col&amp;&amp;(c=h.col))}),i&gt;0?{min:i,max:c}:null}_applyStyle(i,c){return this.style[i]=c,this._cells.forEach(h=&gt;{h&amp;&amp;(h[i]=c)}),c}get numFmt(){return this.style.numFmt}set numFmt(i){this._applyStyle(&quot;numFmt&quot;,i)}get font(){return this.style.font}set font(i){this._applyStyle(&quot;font&quot;,i)}get alignment(){return this.style.alignment}set alignment(i){this._applyStyle(&quot;alignment&quot;,i)}get protection(){return this.style.protection}set protection(i){this._applyStyle(&quot;protection&quot;,i)}get border(){return this.style.border}set border(i){this._applyStyle(&quot;border&quot;,i)}get fill(){return this.style.fill}set fill(i){this._applyStyle(&quot;fill&quot;,i)}get hidden(){return!!this._hidden}set hidden(i){this._hidden=i}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(i){this._outlineLevel=i}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelRow)}get model(){const i=[];let c=0,h=0;return this._cells.forEach(f=&gt;{if(f){const d=f.model;d&amp;&amp;((!c||c&gt;f.col)&amp;&amp;(c=f.col),h&lt;f.col&amp;&amp;(h=f.col),i.push(d))}}),this.height||i.length?{cells:i,number:this.number,min:c,max:h,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(i){if(i.number!==this._number)throw new Error(&quot;Invalid row number in model&quot;);let c;this._cells=[],i.cells.forEach(h=&gt;{switch(h.type){case l.Types.Merge:break;default:{let f;if(h.address)f=u.decodeAddress(h.address);else if(c){const{row:d}=c,v=c.col+1;f={row:d,col:v,address:u.encodeAddress(d,v),$col$row:`$${u.n2l(v)}$${d}`}}c=f,this.getCellEx(f).model=h;break}}}),i.height?this.height=i.height:delete this.height,this.hidden=i.hidden,this.outlineLevel=i.outlineLevel||0,this.style=i.style&amp;&amp;JSON.parse(JSON.stringify(i.style))||{}}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./cell&quot;:3,&quot;./enums&quot;:7}],12:[function(t,n,o){const s=t(&quot;../utils/col-cache&quot;);class a{constructor(l,i,c){this.table=l,this.column=i,this.index=c}_set(l,i){this.table.cacheState(),this.column[l]=i}get name(){return this.column.name}set name(l){this._set(&quot;name&quot;,l)}get filterButton(){return this.column.filterButton}set filterButton(l){this.column.filterButton=l}get style(){return this.column.style}set style(l){this.column.style=l}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(l){this._set(&quot;totalsRowLabel&quot;,l)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(l){this._set(&quot;totalsRowFunction&quot;,l)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(l){this._set(&quot;totalsRowResult&quot;,l)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(l){this._set(&quot;totalsRowFormula&quot;,l)}}n.exports=class{constructor(u,l){this.worksheet=u,l&amp;&amp;(this.table=l,this.validate(),this.store())}getFormula(u){switch(u.totalsRowFunction){case&quot;none&quot;:return null;case&quot;average&quot;:return`SUBTOTAL(101,${this.table.name}[${u.name}])`;case&quot;countNums&quot;:return`SUBTOTAL(102,${this.table.name}[${u.name}])`;case&quot;count&quot;:return`SUBTOTAL(103,${this.table.name}[${u.name}])`;case&quot;max&quot;:return`SUBTOTAL(104,${this.table.name}[${u.name}])`;case&quot;min&quot;:return`SUBTOTAL(105,${this.table.name}[${u.name}])`;case&quot;stdDev&quot;:return`SUBTOTAL(106,${this.table.name}[${u.name}])`;case&quot;var&quot;:return`SUBTOTAL(107,${this.table.name}[${u.name}])`;case&quot;sum&quot;:return`SUBTOTAL(109,${this.table.name}[${u.name}])`;case&quot;custom&quot;:return u.totalsRowFormula;default:throw new Error(&quot;Invalid Totals Row Function: &quot;+u.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:u}=this,l=(y,p,b)=&gt;{y[p]===void 0&amp;&amp;(y[p]=b)};l(u,&quot;headerRow&quot;,!0),l(u,&quot;totalsRow&quot;,!1),l(u,&quot;style&quot;,{}),l(u.style,&quot;theme&quot;,&quot;TableStyleMedium2&quot;),l(u.style,&quot;showFirstColumn&quot;,!1),l(u.style,&quot;showLastColumn&quot;,!1),l(u.style,&quot;showRowStripes&quot;,!1),l(u.style,&quot;showColumnStripes&quot;,!1);const i=(y,p)=&gt;{if(!y)throw new Error(p)};i(u.ref,&quot;Table must have ref&quot;),i(u.columns,&quot;Table must have column definitions&quot;),i(u.rows,&quot;Table must have row definitions&quot;),u.tl=s.decodeAddress(u.ref);const{row:c,col:h}=u.tl;i(c&gt;0,&quot;Table must be on valid row&quot;),i(h&gt;0,&quot;Table must be on valid col&quot;);const{width:f,filterHeight:d,tableHeight:v}=this;u.autoFilterRef=s.encode(c,h,c+d-1,h+f-1),u.tableRef=s.encode(c,h,c+v-1,h+f-1),u.columns.forEach((y,p)=&gt;{i(y.name,`Column ${p} must have a name`),p===0?l(y,&quot;totalsRowLabel&quot;,&quot;Total&quot;):(l(y,&quot;totalsRowFunction&quot;,&quot;none&quot;),y.totalsRowFormula=this.getFormula(y))})}store(){const u=(d,v)=&gt;{v&amp;&amp;Object.keys(v).forEach(y=&gt;{d[y]=v[y]})},{worksheet:l,table:i}=this,{row:c,col:h}=i.tl;let f=0;if(i.headerRow){const d=l.getRow(c+f++);i.columns.forEach((v,y)=&gt;{const{style:p,name:b}=v,x=d.getCell(h+y);x.value=b,u(x,p)})}if(i.rows.forEach(d=&gt;{const v=l.getRow(c+f++);d.forEach((y,p)=&gt;{const b=v.getCell(h+p);b.value=y,u(b,i.columns[p].style)})}),i.totalsRow){const d=l.getRow(c+f++);i.columns.forEach((v,y)=&gt;{const p=d.getCell(h+y);if(y===0)p.value=v.totalsRowLabel;else{const b=this.getFormula(v);p.value=b?{formula:v.totalsRowFormula,result:v.totalsRowResult}:null}u(p,v.style)})}}load(u){const{table:l}=this,{row:i,col:c}=l.tl;let h=0;if(l.headerRow){const f=u.getRow(i+h++);l.columns.forEach((d,v)=&gt;{f.getCell(c+v).value=d.name})}if(l.rows.forEach(f=&gt;{const d=u.getRow(i+h++);f.forEach((v,y)=&gt;{d.getCell(c+y).value=v})}),l.totalsRow){const f=u.getRow(i+h++);l.columns.forEach((d,v)=&gt;{const y=f.getCell(c+v);v===0?y.value=d.totalsRowLabel:this.getFormula(d)&amp;&amp;(y.value={formula:d.totalsRowFormula,result:d.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=s.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let l=0;l&lt;this._cache.tableHeight;l++){const i=this.worksheet.getRow(u.row+l);for(let c=0;c&lt;this._cache.width;c++)i.getCell(u.col+c).value=null}else{for(let l=this.tableHeight;l&lt;this._cache.tableHeight;l++){const i=this.worksheet.getRow(u.row+l);for(let c=0;c&lt;this._cache.width;c++)i.getCell(u.col+c).value=null}for(let l=0;l&lt;this.tableHeight;l++){const i=this.worksheet.getRow(u.row+l);for(let c=this.width;c&lt;this._cache.width;c++)i.getCell(u.col+c).value=null}}this.store()}addRow(u,l){this.cacheState(),l===void 0?this.table.rows.push(u):this.table.rows.splice(l,0,u)}removeRows(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(u,l)}getColumn(u){const l=this.table.columns[u];return new a(this,l,u)}addColumn(u,l,i){this.cacheState(),i===void 0?(this.table.columns.push(u),this.table.rows.forEach((c,h)=&gt;{c.push(l[h])})):(this.table.columns.splice(i,0,u),this.table.rows.forEach((c,h)=&gt;{c.splice(i,0,l[h])}))}removeColumns(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(u,l),this.table.rows.forEach(i=&gt;{i.splice(u,l)})}_assign(u,l,i){this.cacheState(),u[l]=i}get ref(){return this.table.ref}set ref(u){this._assign(this.table,&quot;ref&quot;,u)}get name(){return this.table.name}set name(u){this.table.name=u}get displayName(){return this.table.displyName||this.table.name}set displayNamename(u){this.table.displayName=u}get headerRow(){return this.table.headerRow}set headerRow(u){this._assign(this.table,&quot;headerRow&quot;,u)}get totalsRow(){return this.table.totalsRow}set totalsRow(u){this._assign(this.table,&quot;totalsRow&quot;,u)}get theme(){return this.table.style.name}set theme(u){this.table.style.name=u}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(u){this.table.style.showFirstColumn=u}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(u){this.table.style.showLastColumn=u}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(u){this.table.style.showRowStripes=u}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(u){this.table.style.showColumnStripes=u}}},{&quot;../utils/col-cache&quot;:19}],13:[function(t,n,o){const s=t(&quot;./worksheet&quot;),a=t(&quot;./defined-names&quot;),u=t(&quot;../xlsx/xlsx&quot;),l=t(&quot;../csv/csv&quot;);n.exports=class{constructor(){this.category=&quot;&quot;,this.company=&quot;&quot;,this.created=new Date,this.description=&quot;&quot;,this.keywords=&quot;&quot;,this.manager=&quot;&quot;,this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject=&quot;&quot;,this.title=&quot;&quot;,this.views=[],this.media=[],this._definedNames=new a}get xlsx(){return this._xlsx||(this._xlsx=new u(this)),this._xlsx}get csv(){return this._csv||(this._csv=new l(this)),this._csv}get nextId(){for(let i=1;i&lt;this._worksheets.length;i++)if(!this._worksheets[i])return i;return this._worksheets.length||1}addWorksheet(i,c){const h=this.nextId;c&amp;&amp;(typeof c==&quot;string&quot;?(console.trace(&#039;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: &quot;rbg value&quot; } }&#039;),c={properties:{tabColor:{argb:c}}}):(c.argb||c.theme||c.indexed)&amp;&amp;(console.trace(&quot;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }&quot;),c={properties:{tabColor:c}}));const f=this._worksheets.reduce((y,p)=&gt;(p&amp;&amp;p.orderNo)&gt;y?p.orderNo:y,0),d=Object.assign({},c,{id:h,name:i,orderNo:f+1,workbook:this}),v=new s(d);return this._worksheets[h]=v,v}removeWorksheetEx(i){delete this._worksheets[i.id]}removeWorksheet(i){const c=this.getWorksheet(i);c&amp;&amp;c.destroy()}getWorksheet(i){return i===void 0?this._worksheets.find(Boolean):typeof i==&quot;number&quot;?this._worksheets[i]:typeof i==&quot;string&quot;?this._worksheets.find(c=&gt;c&amp;&amp;c.name===i):void 0}get worksheets(){return this._worksheets.slice(1).sort((i,c)=&gt;i.orderNo-c.orderNo).filter(Boolean)}eachSheet(i){this.worksheets.forEach(c=&gt;{i(c,c.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(i){const c=this.media.length;return this.media.push(Object.assign({},i,{type:&quot;image&quot;})),c}getImage(i){return this.media[i]}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(i=&gt;i.model),sheets:this.worksheets.map(i=&gt;i.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(i){this.creator=i.creator,this.lastModifiedBy=i.lastModifiedBy,this.lastPrinted=i.lastPrinted,this.created=i.created,this.modified=i.modified,this.company=i.company,this.manager=i.manager,this.title=i.title,this.subject=i.subject,this.keywords=i.keywords,this.category=i.category,this.description=i.description,this.language=i.language,this.revision=i.revision,this.contentStatus=i.contentStatus,this.properties=i.properties,this.calcProperties=i.calcProperties,this._worksheets=[],i.worksheets.forEach(c=&gt;{const{id:h,name:f,state:d}=c,v=i.sheets&amp;&amp;i.sheets.findIndex(y=&gt;y.id===h);(this._worksheets[h]=new s({id:h,name:f,orderNo:v,state:d,workbook:this})).model=c}),this._definedNames.model=i.definedNames,this.views=i.views,this._themes=i.themes,this.media=i.media||[]}}},{&quot;../csv/csv&quot;:1,&quot;../xlsx/xlsx&quot;:144,&quot;./defined-names&quot;:6,&quot;./worksheet&quot;:14}],14:[function(t,n,o){const s=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;./range&quot;),l=t(&quot;./row&quot;),i=t(&quot;./column&quot;),c=t(&quot;./enums&quot;),h=t(&quot;./image&quot;),f=t(&quot;./table&quot;),d=t(&quot;./data-validations&quot;),v=t(&quot;../utils/encryptor&quot;),{copyStyle:y}=t(&quot;../utils/copy-style&quot;);n.exports=class{constructor(p){p=p||{},this._workbook=p.workbook,this.id=p.id,this.orderNo=p.orderNo,this.name=p.name,this.state=p.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},p.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:!(!p.pageSetup||!p.pageSetup.fitToWidth&amp;&amp;!p.pageSetup.fitToHeight||p.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},p.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},p.headerFooter),this.dataValidations=new d,this.views=p.views||[],this.autoFilter=p.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(p){if(p===void 0&amp;&amp;(p=&quot;sheet&quot;+this.id),this._name!==p){if(typeof p!=&quot;string&quot;)throw new Error(&quot;The name has to be a string.&quot;);if(p===&quot;&quot;)throw new Error(&quot;The name can&#039;t be empty.&quot;);if(p===&quot;History&quot;)throw new Error(&#039;The name &quot;History&quot; is protected. Please use a different name.&#039;);if(/[*?:/\\[\]]/.test(p))throw new Error(`Worksheet name ${p} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^&#039;)|(&#039;$)/.test(p))throw new Error(&quot;The first or last character of worksheet name cannot be a single quotation mark: &quot;+p);if(p&amp;&amp;p.length&gt;31&amp;&amp;(console.warn(`Worksheet name ${p} exceeds 31 chars. This will be truncated`),p=p.substring(0,31)),this._workbook._worksheets.find(b=&gt;b&amp;&amp;b.name.toLowerCase()===p.toLowerCase()))throw new Error(&quot;Worksheet name already exists: &quot;+p);this._name=p}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const p=new u;return this._rows.forEach(b=&gt;{if(b){const x=b.dimensions;x&amp;&amp;p.expand(b.number,x.min,b.number,x.max)}}),p}get columns(){return this._columns}set columns(p){this._headerRowCount=p.reduce((_,E)=&gt;{const M=(E.header?1:E.headers&amp;&amp;E.headers.length)||0;return Math.max(_,M)},0);let b=1;const x=this._columns=[];p.forEach(_=&gt;{const E=new i(this,b++,!1);x.push(E),E.defn=_})}getColumnKey(p){return this._keys[p]}setColumnKey(p,b){this._keys[p]=b}deleteColumnKey(p){delete this._keys[p]}eachColumnKey(p){s.each(this._keys,p)}getColumn(p){if(typeof p==&quot;string&quot;){const b=this._keys[p];if(b)return b;p=a.l2n(p)}if(this._columns||(this._columns=[]),p&gt;this._columns.length){let b=this._columns.length+1;for(;b&lt;=p;)this._columns.push(new i(this,b++))}return this._columns[p-1]}spliceColumns(p,b){const x=this._rows.length;for(var _=arguments.length,E=new Array(_&gt;2?_-2:0),M=2;M&lt;_;M++)E[M-2]=arguments[M];if(E.length&gt;0)for(let V=0;V&lt;x;V++){const H=[p,b];E.forEach(z=&gt;{H.push(z[V]||null)});const K=this.getRow(V+1);K.splice.apply(K,H)}else this._rows.forEach(V=&gt;{V&amp;&amp;V.splice(p,b)});const D=E.length-b,W=p+b,L=this._columns.length;if(D&lt;0)for(let V=p+E.length;V&lt;=L;V++)this.getColumn(V).defn=this.getColumn(V-D).defn;else if(D&gt;0)for(let V=L;V&gt;=W;V--)this.getColumn(V+D).defn=this.getColumn(V).defn;for(let V=p;V&lt;p+E.length;V++)this.getColumn(V).defn=null;this.workbook.definedNames.spliceColumns(this.name,p,b,E.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let p=0;return this.eachRow(b=&gt;{p=Math.max(p,b.cellCount)}),p}get actualColumnCount(){const p=[];let b=0;return this.eachRow(x=&gt;{x.eachCell(_=&gt;{let{col:E}=_;p[E]||(p[E]=!0,b++)})}),b}_commitRow(){}get _lastRowNumber(){const p=this._rows;let b=p.length;for(;b&gt;0&amp;&amp;p[b-1]===void 0;)b--;return b}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(p){return this._rows[p-1]}findRows(p,b){return this._rows.slice(p-1,p-1+b)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let p=0;return this.eachRow(()=&gt;{p++}),p}getRow(p){let b=this._rows[p-1];return b||(b=this._rows[p-1]=new l(this,p)),b}getRows(p,b){if(b&lt;1)return;const x=[];for(let _=p;_&lt;p+b;_++)x.push(this.getRow(_));return x}addRow(p){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const x=this._nextRow,_=this.getRow(x);return _.values=p,this._setStyleOption(x,b[0]===&quot;i&quot;?b:&quot;n&quot;),_}addRows(p){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const x=[];return p.forEach(_=&gt;{x.push(this.addRow(_,b))}),x}insertRow(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;return this.spliceRows(p,0,b),this._setStyleOption(p,x),this.getRow(p)}insertRows(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;if(this.spliceRows(p,0,...b),x!==&quot;n&quot;)for(let _=0;_&lt;b.length;_++)x[0]===&quot;o&quot;&amp;&amp;this.findRow(b.length+p+_)!==void 0?this._copyStyle(b.length+p+_,p+_,x[1]===&quot;+&quot;):x[0]===&quot;i&quot;&amp;&amp;this.findRow(p-1)!==void 0&amp;&amp;this._copyStyle(p-1,p+_,x[1]===&quot;+&quot;);return this.getRows(p,b.length)}_setStyleOption(p){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;b[0]===&quot;o&quot;&amp;&amp;this.findRow(p+1)!==void 0?this._copyStyle(p+1,p,b[1]===&quot;+&quot;):b[0]===&quot;i&quot;&amp;&amp;this.findRow(p-1)!==void 0&amp;&amp;this._copyStyle(p-1,p,b[1]===&quot;+&quot;)}_copyStyle(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this.getRow(p),E=this.getRow(b);E.style=y(_.style),_.eachCell({includeEmpty:x},(M,D)=&gt;{E.getCell(D).style=y(M.style)}),E.height=_.height}duplicateRow(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this._rows[p-1],E=new Array(b).fill(_.values);this.spliceRows(p+1,x?0:b,...E);for(let M=0;M&lt;b;M++){const D=this._rows[p+M];D.style=_.style,D.height=_.height,_.eachCell({includeEmpty:!0},(W,L)=&gt;{D.getCell(L).style=W.style})}}spliceRows(p,b){const x=p+b;for(var _=arguments.length,E=new Array(_&gt;2?_-2:0),M=2;M&lt;_;M++)E[M-2]=arguments[M];const D=E.length,W=D-b,L=this._rows.length;let V,H;if(W&lt;0)for(p===L&amp;&amp;(this._rows[L-1]=void 0),V=x;V&lt;=L;V++)if(H=this._rows[V-1],H){const K=this.getRow(V+W);K.values=H.values,K.style=H.style,K.height=H.height,H.eachCell({includeEmpty:!0},(z,O)=&gt;{K.getCell(O).style=z.style}),this._rows[V-1]=void 0}else this._rows[V+W-1]=void 0;else if(W&gt;0)for(V=L;V&gt;=x;V--)if(H=this._rows[V-1],H){const K=this.getRow(V+W);K.values=H.values,K.style=H.style,K.height=H.height,H.eachCell({includeEmpty:!0},(z,O)=&gt;{if(K.getCell(O).style=z.style,z._value.constructor.name===&quot;MergeValue&quot;){const I=this.getRow(z._row._number+D).getCell(O),C=z._value._master,j=this.getRow(C._row._number+D).getCell(C._column._number);I.merge(j)}})}else this._rows[V+W-1]=void 0;for(V=0;V&lt;D;V++){const K=this.getRow(p+V);K.style={},K.values=E[V]}this.workbook.definedNames.spliceRows(this.name,p,b,D)}eachRow(p,b){if(b||(b=p,p=void 0),p&amp;&amp;p.includeEmpty){const x=this._rows.length;for(let _=1;_&lt;=x;_++)b(this.getRow(_),_)}else this._rows.forEach(x=&gt;{x&amp;&amp;x.hasValues&amp;&amp;b(x,x.number)})}getSheetValues(){const p=[];return this._rows.forEach(b=&gt;{b&amp;&amp;(p[b.number]=b.values)}),p}findCell(p,b){const x=a.getAddress(p,b),_=this._rows[x.row-1];return _?_.findCell(x.col):void 0}getCell(p,b){const x=a.getAddress(p,b);return this.getRow(x.row).getCellEx(x)}mergeCells(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_)}mergeCellsWithoutStyle(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_,!0)}_mergeCellsInternal(p,b){s.each(this._merges,_=&gt;{if(_.intersects(p))throw new Error(&quot;Cannot merge already merged cells&quot;)});const x=this.getCell(p.top,p.left);for(let _=p.top;_&lt;=p.bottom;_++)for(let E=p.left;E&lt;=p.right;E++)(_&gt;p.top||E&gt;p.left)&amp;&amp;this.getCell(_,E).merge(x,b);this._merges[x.address]=p}_unMergeMaster(p){const b=this._merges[p.address];if(b){for(let x=b.top;x&lt;=b.bottom;x++)for(let _=b.left;_&lt;=b.right;_++)this.getCell(x,_).unmerge();delete this._merges[p.address]}}get hasMerges(){return s.some(this._merges,Boolean)}unMergeCells(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);for(let E=_.top;E&lt;=_.bottom;E++)for(let M=_.left;M&lt;=_.right;M++){const D=this.findCell(E,M);D&amp;&amp;(D.type===c.ValueType.Merge?this._unMergeMaster(D.master):this._merges[D.address]&amp;&amp;this._unMergeMaster(D))}}fillFormula(p,b,x){let _=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:&quot;shared&quot;;const E=a.decode(p),{top:M,left:D,bottom:W,right:L}=E,V=L-D+1,H=a.encodeAddress(M,D),K=_===&quot;shared&quot;;let z;z=typeof x==&quot;function&quot;?x:Array.isArray(x)?Array.isArray(x[0])?(I,C)=&gt;x[I-M][C-D]:(I,C)=&gt;x[(I-M)*V+(C-D)]:()=&gt;{};let O=!0;for(let I=M;I&lt;=W;I++)for(let C=D;C&lt;=L;C++)O?(this.getCell(I,C).value={shareType:_,formula:b,ref:p,result:z(I,C)},O=!1):this.getCell(I,C).value=K?{sharedFormula:H,result:z(I,C)}:z(I,C)}addImage(p,b){const x={type:&quot;image&quot;,imageId:p,range:b};this._media.push(new h(this,x))}getImages(){return this._media.filter(p=&gt;p.type===&quot;image&quot;)}addBackgroundImage(p){const b={type:&quot;background&quot;,imageId:p};this._media.push(new h(this,b))}getBackgroundImageId(){const p=this._media.find(b=&gt;b.type===&quot;background&quot;);return p&amp;&amp;p.imageId}protect(p,b){return new Promise(x=&gt;{this.sheetProtection={sheet:!0},b&amp;&amp;&quot;spinCount&quot;in b&amp;&amp;(b.spinCount=Number.isFinite(b.spinCount)?Math.round(Math.max(0,b.spinCount)):1e5),p&amp;&amp;(this.sheetProtection.algorithmName=&quot;SHA-512&quot;,this.sheetProtection.saltValue=v.randomBytes(16).toString(&quot;base64&quot;),this.sheetProtection.spinCount=b&amp;&amp;&quot;spinCount&quot;in b?b.spinCount:1e5,this.sheetProtection.hashValue=v.convertPasswordToHash(p,&quot;SHA512&quot;,this.sheetProtection.saltValue,this.sheetProtection.spinCount)),b&amp;&amp;(this.sheetProtection=Object.assign(this.sheetProtection,b),!p&amp;&amp;&quot;spinCount&quot;in b&amp;&amp;delete this.sheetProtection.spinCount),x()})}unprotect(){this.sheetProtection=null}addTable(p){const b=new f(this,p);return this.tables[p.name]=b,b}getTable(p){return this.tables[p]}removeTable(p){delete this.tables[p]}getTables(){return Object.values(this.tables)}addConditionalFormatting(p){this.conditionalFormattings.push(p)}removeConditionalFormatting(p){typeof p==&quot;number&quot;?this.conditionalFormattings.splice(p,1):this.conditionalFormattings=p instanceof Function?this.conditionalFormattings.filter(p):[]}get tabColor(){return console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor}set tabColor(p){console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor=p}get model(){const p={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};p.cols=i.toModel(this.columns);const b=p.rows=[],x=p.dimensions=new u;return this._rows.forEach(_=&gt;{const E=_&amp;&amp;_.model;E&amp;&amp;(x.expand(E.number,E.min,E.number,E.max),b.push(E))}),p.merges=[],s.each(this._merges,_=&gt;{p.merges.push(_.range)}),p}_parseRows(p){this._rows=[],p.rows.forEach(b=&gt;{const x=new l(this,b.number);this._rows[x.number-1]=x,x.model=b})}_parseMergeCells(p){s.each(p.mergeCells,b=&gt;{this.mergeCellsWithoutStyle(b)})}set model(p){this.name=p.name,this._columns=i.fromModel(this,p.cols),this._parseRows(p),this._parseMergeCells(p),this.dataValidations=new d(p.dataValidations),this.properties=p.properties,this.pageSetup=p.pageSetup,this.headerFooter=p.headerFooter,this.views=p.views,this.autoFilter=p.autoFilter,this._media=p.media.map(b=&gt;new h(this,b)),this.sheetProtection=p.sheetProtection,this.tables=p.tables.reduce((b,x)=&gt;{const _=new f;return _.model=x,b[x.name]=_,b},{}),this.conditionalFormattings=p.conditionalFormattings}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/copy-style&quot;:20,&quot;../utils/encryptor&quot;:21,&quot;../utils/under-dash&quot;:26,&quot;./column&quot;:4,&quot;./data-validations&quot;:5,&quot;./enums&quot;:7,&quot;./image&quot;:8,&quot;./range&quot;:10,&quot;./row&quot;:11,&quot;./table&quot;:12}],15:[function(t,n,o){t(&quot;core-js/modules/es.promise&quot;),t(&quot;core-js/modules/es.promise.finally&quot;),t(&quot;core-js/modules/es.object.assign&quot;),t(&quot;core-js/modules/es.object.keys&quot;),t(&quot;core-js/modules/es.object.values&quot;),t(&quot;core-js/modules/es.symbol&quot;),t(&quot;core-js/modules/es.symbol.async-iterator&quot;),t(&quot;core-js/modules/es.array.iterator&quot;),t(&quot;core-js/modules/es.array.includes&quot;),t(&quot;core-js/modules/es.array.find-index&quot;),t(&quot;core-js/modules/es.array.find&quot;),t(&quot;core-js/modules/es.string.from-code-point&quot;),t(&quot;core-js/modules/es.string.includes&quot;),t(&quot;core-js/modules/es.number.is-nan&quot;),t(&quot;regenerator-runtime/runtime&quot;);const s={Workbook:t(&quot;./doc/workbook&quot;)},a=t(&quot;./doc/enums&quot;);Object.keys(a).forEach(u=&gt;{s[u]=a[u]}),n.exports=s},{&quot;./doc/enums&quot;:7,&quot;./doc/workbook&quot;:13,&quot;core-js/modules/es.array.find&quot;:359,&quot;core-js/modules/es.array.find-index&quot;:358,&quot;core-js/modules/es.array.includes&quot;:360,&quot;core-js/modules/es.array.iterator&quot;:361,&quot;core-js/modules/es.number.is-nan&quot;:363,&quot;core-js/modules/es.object.assign&quot;:364,&quot;core-js/modules/es.object.keys&quot;:366,&quot;core-js/modules/es.object.values&quot;:367,&quot;core-js/modules/es.promise&quot;:372,&quot;core-js/modules/es.promise.finally&quot;:371,&quot;core-js/modules/es.string.from-code-point&quot;:376,&quot;core-js/modules/es.string.includes&quot;:377,&quot;core-js/modules/es.symbol&quot;:381,&quot;core-js/modules/es.symbol.async-iterator&quot;:378,&quot;regenerator-runtime/runtime&quot;:492}],16:[function(t,n,o){const s=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;);o.bufferToString=function(a){return typeof a==&quot;string&quot;?a:s?s.decode(a):a.toString()}},{}],17:[function(t,n,o){const s=typeof TextEncoder&gt;&quot;u&quot;?null:new TextEncoder(&quot;utf-8&quot;),{Buffer:a}=t(&quot;buffer&quot;);o.stringToBuffer=function(u){return typeof u!=&quot;string&quot;?u:s?a.from(s.encode(u).buffer):a.from(u)}},{buffer:220}],18:[function(t,n,o){const s=t(&quot;./under-dash&quot;),a=t(&quot;./col-cache&quot;);n.exports=class{constructor(u){this.template=u,this.sheets={}}addCell(u){this.addCellEx(a.decodeEx(u))}getCell(u){return this.findCellEx(a.decodeEx(u),!0)}findCell(u){return this.findCellEx(a.decodeEx(u),!1)}findCellAt(u,l,i){const c=this.sheets[u],h=c&amp;&amp;c[l];return h&amp;&amp;h[i]}addCellEx(u){if(u.top)for(let l=u.top;l&lt;=u.bottom;l++)for(let i=u.left;i&lt;=u.right;i++)this.getCellAt(u.sheetName,l,i);else this.findCellEx(u,!0)}getCellEx(u){return this.findCellEx(u,!0)}findCellEx(u,l){const i=this.findSheet(u,l),c=this.findSheetRow(i,u,l);return this.findRowCell(c,u,l)}getCellAt(u,l,i){const c=this.sheets[u]||(this.sheets[u]=[]),h=c[l]||(c[l]=[]);return h[i]||(h[i]={sheetName:u,address:a.n2l(i)+l,row:l,col:i})}removeCellEx(u){const l=this.findSheet(u);if(!l)return;const i=this.findSheetRow(l,u);i&amp;&amp;delete i[u.col]}forEachInSheet(u,l){const i=this.sheets[u];i&amp;&amp;i.forEach((c,h)=&gt;{c&amp;&amp;c.forEach((f,d)=&gt;{f&amp;&amp;l(f,h,d)})})}forEach(u){s.each(this.sheets,(l,i)=&gt;{this.forEachInSheet(i,u)})}map(u){const l=[];return this.forEach(i=&gt;{l.push(u(i))}),l}findSheet(u,l){const i=u.sheetName;return this.sheets[i]?this.sheets[i]:l?this.sheets[i]=[]:void 0}findSheetRow(u,l,i){const{row:c}=l;return u&amp;&amp;u[c]?u[c]:i?u[c]=[]:void 0}findRowCell(u,l,i){const{col:c}=l;return u&amp;&amp;u[c]?u[c]:i?u[c]=this.template?Object.assign(l,JSON.parse(JSON.stringify(this.template))):l:void 0}spliceRows(u,l,i,c){const h=this.sheets[u];if(h){const f=[];for(let d=0;d&lt;c;d++)f.push([]);h.splice(l,i,...f)}}spliceColumns(u,l,i,c){const h=this.sheets[u];if(h){const f=[];for(let d=0;d&lt;c;d++)f.push(null);s.each(h,d=&gt;{d.splice(l,i,...f)})}}}},{&quot;./col-cache&quot;:19,&quot;./under-dash&quot;:26}],19:[function(t,n,o){const s=/^[A-Z]+\d+$/,a={_dictionary:[&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;F&quot;,&quot;G&quot;,&quot;H&quot;,&quot;I&quot;,&quot;J&quot;,&quot;K&quot;,&quot;L&quot;,&quot;M&quot;,&quot;N&quot;,&quot;O&quot;,&quot;P&quot;,&quot;Q&quot;,&quot;R&quot;,&quot;S&quot;,&quot;T&quot;,&quot;U&quot;,&quot;V&quot;,&quot;W&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],_l2nFill:0,_l2n:{},_n2l:[],_level:u=&gt;u&lt;=26?1:u&lt;=676?2:3,_fill(u){let l,i,c,h,f,d=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(;d&lt;=26;)l=this._dictionary[d-1],this._n2l[d]=l,this._l2n[l]=d,d++;this._l2nFill=1}if(this._l2nFill&lt;2&amp;&amp;u&gt;=2){for(d=27;d&lt;=702;)i=d-27,c=i%26,h=Math.floor(i/26),l=this._dictionary[h]+this._dictionary[c],this._n2l[d]=l,this._l2n[l]=d,d++;this._l2nFill=2}if(this._l2nFill&lt;3&amp;&amp;u&gt;=3){for(d=703;d&lt;=16384;)i=d-703,c=i%26,h=Math.floor(i/26)%26,f=Math.floor(i/676),l=this._dictionary[f]+this._dictionary[h]+this._dictionary[c],this._n2l[d]=l,this._l2n[l]=d,d++;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(!s.test(u))throw new Error(&quot;Invalid Address: &quot;+u);return!0},decodeAddress(u){const l=u.length&lt;5&amp;&amp;this._hash[u];if(l)return l;let i=!1,c=&quot;&quot;,h=0,f=!1,d=&quot;&quot;,v=0;for(let p,b=0;b&lt;u.length;b++)if(p=u.charCodeAt(b),!f&amp;&amp;p&gt;=65&amp;&amp;p&lt;=90)i=!0,c+=u[b],h=26*h+p-64;else if(p&gt;=48&amp;&amp;p&lt;=57)f=!0,d+=u[b],v=10*v+p-48;else if(f&amp;&amp;i&amp;&amp;p!==36)break;if(i){if(h&gt;16384)throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+c)}else h=void 0;f||(v=void 0);const y={address:u=c+d,col:h,row:v,$col$row:`$${c}$${d}`};return h&lt;=100&amp;&amp;v&lt;=100&amp;&amp;(this._hash[u]=y,this._hash[y.$col$row]=y),y},getAddress(u,l){if(l){const i=this.n2l(l)+u;return this.decodeAddress(i)}return this.decodeAddress(u)},decode(u){const l=u.split(&quot;:&quot;);if(l.length===2){const i=this.decodeAddress(l[0]),c=this.decodeAddress(l[1]),h={top:Math.min(i.row,c.row),left:Math.min(i.col,c.col),bottom:Math.max(i.row,c.row),right:Math.max(i.col,c.col)};return h.tl=this.n2l(h.left)+h.top,h.br=this.n2l(h.right)+h.bottom,h.dimensions=`${h.tl}:${h.br}`,h}return this.decodeAddress(u)},decodeEx(u){const l=u.match(/(?:(?:(?:&#039;((?:[^&#039;]|&#039;&#039;)*)&#039;)|([^&#039;^ !]*))!)?(.*)/),i=l[1]||l[2],c=l[3],h=c.split(&quot;:&quot;);if(h.length&gt;1){let d=this.decodeAddress(h[0]),v=this.decodeAddress(h[1]);const y=Math.min(d.row,v.row),p=Math.min(d.col,v.col),b=Math.max(d.row,v.row),x=Math.max(d.col,v.col);return d=this.n2l(p)+y,v=this.n2l(x)+b,{top:y,left:p,bottom:b,right:x,sheetName:i,tl:{address:d,col:p,row:y,$col$row:`$${this.n2l(p)}$${y}`,sheetName:i},br:{address:v,col:x,row:b,$col$row:`$${this.n2l(x)}$${b}`,sheetName:i},dimensions:`${d}:${v}`}}if(c.startsWith(&quot;#&quot;))return i?{sheetName:i,error:c}:{error:c};const f=this.decodeAddress(c);return i?{sheetName:i,...f}:f},encodeAddress:(u,l)=&gt;a.n2l(l)+u,encode(){switch(arguments.length){case 2:return a.encodeAddress(arguments[0],arguments[1]);case 4:return`${a.encodeAddress(arguments[0],arguments[1])}:${a.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error(&quot;Can only encode with 2 or 4 arguments&quot;)}},inRange(u,l){const[i,c,,h,f]=u,[d,v]=l;return d&gt;=i&amp;&amp;d&lt;=h&amp;&amp;v&gt;=c&amp;&amp;v&lt;=f}};n.exports=a},{}],20:[function(t,n,o){const s=(u,l)=&gt;({...u,...l.reduce((i,c)=&gt;(u[c]&amp;&amp;(i[c]={...u[c]}),i),{})}),a=function(u,l,i){let c=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:[];u[i]&amp;&amp;(l[i]=s(u[i],c))};o.copyStyle=u=&gt;{if(!u)return u;if(l=u,Object.keys(l).length===0)return{};var l;const i={...u};return a(u,i,&quot;font&quot;,[&quot;color&quot;]),a(u,i,&quot;alignment&quot;),a(u,i,&quot;protection&quot;),u.border&amp;&amp;(a(u,i,&quot;border&quot;),a(u.border,i.border,&quot;top&quot;,[&quot;color&quot;]),a(u.border,i.border,&quot;left&quot;,[&quot;color&quot;]),a(u.border,i.border,&quot;bottom&quot;,[&quot;color&quot;]),a(u.border,i.border,&quot;right&quot;,[&quot;color&quot;]),a(u.border,i.border,&quot;diagonal&quot;,[&quot;color&quot;])),u.fill&amp;&amp;(a(u,i,&quot;fill&quot;,[&quot;fgColor&quot;,&quot;bgColor&quot;,&quot;center&quot;]),u.fill.stops&amp;&amp;(i.fill.stops=u.fill.stops.map(c=&gt;s(c,[&quot;color&quot;])))),i}},{}],21:[function(t,n,o){(function(s){(function(){const a=t(&quot;crypto&quot;),u={hash(l){const i=a.createHash(l);for(var c=arguments.length,h=new Array(c&gt;1?c-1:0),f=1;f&lt;c;f++)h[f-1]=arguments[f];return i.update(s.concat(h)),i.digest()},convertPasswordToHash(l,i,c,h){if(i=i.toLowerCase(),a.getHashes().indexOf(i)&lt;0)throw new Error(`Hash algorithm &#039;${i}&#039; not supported!`);const f=s.from(l,&quot;utf16le&quot;);let d=this.hash(i,s.from(c,&quot;base64&quot;),f);for(let v=0;v&lt;h;v++){const y=s.alloc(4);y.writeUInt32LE(v,0),d=this.hash(i,d,y)}return d.toString(&quot;base64&quot;)},randomBytes:l=&gt;a.randomBytes(l)};n.exports=u}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,crypto:390}],22:[function(t,n,o){const{SaxesParser:s}=t(&quot;saxes&quot;),{PassThrough:a}=t(&quot;readable-stream&quot;),{bufferToString:u}=t(&quot;./browser-buffer-decode&quot;);n.exports=async function*(l){l.pipe&amp;&amp;!l[Symbol.asyncIterator]&amp;&amp;(l=l.pipe(new a));const i=new s;let c;i.on(&quot;error&quot;,f=&gt;{c=f});let h=[];i.on(&quot;opentag&quot;,f=&gt;h.push({eventType:&quot;opentag&quot;,value:f})),i.on(&quot;text&quot;,f=&gt;h.push({eventType:&quot;text&quot;,value:f})),i.on(&quot;closetag&quot;,f=&gt;h.push({eventType:&quot;closetag&quot;,value:f}));for await(const f of l){if(i.write(u(f)),c)throw c;yield h,h=[]}}},{&quot;./browser-buffer-decode&quot;:16,&quot;readable-stream&quot;:491,saxes:496}],23:[function(t,n,o){const s=t(&quot;./col-cache&quot;),a=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,u=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;n.exports={slideFormula:function(l,i,c){const h=s.decode(i),f=s.decode(c);return l.replace(a,(d,v,y,p,b)=&gt;{if(b)return d;const x=u.exec(p);if(x){const _=x[1],E=x[2].toUpperCase(),M=x[3],D=x[4];if(E.length&gt;3||E.length===3&amp;&amp;E&gt;&quot;XFD&quot;)return d;let W=s.l2n(E),L=parseInt(D,10);return _||(W+=f.col-h.col),M||(L+=f.row-h.row),(v||&quot;&quot;)+(_||&quot;&quot;)+s.n2l(W)+(M||&quot;&quot;)+L}return d})}}},{&quot;./col-cache&quot;:19}],24:[function(t,n,o){(function(s,a){(function(){const u=t(&quot;readable-stream&quot;),l=t(&quot;./utils&quot;),i=t(&quot;./string-buf&quot;);class c{constructor(p,b){this._data=p,this._encoding=b}get length(){return this.toBuffer().length}copy(p,b,x,_){return this.toBuffer().copy(p,b,x,_)}toBuffer(){return this._buffer||(this._buffer=a.from(this._data,this._encoding)),this._buffer}}class h{constructor(p){this._data=p}get length(){return this._data.length}copy(p,b,x,_){return this._data._buf.copy(p,b,x,_)}toBuffer(){return this._data.toBuffer()}}class f{constructor(p){this._data=p}get length(){return this._data.length}copy(p,b,x,_){this._data.copy(p,b,x,_)}toBuffer(){return this._data}}class d{constructor(p){this.size=p,this.buffer=a.alloc(p),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&amp;&amp;this.iWrite===this.size)return this.buffer;const p=a.alloc(this.iWrite-this.iRead);return this.buffer.copy(p,0,this.iRead,this.iWrite),p}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(p){let b;return p===0?null:p===void 0||p&gt;=this.length?(b=this.toBuffer(),this.iRead=this.iWrite,b):(b=a.alloc(p),this.buffer.copy(b,0,this.iRead,p),this.iRead+=p,b)}write(p,b,x){const _=Math.min(x,this.size-this.iWrite);return p.copy(this.buffer,this.iWrite,b,b+_),this.iWrite+=_,_}}const v=function(y){y=y||{},this.bufSize=y.bufSize||1048576,this.buffers=[],this.batch=y.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};l.inherits(v,u.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return a.concat(this.buffers.map(y=&gt;y.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const p=this.buffers[this.buffers.length-1];if(!p.full)return p}const y=new d(this.bufSize);return this.buffers.push(y),y},async _pipe(y){await Promise.all(this.pipes.map((function(p){return new Promise(b=&gt;{p.write(y.toBuffer(),()=&gt;{b()})})})))},_writeToBuffers(y){let p=0;const b=y.length;for(;p&lt;b;)p+=this._getWritableBuffer().write(y,p,b-p)},async write(y,p,b){let x;if(p instanceof Function&amp;&amp;(b=p,p=&quot;utf8&quot;),b=b||l.nop,y instanceof i)x=new h(y);else if(y instanceof a)x=new f(y);else{if(!(typeof y==&quot;string&quot;||y instanceof String||y instanceof ArrayBuffer))throw new Error(&quot;Chunk must be one of type String, Buffer or StringBuf.&quot;);x=new c(y,p)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(x);!this.corked&amp;&amp;this.buffers.length&gt;1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(x),s.nextTick(b)):(await this._pipe(x),b());else this.paused||this.emit(&quot;data&quot;,x.toBuffer()),this._writeToBuffers(x),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(y,p,b){const x=_=&gt;{_?b(_):(this._flush(),this.pipes.forEach(E=&gt;{E.end()}),this.emit(&quot;finish&quot;))};y?this.write(y,p,x):x()},read(y){let p;if(y){for(p=[];y&amp;&amp;this.buffers.length&amp;&amp;!this.buffers[0].eod;){const b=this.buffers[0],x=b.read(y);y-=x.length,p.push(x),b.eod&amp;&amp;b.full&amp;&amp;this.buffers.shift()}return a.concat(p)}return p=this.buffers.map(b=&gt;b.toBuffer()).filter(Boolean),this.buffers=[],a.concat(p)},setEncoding(y){this.encoding=y},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(y){this.pipes.push(y),!this.paused&amp;&amp;this.buffers.length&amp;&amp;this.end()},unpipe(y){this.pipes=this.pipes.filter(p=&gt;p!==y)},unshift(){throw new Error(&quot;Not Implemented&quot;)},wrap(){throw new Error(&quot;Not Implemented&quot;)}}),n.exports=v}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;./string-buf&quot;:25,&quot;./utils&quot;:27,_process:467,buffer:220,&quot;readable-stream&quot;:491}],25:[function(t,n,o){(function(s){(function(){n.exports=class{constructor(a){this._buf=s.alloc(a&amp;&amp;a.size||16384),this._encoding=a&amp;&amp;a.encoding||&quot;utf8&quot;,this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=s.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(a){a=a||0,this._buffer=void 0,this._inPos=a}_grow(a){let u=2*this._buf.length;for(;u&lt;a;)u*=2;const l=s.alloc(u);this._buf.copy(l,0),this._buf=l}addText(a){this._buffer=void 0;let u=this._inPos+this._buf.write(a,this._inPos,this._encoding);for(;u&gt;=this._buf.length-4;)this._grow(this._inPos+a.length),u=this._inPos+this._buf.write(a,this._inPos,this._encoding);this._inPos=u}addStringBuf(a){a.length&amp;&amp;(this._buffer=void 0,this.length+a.length&gt;this.capacity&amp;&amp;this._grow(this.length+a.length),a._buf.copy(this._buf,this._inPos,0,a.length),this._inPos+=a.length)}}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],26:[function(t,n,o){const{toString:s}=Object.prototype,a=/[&quot;&amp;&lt;&gt;]/,u={each:function(l,i){l&amp;&amp;(Array.isArray(l)?l.forEach(i):Object.keys(l).forEach(c=&gt;{i(l[c],c)}))},some:function(l,i){return!!l&amp;&amp;(Array.isArray(l)?l.some(i):Object.keys(l).some(c=&gt;i(l[c],c)))},every:function(l,i){return!l||(Array.isArray(l)?l.every(i):Object.keys(l).every(c=&gt;i(l[c],c)))},map:function(l,i){return l?Array.isArray(l)?l.map(i):Object.keys(l).map(c=&gt;i(l[c],c)):[]},keyBy:(l,i)=&gt;l.reduce((c,h)=&gt;(c[h[i]]=h,c),{}),isEqual:function(l,i){const c=typeof l,h=typeof i,f=Array.isArray(l),d=Array.isArray(i);let v;if(c!==h)return!1;switch(typeof l){case&quot;object&quot;:if(f||d)return!(!f||!d)&amp;&amp;l.length===i.length&amp;&amp;l.every((y,p)=&gt;{const b=i[p];return u.isEqual(y,b)});if(l===null||i===null)return l===i;if(v=Object.keys(l),Object.keys(i).length!==v.length)return!1;for(const y of v)if(!i.hasOwnProperty(y))return!1;return u.every(l,(y,p)=&gt;{const b=i[p];return u.isEqual(y,b)});default:return l===i}},escapeHtml(l){const i=a.exec(l);if(!i)return l;let c=&quot;&quot;,h=&quot;&quot;,f=0,d=i.index;for(;d&lt;l.length;d++){switch(l.charAt(d)){case&#039;&quot;&#039;:h=&quot;&amp;quot;&quot;;break;case&quot;&amp;&quot;:h=&quot;&amp;amp;&quot;;break;case&quot;&#039;&quot;:h=&quot;&amp;apos;&quot;;break;case&quot;&lt;&quot;:h=&quot;&amp;lt;&quot;;break;case&quot;&gt;&quot;:h=&quot;&amp;gt;&quot;;break;default:continue}f!==d&amp;&amp;(c+=l.substring(f,d)),f=d+1,c+=h}return f!==d?c+l.substring(f,d):c},strcmp:(l,i)=&gt;l&lt;i?-1:l&gt;i?1:0,isUndefined:l=&gt;s.call(l)===&quot;[object Undefined]&quot;,isObject:l=&gt;s.call(l)===&quot;[object Object]&quot;,deepMerge(){const l=arguments[0]||{},{length:i}=arguments;let c,h,f;function d(v,y){c=l[y],f=Array.isArray(v),u.isObject(v)||f?(f?(f=!1,h=c&amp;&amp;Array.isArray(c)?c:[]):h=c&amp;&amp;u.isObject(c)?c:{},l[y]=u.deepMerge(h,v)):u.isUndefined(v)||(l[y]=v)}for(let v=0;v&lt;i;v++)u.each(arguments[v],d);return l}};n.exports=u},{}],27:[function(t,n,o){(function(s,a){(function(){const u=t(&quot;fs&quot;),l=/[&lt;&gt;&amp;&#039;&quot;\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,i={nop(){},promiseImmediate:c=&gt;new Promise(h=&gt;{s.setImmediate?a(()=&gt;{h(c)}):setTimeout(()=&gt;{h(c)},1)}),inherits:function(c,h,f,d){c.super_=h,d||(d=f,f=null),f&amp;&amp;Object.keys(f).forEach(y=&gt;{Object.defineProperty(c,y,Object.getOwnPropertyDescriptor(f,y))});const v={constructor:{value:c,enumerable:!1,writable:!1,configurable:!0}};d&amp;&amp;Object.keys(d).forEach(y=&gt;{v[y]=Object.getOwnPropertyDescriptor(d,y)}),c.prototype=Object.create(h.prototype,v)},dateToExcel:(c,h)=&gt;25569+c.getTime()/864e5-(h?1462:0),excelToDate(c,h){const f=Math.round(24*(c-25569+(h?1462:0))*3600*1e3);return new Date(f)},parsePath(c){const h=c.lastIndexOf(&quot;/&quot;);return{path:c.substring(0,h),name:c.substring(h+1)}},getRelsPath(c){const h=i.parsePath(c);return`${h.path}/_rels/${h.name}.rels`},xmlEncode(c){const h=l.exec(c);if(!h)return c;let f=&quot;&quot;,d=&quot;&quot;,v=0,y=h.index;for(;y&lt;c.length;y++){const p=c.charCodeAt(y);switch(p){case 34:d=&quot;&amp;quot;&quot;;break;case 38:d=&quot;&amp;amp;&quot;;break;case 39:d=&quot;&amp;apos;&quot;;break;case 60:d=&quot;&amp;lt;&quot;;break;case 62:d=&quot;&amp;gt;&quot;;break;case 127:d=&quot;&quot;;break;default:if(p&lt;=31&amp;&amp;(p&lt;=8||p&gt;=11&amp;&amp;p!==13)){d=&quot;&quot;;break}continue}v!==y&amp;&amp;(f+=c.substring(v,y)),v=y+1,d&amp;&amp;(f+=d)}return v!==y?f+c.substring(v,y):f},xmlDecode:c=&gt;c.replace(/&amp;([a-z]*);/g,h=&gt;{switch(h){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 h}}),validInt(c){const h=parseInt(c,10);return Number.isNaN(h)?0:h},isDateFmt(c){return c?(c=(c=c.replace(/\[[^\]]*]/g,&quot;&quot;)).replace(/&quot;[^&quot;]*&quot;/g,&quot;&quot;)).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:c=&gt;new Promise(h=&gt;{u.access(c,u.constants.F_OK,f=&gt;{h(!f)})})},toIsoDateString:c=&gt;c.toIsoString().subsstr(0,10),parseBoolean:c=&gt;c===!0||c===&quot;true&quot;||c===1||c===&quot;1&quot;};n.exports=i}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{fs:216,timers:523}],28:[function(t,n,o){const s=t(&quot;./under-dash&quot;),a=t(&quot;./utils&quot;);function u(c,h,f){c.push(` ${h}=&quot;${a.xmlEncode(f.toString())}&quot;`)}function l(c,h){if(h){const f=[];s.each(h,(d,v)=&gt;{d!==void 0&amp;&amp;u(f,v,d)}),c.push(f.join(&quot;&quot;))}}class i{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(h){const f=this._xml;f.push(&quot;&lt;?xml&quot;),l(f,h),f.push(`?&gt;
`)}openNode(h,f){const d=this.tos,v=this._xml;d&amp;&amp;this.open&amp;&amp;v.push(&quot;&gt;&quot;),this._stack.push(h),v.push(&quot;&lt;&quot;),v.push(h),l(v,f),this.leaf=!0,this.open=!0}addAttribute(h,f){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);f!==void 0&amp;&amp;u(this._xml,h,f)}addAttributes(h){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);l(this._xml,h)}writeText(h){const f=this._xml;this.open&amp;&amp;(f.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,f.push(a.xmlEncode(h.toString()))}writeXml(h){this.open&amp;&amp;(this._xml.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,this._xml.push(h)}closeNode(){const h=this._stack.pop(),f=this._xml;this.leaf?f.push(&quot;/&gt;&quot;):(f.push(&quot;&lt;/&quot;),f.push(h),f.push(&quot;&gt;&quot;)),this.open=!1,this.leaf=!1}leafNode(h,f,d){this.openNode(h,f),d!==void 0&amp;&amp;this.writeText(d),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 h=this._rollbacks.pop();this._xml.length&gt;h.xml&amp;&amp;this._xml.splice(h.xml,this._xml.length-h.xml),this._stack.length&gt;h.stack&amp;&amp;this._stack.splice(h.stack,this._stack.length-h.stack),this.leaf=h.leaf,this.open=h.open}get xml(){return this.closeAll(),this._xml.join(&quot;&quot;)}}i.StdDocAttributes={version:&quot;1.0&quot;,encoding:&quot;UTF-8&quot;,standalone:&quot;yes&quot;},n.exports=i},{&quot;./under-dash&quot;:26,&quot;./utils&quot;:27}],29:[function(t,n,o){(function(s){(function(){const a=t(&quot;events&quot;),u=t(&quot;jszip&quot;),l=t(&quot;./stream-buf&quot;),{stringToBuffer:i}=t(&quot;./browser-buffer-encode&quot;);class c extends a.EventEmitter{constructor(f){super(),this.options=Object.assign({type:&quot;nodebuffer&quot;,compression:&quot;DEFLATE&quot;},f),this.zip=new u,this.stream=new l}append(f,d){d.hasOwnProperty(&quot;base64&quot;)&amp;&amp;d.base64?this.zip.file(d.name,f,{base64:!0}):(s.browser&amp;&amp;typeof f==&quot;string&quot;&amp;&amp;(f=i(f)),this.zip.file(d.name,f))}async finalize(){const f=await this.zip.generateAsync(this.options);this.stream.end(f),this.emit(&quot;finish&quot;)}read(f){return this.stream.read(f)}setEncoding(f){return this.stream.setEncoding(f)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(f,d){return this.stream.pipe(f,d)}unpipe(f){return this.stream.unpipe(f)}unshift(f){return this.stream.unshift(f)}wrap(f){return this.stream.wrap(f)}}n.exports={ZipWriter:c}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./browser-buffer-encode&quot;:17,&quot;./stream-buf&quot;:24,_process:467,events:422,jszip:441}],30:[function(t,n,o){n.exports={0:{f:&quot;General&quot;},1:{f:&quot;0&quot;},2:{f:&quot;0.00&quot;},3:{f:&quot;#,##0&quot;},4:{f:&quot;#,##0.00&quot;},9:{f:&quot;0%&quot;},10:{f:&quot;0.00%&quot;},11:{f:&quot;0.00E+00&quot;},12:{f:&quot;# ?/?&quot;},13:{f:&quot;# ??/??&quot;},14:{f:&quot;mm-dd-yy&quot;},15:{f:&quot;d-mmm-yy&quot;},16:{f:&quot;d-mmm&quot;},17:{f:&quot;mmm-yy&quot;},18:{f:&quot;h:mm AM/PM&quot;},19:{f:&quot;h:mm:ss AM/PM&quot;},20:{f:&quot;h:mm&quot;},21:{f:&quot;h:mm:ss&quot;},22:{f:&#039;m/d/yy &quot;h&quot;:mm&#039;},27:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},28:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},29:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},30:{&quot;zh-tw&quot;:&quot;m/d/yy &quot;,&quot;zh-cn&quot;:&quot;m-d-yy&quot;,&quot;ja-jp&quot;:&quot;m/d/yy&quot;,&quot;ko-kr&quot;:&quot;mm-dd-yy&quot;},31:{&quot;zh-tw&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&#039;yyyy&quot;년&quot; mm&quot;월&quot; dd&quot;일&quot;&#039;},32:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot;&#039;},33:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot; ss&quot;초&quot;&#039;},34:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},35:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},36:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},37:{f:&quot;#,##0 ;(#,##0)&quot;},38:{f:&quot;#,##0 ;[Red](#,##0)&quot;},39:{f:&quot;#,##0.00 ;(#,##0.00)&quot;},40:{f:&quot;#,##0.00 ;[Red](#,##0.00)&quot;},45:{f:&quot;mm:ss&quot;},46:{f:&quot;[h]:mm:ss&quot;},47:{f:&quot;mmss.0&quot;},48:{f:&quot;##0.0E+0&quot;},49:{f:&quot;@&quot;},50:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},51:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},52:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},53:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},54:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},55:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},56:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},57:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},58:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},59:{&quot;th-th&quot;:&quot;t0&quot;},60:{&quot;th-th&quot;:&quot;t0.00&quot;},61:{&quot;th-th&quot;:&quot;t#,##0&quot;},62:{&quot;th-th&quot;:&quot;t#,##0.00&quot;},67:{&quot;th-th&quot;:&quot;t0%&quot;},68:{&quot;th-th&quot;:&quot;t0.00%&quot;},69:{&quot;th-th&quot;:&quot;t# ?/?&quot;},70:{&quot;th-th&quot;:&quot;t# ??/??&quot;},81:{&quot;th-th&quot;:&quot;d/m/bb&quot;}}},{}],31:[function(t,n,o){n.exports={OfficeDocument:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument&quot;,Worksheet:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet&quot;,CalcChain:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain&quot;,SharedStrings:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings&quot;,Styles:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles&quot;,Theme:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme&quot;,Hyperlink:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink&quot;,Image:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,CoreProperties:&quot;http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties&quot;,ExtenderProperties:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties&quot;,Comments:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments&quot;,VmlDrawing:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing&quot;,Table:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/table&quot;}},{}],32:[function(t,n,o){const s=t(&quot;../../utils/parse-sax&quot;),a=t(&quot;../../utils/xml-stream&quot;);class u{prepare(){}render(){}parseOpen(i){}parseText(i){}parseClose(i){}reconcile(i,c){}reset(){this.model=null,this.map&amp;&amp;Object.values(this.map).forEach(i=&gt;{i instanceof u?i.reset():i.xform&amp;&amp;i.xform.reset()})}mergeModel(i){this.model=Object.assign(this.model||{},i)}async parse(i){for await(const c of i)for(const{eventType:h,value:f}of c)if(h===&quot;opentag&quot;)this.parseOpen(f);else if(h===&quot;text&quot;)this.parseText(f);else if(h===&quot;closetag&quot;&amp;&amp;!this.parseClose(f.name))return this.model;return this.model}async parseStream(i){return this.parse(s(i))}get xml(){return this.toXml(this.model)}toXml(i){const c=new a;return this.render(c,i),c.xml}static toAttribute(i,c){let h=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(i===void 0){if(h)return c}else if(h||i!==c)return i.toString()}static toStringAttribute(i,c){let h=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(i,c,h)}static toStringValue(i,c){return i===void 0?c:i}static toBoolAttribute(i,c){let h=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(i===void 0){if(h)return c}else if(h||i!==c)return i?&quot;1&quot;:&quot;0&quot;}static toBoolValue(i,c){return i===void 0?c:i===&quot;1&quot;}static toIntAttribute(i,c){let h=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(i,c,h)}static toIntValue(i,c){return i===void 0?c:parseInt(i,10)}static toFloatAttribute(i,c){let h=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(i,c,h)}static toFloatValue(i,c){return i===void 0?c:parseFloat(i)}}n.exports=u},{&quot;../../utils/parse-sax&quot;:22,&quot;../../utils/xml-stream&quot;:28}],33:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/col-cache&quot;);function u(i){try{return a.decodeEx(i),!0}catch{return!1}}function l(i){const c=[];let h=!1,f=&quot;&quot;;return i.split(&quot;,&quot;).forEach(d=&gt;{if(!d)return;const v=(d.match(/&#039;/g)||[]).length;if(!v)return void(h?f+=d+&quot;,&quot;:u(d)&amp;&amp;c.push(d));const y=v%2==0;!h&amp;&amp;y&amp;&amp;u(d)?c.push(d):h&amp;&amp;!y?(h=!1,u(f+d)&amp;&amp;c.push(f+d),f=&quot;&quot;):(h=!0,f+=d+&quot;,&quot;)}),c}n.exports=class extends s{render(i,c){i.openNode(&quot;definedName&quot;,{name:c.name,localSheetId:c.localSheetId}),i.writeText(c.ranges.join(&quot;,&quot;)),i.closeNode()}parseOpen(i){return i.name===&quot;definedName&quot;?(this._parsedName=i.attributes.name,this._parsedLocalSheetId=i.attributes.localSheetId,this._parsedText=[],!0):!1}parseText(i){this._parsedText.push(i)}parseClose(){return this.model={name:this._parsedName,ranges:l(this._parsedText.join(&quot;&quot;))},this._parsedLocalSheetId!==void 0&amp;&amp;(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],34:[function(t,n,o){const s=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{render(u,l){u.leafNode(&quot;sheet&quot;,{sheetId:l.id,name:l.name,state:l.state,&quot;r:id&quot;:l.rId})}parseOpen(u){return u.name===&quot;sheet&quot;&amp;&amp;(this.model={name:s.xmlDecode(u.attributes.name),id:parseInt(u.attributes.sheetId,10),state:u.attributes.state,rId:u.attributes[&quot;r:id&quot;]},!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],35:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){a.leafNode(&quot;calcPr&quot;,{calcId:171027,fullCalcOnLoad:u.fullCalcOnLoad?1:void 0})}parseOpen(a){return a.name===&quot;calcPr&quot;&amp;&amp;(this.model={},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],36:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){a.leafNode(&quot;workbookPr&quot;,{date1904:u.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(a){return a.name===&quot;workbookPr&quot;&amp;&amp;(this.model={date1904:a.attributes.date1904===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],37:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){const l={xWindow:u.x||0,yWindow:u.y||0,windowWidth:u.width||12e3,windowHeight:u.height||24e3,firstSheet:u.firstSheet,activeTab:u.activeTab};u.visibility&amp;&amp;u.visibility!==&quot;visible&quot;&amp;&amp;(l.visibility=u.visibility),a.leafNode(&quot;workbookView&quot;,l)}parseOpen(a){if(a.name===&quot;workbookView&quot;){const u=this.model={},l=function(c,h,f){const d=h!==void 0?u[c]=h:f;d!==void 0&amp;&amp;(u[c]=d)},i=function(c,h,f){const d=h!==void 0?u[c]=parseInt(h,10):f;d!==void 0&amp;&amp;(u[c]=d)};return i(&quot;x&quot;,a.attributes.xWindow,0),i(&quot;y&quot;,a.attributes.yWindow,0),i(&quot;width&quot;,a.attributes.windowWidth,25e3),i(&quot;height&quot;,a.attributes.windowHeight,1e4),l(&quot;visibility&quot;,a.attributes.visibility,&quot;visible&quot;),i(&quot;activeTab&quot;,a.attributes.activeTab,void 0),i(&quot;firstSheet&quot;,a.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],38:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../base-xform&quot;),i=t(&quot;../static-xform&quot;),c=t(&quot;../list-xform&quot;),h=t(&quot;./defined-name-xform&quot;),f=t(&quot;./sheet-xform&quot;),d=t(&quot;./workbook-view-xform&quot;),v=t(&quot;./workbook-properties-xform&quot;),y=t(&quot;./workbook-calc-properties-xform&quot;);class p extends l{constructor(){super(),this.map={fileVersion:p.STATIC_XFORMS.fileVersion,workbookPr:new v,bookViews:new c({tag:&quot;bookViews&quot;,count:!1,childXform:new d}),sheets:new c({tag:&quot;sheets&quot;,count:!1,childXform:new f}),definedNames:new c({tag:&quot;definedNames&quot;,count:!1,childXform:new h}),calcPr:new y}}prepare(x){x.sheets=x.worksheets;const _=[];let E=0;x.sheets.forEach(M=&gt;{if(M.pageSetup&amp;&amp;M.pageSetup.printArea&amp;&amp;M.pageSetup.printArea.split(&quot;&amp;&amp;&quot;).forEach(D=&gt;{const W=D.split(&quot;:&quot;),L={name:&quot;_xlnm.Print_Area&quot;,ranges:[`&#039;${M.name}&#039;!$${W[0]}:$${W[1]}`],localSheetId:E};_.push(L)}),M.pageSetup&amp;&amp;(M.pageSetup.printTitlesRow||M.pageSetup.printTitlesColumn)){const D=[];if(M.pageSetup.printTitlesColumn){const L=M.pageSetup.printTitlesColumn.split(&quot;:&quot;);D.push(`&#039;${M.name}&#039;!$${L[0]}:$${L[1]}`)}if(M.pageSetup.printTitlesRow){const L=M.pageSetup.printTitlesRow.split(&quot;:&quot;);D.push(`&#039;${M.name}&#039;!$${L[0]}:$${L[1]}`)}const W={name:&quot;_xlnm.Print_Titles&quot;,ranges:D,localSheetId:E};_.push(W)}E++}),_.length&amp;&amp;(x.definedNames=x.definedNames.concat(_)),(x.media||[]).forEach((M,D)=&gt;{M.name=M.type+(D+1)})}render(x,_){x.openXml(u.StdDocAttributes),x.openNode(&quot;workbook&quot;,p.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(x),this.map.workbookPr.render(x,_.properties),this.map.bookViews.render(x,_.views),this.map.sheets.render(x,_.sheets),this.map.definedNames.render(x,_.definedNames),this.map.calcPr.render(x,_.calcProperties),x.closeNode()}parseOpen(x){return this.parser?(this.parser.parseOpen(x),!0):(x.name===&quot;workbook&quot;||(this.parser=this.map[x.name],this.parser&amp;&amp;this.parser.parseOpen(x)),!0)}parseText(x){this.parser&amp;&amp;this.parser.parseText(x)}parseClose(x){return this.parser?(this.parser.parseClose(x)||(this.parser=void 0),!0):x===&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(x){const _=(x.workbookRels||[]).reduce((L,V)=&gt;(L[V.Id]=V,L),{}),E=[];let M,D=0;(x.sheets||[]).forEach(L=&gt;{const V=_[L.rId];V&amp;&amp;(M=x.worksheetHash[&quot;xl/&quot;+V.Target.replace(/^(\s|\/xl\/)+/,&quot;&quot;)],M&amp;&amp;(M.name=L.name,M.id=L.id,M.state=L.state,E[D++]=M))});const W=[];s.each(x.definedNames,L=&gt;{if(L.name===&quot;_xlnm.Print_Area&quot;){if(M=E[L.localSheetId],M){M.pageSetup||(M.pageSetup={});const V=a.decodeEx(L.ranges[0]);M.pageSetup.printArea=M.pageSetup.printArea?`${M.pageSetup.printArea}&amp;&amp;${V.dimensions}`:V.dimensions}}else if(L.name===&quot;_xlnm.Print_Titles&quot;){if(M=E[L.localSheetId],M){M.pageSetup||(M.pageSetup={});const V=L.ranges.join(&quot;,&quot;),H=/\$/g,K=/\$\d+:\$\d+/,z=V.match(K);if(z&amp;&amp;z.length){const C=z[0];M.pageSetup.printTitlesRow=C.replace(H,&quot;&quot;)}const O=/\$[A-Z]+:\$[A-Z]+/,I=V.match(O);if(I&amp;&amp;I.length){const C=I[0];M.pageSetup.printTitlesColumn=C.replace(H,&quot;&quot;)}}}else W.push(L)}),x.definedNames=W,x.media.forEach((L,V)=&gt;{L.index=V})}}p.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;},p.STATIC_XFORMS={fileVersion:new i({tag:&quot;fileVersion&quot;,$:{appName:&quot;xl&quot;,lastEdited:5,lowestEdited:5,rupBuild:9303}})},n.exports=p},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./defined-name-xform&quot;:33,&quot;./sheet-xform&quot;:34,&quot;./workbook-calc-properties-xform&quot;:35,&quot;./workbook-properties-xform&quot;:36,&quot;./workbook-view-xform&quot;:37}],39:[function(t,n,o){const s=t(&quot;../strings/rich-text-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=n.exports=function(i){this.model=i};a.inherits(l,u,{get tag(){return&quot;r&quot;},get richTextXform(){return this._richTextXform||(this._richTextXform=new s),this._richTextXform},render(i,c){c=c||this.model,i.openNode(&quot;comment&quot;,{ref:c.ref,authorId:0}),i.openNode(&quot;text&quot;),c&amp;&amp;c.note&amp;&amp;c.note.texts&amp;&amp;c.note.texts.forEach(h=&gt;{this.richTextXform.render(i,h)}),i.closeNode(),i.closeNode()},parseOpen(i){if(this.parser)return this.parser.parseOpen(i),!0;switch(i.name){case&quot;comment&quot;:return this.model={type:&quot;note&quot;,note:{texts:[]},...i.attributes},!0;case&quot;r&quot;:return this.parser=this.richTextXform,this.parser.parseOpen(i),!0;default:return!1}},parseText(i){this.parser&amp;&amp;this.parser.parseText(i)},parseClose(i){switch(i){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(i),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],40:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;./comment-xform&quot;),i=n.exports=function(){this.map={comment:new l}};a.inherits(i,u,{COMMENTS_ATTRIBUTES:{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;}},{render(c,h){h=h||this.model,c.openXml(s.StdDocAttributes),c.openNode(&quot;comments&quot;,i.COMMENTS_ATTRIBUTES),c.openNode(&quot;authors&quot;),c.leafNode(&quot;author&quot;,null,&quot;Author&quot;),c.closeNode(),c.openNode(&quot;commentList&quot;),h.comments.forEach(f=&gt;{this.map.comment.render(c,f)}),c.closeNode(),c.closeNode()},parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;commentList&quot;:return this.model={comments:[]},!0;case&quot;comment&quot;:return this.parser=this.map.comment,this.parser.parseOpen(c),!0;default:return!1}},parseText(c){this.parser&amp;&amp;this.parser.parseText(c)},parseClose(c){switch(c){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(c),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./comment-xform&quot;:39}],41:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u,l){(u===l[2]||this.tag===&quot;x:SizeWithCells&quot;&amp;&amp;u===l[1])&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return a.name===this.tag?(this.model={},this.model[this.tag]=!0,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],42:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],43:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;x:Anchor&quot;}getAnchorRect(a){const u=Math.floor(a.left),l=Math.floor(68*(a.left-u)),i=Math.floor(a.top),c=Math.floor(18*(a.top-i)),h=Math.floor(a.right),f=Math.floor(68*(a.right-h)),d=Math.floor(a.bottom);return[u,l,i,c,h,f,d,Math.floor(18*(a.bottom-d))]}getDefaultRect(a){const u=a.col,l=Math.max(a.row-2,0);return[u,6,l,14,u+2,2,l+4,16]}render(a,u){const l=u.anchor?this.getAnchorRect(u.anchor):this.getDefaultRect(u.refAddress);a.leafNode(&quot;x:Anchor&quot;,null,l.join(&quot;, &quot;))}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],44:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./vml-anchor-xform&quot;),u=t(&quot;./style/vml-protection-xform&quot;),l=t(&quot;./style/vml-position-xform&quot;),i=[&quot;twoCells&quot;,&quot;oneCells&quot;,&quot;absolute&quot;];n.exports=class extends s{constructor(){super(),this.map={&quot;x:Anchor&quot;:new a,&quot;x:Locked&quot;:new u({tag:&quot;x:Locked&quot;}),&quot;x:LockText&quot;:new u({tag:&quot;x:LockText&quot;}),&quot;x:SizeWithCells&quot;:new l({tag:&quot;x:SizeWithCells&quot;}),&quot;x:MoveWithCells&quot;:new l({tag:&quot;x:MoveWithCells&quot;})}}get tag(){return&quot;x:ClientData&quot;}render(c,h){const{protection:f,editAs:d}=h.note;c.openNode(this.tag,{ObjectType:&quot;Note&quot;}),this.map[&quot;x:MoveWithCells&quot;].render(c,d,i),this.map[&quot;x:SizeWithCells&quot;].render(c,d,i),this.map[&quot;x:Anchor&quot;].render(c,h),this.map[&quot;x:Locked&quot;].render(c,f.locked),c.leafNode(&quot;x:AutoFill&quot;,null,&quot;False&quot;),this.map[&quot;x:LockText&quot;].render(c,f.lockText),c.leafNode(&quot;x:Row&quot;,null,h.refAddress.row-1),c.leafNode(&quot;x:Column&quot;,null,h.refAddress.col-1),c.closeNode()}parseOpen(c){return c.name===this.tag?(this.reset(),this.model={anchor:[],protection:{},editAs:&quot;&quot;}):(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){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===this.tag?(this.normalizeModel(),!1):!0}normalizeModel(){const c=Object.assign({},this.map[&quot;x:MoveWithCells&quot;].model,this.map[&quot;x:SizeWithCells&quot;].model),h=Object.keys(c).length;this.model.editAs=i[h],this.model.anchor=this.map[&quot;x:Anchor&quot;].text,this.model.protection.locked=this.map[&quot;x:Locked&quot;].text,this.model.protection.lockText=this.map[&quot;x:LockText&quot;].text}}},{&quot;../base-xform&quot;:32,&quot;./style/vml-position-xform&quot;:41,&quot;./style/vml-protection-xform&quot;:42,&quot;./vml-anchor-xform&quot;:43}],45:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./vml-shape-xform&quot;);class l extends a{constructor(){super(),this.map={&quot;v:shape&quot;:new u}}get tag(){return&quot;xml&quot;}render(c,h){c.openXml(s.StdDocAttributes),c.openNode(this.tag,l.DRAWING_ATTRIBUTES),c.openNode(&quot;o:shapelayout&quot;,{&quot;v:ext&quot;:&quot;edit&quot;}),c.leafNode(&quot;o:idmap&quot;,{&quot;v:ext&quot;:&quot;edit&quot;,data:1}),c.closeNode(),c.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;}),c.leafNode(&quot;v:stroke&quot;,{joinstyle:&quot;miter&quot;}),c.leafNode(&quot;v:path&quot;,{gradientshapeok:&quot;t&quot;,&quot;o:connecttype&quot;:&quot;rect&quot;}),c.closeNode(),h.comments.forEach((f,d)=&gt;{this.map[&quot;v:shape&quot;].render(c,f,d)}),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?(this.reset(),this.model={comments:[]}):(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){return this.parser?(this.parser.parseClose(c)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):c!==this.tag}reconcile(c,h){c.anchors.forEach(f=&gt;{f.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(f,h):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(f,h)})}}l.DRAWING_ATTRIBUTES={&quot;xmlns:v&quot;:&quot;urn:schemas-microsoft-com:vml&quot;,&quot;xmlns:o&quot;:&quot;urn:schemas-microsoft-com:office:office&quot;,&quot;xmlns:x&quot;:&quot;urn:schemas-microsoft-com:office:excel&quot;},n.exports=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./vml-shape-xform&quot;:46}],46:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./vml-textbox-xform&quot;),u=t(&quot;./vml-client-data-xform&quot;);class l extends s{constructor(){super(),this.map={&quot;v:textbox&quot;:new a,&quot;x:ClientData&quot;:new u}}get tag(){return&quot;v:shape&quot;}render(c,h,f){c.openNode(&quot;v:shape&quot;,l.V_SHAPE_ATTRIBUTES(h,f)),c.leafNode(&quot;v:fill&quot;,{color2:&quot;infoBackground [80]&quot;}),c.leafNode(&quot;v:shadow&quot;,{color:&quot;none [81]&quot;,obscured:&quot;t&quot;}),c.leafNode(&quot;v:path&quot;,{&quot;o:connecttype&quot;:&quot;none&quot;}),this.map[&quot;v:textbox&quot;].render(c,h),this.map[&quot;x:ClientData&quot;].render(c,h),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?(this.reset(),this.model={margins:{insetmode:c.attributes[&quot;o:insetmode&quot;]},anchor:&quot;&quot;,editAs:&quot;&quot;,protection:{}}):(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){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===this.tag?(this.model.margins.inset=this.map[&quot;v:textbox&quot;].model&amp;&amp;this.map[&quot;v:textbox&quot;].model.inset,this.model.protection=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.protection,this.model.anchor=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.anchor,this.model.editAs=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.editAs,!1):!0}}l.V_SHAPE_ATTRIBUTES=(i,c)=&gt;({id:&quot;_x0000_s&quot;+(1025+c),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;:i.note.margins&amp;&amp;i.note.margins.insetmode}),n.exports=l},{&quot;../base-xform&quot;:32,&quot;./vml-client-data-xform&quot;:44,&quot;./vml-textbox-xform&quot;:47}],47:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;v:textbox&quot;}conversionUnit(a,u,l){return`${parseFloat(a)*u.toFixed(2)}${l}`}reverseConversionUnit(a){return(a||&quot;&quot;).split(&quot;,&quot;).map(u=&gt;Number(parseFloat(this.conversionUnit(parseFloat(u),.1,&quot;&quot;)).toFixed(2)))}render(a,u){const l={style:&quot;mso-direction-alt:auto&quot;};if(u&amp;&amp;u.note){let{inset:i}=u.note&amp;&amp;u.note.margins;Array.isArray(i)&amp;&amp;(i=i.map(c=&gt;this.conversionUnit(c,10,&quot;mm&quot;)).join(&quot;,&quot;)),i&amp;&amp;(l.inset=i)}a.openNode(&quot;v:textbox&quot;,l),a.leafNode(&quot;div&quot;,{style:&quot;text-align:left&quot;}),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={inset:this.reverseConversionUnit(a.attributes.inset)}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],48:[function(t,n,o){const s=t(&quot;./base-xform&quot;);n.exports=class extends s{createNewModel(a){return{}}parseOpen(a){return this.parser=this.parser||this.map[a.name],this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag&amp;&amp;(this.model=this.createNewModel(a),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}onParserClose(a,u){this.model[a]=u.model}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.onParserClose(a,this.parser),this.parser=void 0),!0):a!==this.tag}}},{&quot;./base-xform&quot;:32}],49:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){a.openNode(&quot;HeadingPairs&quot;),a.openNode(&quot;vt:vector&quot;,{size:2,baseType:&quot;variant&quot;}),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:lpstr&quot;,void 0,&quot;Worksheets&quot;),a.closeNode(),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:i4&quot;,void 0,u.length),a.closeNode(),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;HeadingPairs&quot;}parseText(){}parseClose(a){return a!==&quot;HeadingPairs&quot;}}},{&quot;../base-xform&quot;:32}],50:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){a.openNode(&quot;TitlesOfParts&quot;),a.openNode(&quot;vt:vector&quot;,{size:u.length,baseType:&quot;lpstr&quot;}),u.forEach(l=&gt;{a.leafNode(&quot;vt:lpstr&quot;,void 0,l.name)}),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;TitlesOfParts&quot;}parseText(){}parseClose(a){return a!==&quot;TitlesOfParts&quot;}}},{&quot;../base-xform&quot;:32}],51:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/string-xform&quot;),l=t(&quot;./app-heading-pairs-xform&quot;),i=t(&quot;./app-titles-of-parts-xform&quot;);class c extends a{constructor(){super(),this.map={Company:new u({tag:&quot;Company&quot;}),Manager:new u({tag:&quot;Manager&quot;}),HeadingPairs:new l,TitleOfParts:new i}}render(f,d){f.openXml(s.StdDocAttributes),f.openNode(&quot;Properties&quot;,c.PROPERTY_ATTRIBUTES),f.leafNode(&quot;Application&quot;,void 0,&quot;Microsoft Excel&quot;),f.leafNode(&quot;DocSecurity&quot;,void 0,&quot;0&quot;),f.leafNode(&quot;ScaleCrop&quot;,void 0,&quot;false&quot;),this.map.HeadingPairs.render(f,d.worksheets),this.map.TitleOfParts.render(f,d.worksheets),this.map.Company.render(f,d.company||&quot;&quot;),this.map.Manager.render(f,d.manager),f.leafNode(&quot;LinksUpToDate&quot;,void 0,&quot;false&quot;),f.leafNode(&quot;SharedDoc&quot;,void 0,&quot;false&quot;),f.leafNode(&quot;HyperlinksChanged&quot;,void 0,&quot;false&quot;),f.leafNode(&quot;AppVersion&quot;,void 0,&quot;16.0300&quot;),f.closeNode()}parseOpen(f){return this.parser?(this.parser.parseOpen(f),!0):f.name===&quot;Properties&quot;?!0:(this.parser=this.map[f.name],!!this.parser&amp;&amp;(this.parser.parseOpen(f),!0))}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return this.parser?(this.parser.parseClose(f)||(this.parser=void 0),!0):f===&quot;Properties&quot;?(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1):!0}}c.DateFormat=function(h){return h.toISOString().replace(/[.]\d{3,6}/,&quot;&quot;)},c.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},c.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=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/string-xform&quot;:119,&quot;./app-heading-pairs-xform&quot;:49,&quot;./app-titles-of-parts-xform&quot;:50}],52:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;);class u extends a{render(i,c){i.openXml(s.StdDocAttributes),i.openNode(&quot;Types&quot;,u.PROPERTY_ATTRIBUTES);const h={};(c.media||[]).forEach(f=&gt;{if(f.type===&quot;image&quot;){const d=f.extension;h[d]||(h[d]=!0,i.leafNode(&quot;Default&quot;,{Extension:d,ContentType:&quot;image/&quot;+d}))}}),i.leafNode(&quot;Default&quot;,{Extension:&quot;rels&quot;,ContentType:&quot;application/vnd.openxmlformats-package.relationships+xml&quot;}),i.leafNode(&quot;Default&quot;,{Extension:&quot;xml&quot;,ContentType:&quot;application/xml&quot;}),i.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/workbook.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml&quot;}),c.worksheets.forEach(f=&gt;{const d=`/xl/worksheets/sheet${f.id}.xml`;i.leafNode(&quot;Override&quot;,{PartName:d,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml&quot;})}),i.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/theme/theme1.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.theme+xml&quot;}),i.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/styles.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml&quot;}),c.sharedStrings&amp;&amp;c.sharedStrings.count&amp;&amp;i.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/sharedStrings.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml&quot;}),c.tables&amp;&amp;c.tables.forEach(f=&gt;{i.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/tables/&quot;+f.target,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml&quot;})}),c.drawings&amp;&amp;c.drawings.forEach(f=&gt;{i.leafNode(&quot;Override&quot;,{PartName:`/xl/drawings/${f.name}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.drawing+xml&quot;})}),c.commentRefs&amp;&amp;(i.leafNode(&quot;Default&quot;,{Extension:&quot;vml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.vmlDrawing&quot;}),c.commentRefs.forEach(f=&gt;{let{commentName:d}=f;i.leafNode(&quot;Override&quot;,{PartName:`/xl/${d}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml&quot;})})),i.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/core.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-package.core-properties+xml&quot;}),i.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/app.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.extended-properties+xml&quot;}),i.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}u.PROPERTY_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/content-types&quot;},n.exports=u},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32}],53:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/date-xform&quot;),l=t(&quot;../simple/string-xform&quot;),i=t(&quot;../simple/integer-xform&quot;);class c extends a{constructor(){super(),this.map={&quot;dc:creator&quot;:new l({tag:&quot;dc:creator&quot;}),&quot;dc:title&quot;:new l({tag:&quot;dc:title&quot;}),&quot;dc:subject&quot;:new l({tag:&quot;dc:subject&quot;}),&quot;dc:description&quot;:new l({tag:&quot;dc:description&quot;}),&quot;dc:identifier&quot;:new l({tag:&quot;dc:identifier&quot;}),&quot;dc:language&quot;:new l({tag:&quot;dc:language&quot;}),&quot;cp:keywords&quot;:new l({tag:&quot;cp:keywords&quot;}),&quot;cp:category&quot;:new l({tag:&quot;cp:category&quot;}),&quot;cp:lastModifiedBy&quot;:new l({tag:&quot;cp:lastModifiedBy&quot;}),&quot;cp:lastPrinted&quot;:new u({tag:&quot;cp:lastPrinted&quot;,format:c.DateFormat}),&quot;cp:revision&quot;:new i({tag:&quot;cp:revision&quot;}),&quot;cp:version&quot;:new l({tag:&quot;cp:version&quot;}),&quot;cp:contentStatus&quot;:new l({tag:&quot;cp:contentStatus&quot;}),&quot;cp:contentType&quot;:new l({tag:&quot;cp:contentType&quot;}),&quot;dcterms:created&quot;:new u({tag:&quot;dcterms:created&quot;,attrs:c.DateAttrs,format:c.DateFormat}),&quot;dcterms:modified&quot;:new u({tag:&quot;dcterms:modified&quot;,attrs:c.DateAttrs,format:c.DateFormat})}}render(f,d){f.openXml(s.StdDocAttributes),f.openNode(&quot;cp:coreProperties&quot;,c.CORE_PROPERTY_ATTRIBUTES),this.map[&quot;dc:creator&quot;].render(f,d.creator),this.map[&quot;dc:title&quot;].render(f,d.title),this.map[&quot;dc:subject&quot;].render(f,d.subject),this.map[&quot;dc:description&quot;].render(f,d.description),this.map[&quot;dc:identifier&quot;].render(f,d.identifier),this.map[&quot;dc:language&quot;].render(f,d.language),this.map[&quot;cp:keywords&quot;].render(f,d.keywords),this.map[&quot;cp:category&quot;].render(f,d.category),this.map[&quot;cp:lastModifiedBy&quot;].render(f,d.lastModifiedBy),this.map[&quot;cp:lastPrinted&quot;].render(f,d.lastPrinted),this.map[&quot;cp:revision&quot;].render(f,d.revision),this.map[&quot;cp:version&quot;].render(f,d.version),this.map[&quot;cp:contentStatus&quot;].render(f,d.contentStatus),this.map[&quot;cp:contentType&quot;].render(f,d.contentType),this.map[&quot;dcterms:created&quot;].render(f,d.created),this.map[&quot;dcterms:modified&quot;].render(f,d.modified),f.closeNode()}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case&quot;cp:coreProperties&quot;:case&quot;coreProperties&quot;:return!0;default:if(this.parser=this.map[f.name],this.parser)return this.parser.parseOpen(f),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(f))}}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){if(this.parser)return this.parser.parseClose(f)||(this.parser=void 0),!0;switch(f){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;+f)}}}c.DateFormat=function(h){return h.toISOString().replace(/[.]\d{3}/,&quot;&quot;)},c.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},c.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=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/date-xform&quot;:117,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119}],54:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{render(a,u){a.leafNode(&quot;Relationship&quot;,u)}parseOpen(a){return a.name===&quot;Relationship&quot;?(this.model=a.attributes,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],55:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./relationship-xform&quot;);class l extends a{constructor(){super(),this.map={Relationship:new u}}render(c,h){h=h||this._values,c.openXml(s.StdDocAttributes),c.openNode(&quot;Relationships&quot;,l.RELATIONSHIPS_ATTRIBUTES),h.forEach(f=&gt;{this.map.Relationship.render(c,f)}),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;Relationships&quot;:return this.model=[],!0;default:if(this.parser=this.map[c.name],this.parser)return this.parser.parseOpen(c),!0;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.push(this.parser.model),this.parser=void 0),!0;if(c===&quot;Relationships&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+c)}}l.RELATIONSHIPS_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;},n.exports=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./relationship-xform&quot;:54}],56:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):(a.name===this.tag?(this.reset(),this.model={range:{editAs:a.attributes.editAs||&quot;oneCell&quot;}}):(this.parser=this.map[a.name],this.parser&amp;&amp;this.parser.parseOpen(a)),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}reconcilePicture(a,u){if(a&amp;&amp;a.rId){const l=u.rels[a.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(l){const i=l[1],c=u.mediaIndex[i];return u.media[c]}}}}},{&quot;../base-xform&quot;:32}],57:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./blip-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;a:blip&quot;:new a}}get tag(){return&quot;xdr:blipFill&quot;}render(u,l){u.openNode(this.tag),this.map[&quot;a:blip&quot;].render(u,l),u.openNode(&quot;a:stretch&quot;),u.leafNode(&quot;a:fillRect&quot;),u.closeNode(),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(){}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model=this.map[&quot;a:blip&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./blip-xform&quot;:58}],58:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;a:blip&quot;}render(a,u){a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:embed&quot;:u.rId,cstate:&quot;print&quot;})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={rId:a.attributes[&quot;r:embed&quot;]}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],59:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;xdr:cNvPicPr&quot;}render(a){a.openNode(this.tag),a.leafNode(&quot;a:picLocks&quot;,{noChangeAspect:&quot;1&quot;}),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],60:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./hlink-click-xform&quot;),u=t(&quot;./ext-lst-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;a:hlinkClick&quot;:new a,&quot;a:extLst&quot;:new u}}get tag(){return&quot;xdr:cNvPr&quot;}render(l,i){l.openNode(this.tag,{id:i.index,name:&quot;Picture &quot;+i.index}),this.map[&quot;a:hlinkClick&quot;].render(l,i),this.map[&quot;a:extLst&quot;].render(l,i),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===this.tag?(this.model=this.map[&quot;a:hlinkClick&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./ext-lst-xform&quot;:63,&quot;./hlink-click-xform&quot;:65}],61:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../simple/integer-xform&quot;);n.exports=class extends s{constructor(u){super(),this.tag=u.tag,this.map={&quot;xdr:col&quot;:new a({tag:&quot;xdr:col&quot;,zero:!0}),&quot;xdr:colOff&quot;:new a({tag:&quot;xdr:colOff&quot;,zero:!0}),&quot;xdr:row&quot;:new a({tag:&quot;xdr:row&quot;,zero:!0}),&quot;xdr:rowOff&quot;:new a({tag:&quot;xdr:rowOff&quot;,zero:!0})}}render(u,l){u.openNode(this.tag),this.map[&quot;xdr:col&quot;].render(u,l.nativeCol),this.map[&quot;xdr:colOff&quot;].render(u,l.nativeColOff),this.map[&quot;xdr:row&quot;].render(u,l.nativeRow),this.map[&quot;xdr:rowOff&quot;].render(u,l.nativeRowOff),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model={nativeCol:this.map[&quot;xdr:col&quot;].model,nativeColOff:this.map[&quot;xdr:colOff&quot;].model,nativeRow:this.map[&quot;xdr:row&quot;].model,nativeRowOff:this.map[&quot;xdr:rowOff&quot;].model},!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../simple/integer-xform&quot;:118}],62:[function(t,n,o){const s=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;./two-cell-anchor-xform&quot;),i=t(&quot;./one-cell-anchor-xform&quot;);class c extends u{constructor(){super(),this.map={&quot;xdr:twoCellAnchor&quot;:new l,&quot;xdr:oneCellAnchor&quot;:new i}}prepare(f){f.anchors.forEach((d,v)=&gt;{d.anchorType=(function(y){return(typeof y.range==&quot;string&quot;?s.decode(y.range):y.range).br?&quot;xdr:twoCellAnchor&quot;:&quot;xdr:oneCellAnchor&quot;})(d),this.map[d.anchorType].prepare(d,{index:v})})}get tag(){return&quot;xdr:wsDr&quot;}render(f,d){f.openXml(a.StdDocAttributes),f.openNode(this.tag,c.DRAWING_ATTRIBUTES),d.anchors.forEach(v=&gt;{this.map[v.anchorType].render(f,v)}),f.closeNode()}parseOpen(f){return this.parser?(this.parser.parseOpen(f),!0):(f.name===this.tag?(this.reset(),this.model={anchors:[]}):(this.parser=this.map[f.name],this.parser&amp;&amp;this.parser.parseOpen(f)),!0)}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return this.parser?(this.parser.parseClose(f)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):f!==this.tag}reconcile(f,d){f.anchors.forEach(v=&gt;{v.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(v,d):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(v,d)})}}c.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=c},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./one-cell-anchor-xform&quot;:67,&quot;./two-cell-anchor-xform&quot;:70}],63:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;a:extLst&quot;}render(a){a.openNode(this.tag),a.openNode(&quot;a:ext&quot;,{uri:&quot;{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}&quot;}),a.leafNode(&quot;a16:creationId&quot;,{&quot;xmlns:a16&quot;:&quot;http://schemas.microsoft.com/office/drawing/2014/main&quot;,id:&quot;{00000000-0008-0000-0000-000002000000}&quot;}),a.closeNode(),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],64:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.map={}}render(a,u){a.openNode(this.tag);const l=Math.floor(9525*u.width),i=Math.floor(9525*u.height);a.addAttribute(&quot;cx&quot;,l),a.addAttribute(&quot;cy&quot;,i),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={width:parseInt(a.attributes.cx||&quot;0&quot;,10)/9525,height:parseInt(a.attributes.cy||&quot;0&quot;,10)/9525},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],65:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;a:hlinkClick&quot;}render(a,u){u.hyperlinks&amp;&amp;u.hyperlinks.rId&amp;&amp;a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:id&quot;:u.hyperlinks.rId,tooltip:u.hyperlinks.tooltip})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={hyperlinks:{rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip}}),!0}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],66:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./c-nv-pr-xform&quot;),u=t(&quot;./c-nv-pic-pr-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xdr:cNvPr&quot;:new a,&quot;xdr:cNvPicPr&quot;:new u}}get tag(){return&quot;xdr:nvPicPr&quot;}render(l,i){l.openNode(this.tag),this.map[&quot;xdr:cNvPr&quot;].render(l,i),this.map[&quot;xdr:cNvPicPr&quot;].render(l,i),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===this.tag?(this.model=this.map[&quot;xdr:cNvPr&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./c-nv-pic-pr-xform&quot;:59,&quot;./c-nv-pr-xform&quot;:60}],67:[function(t,n,o){const s=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=t(&quot;./ext-xform&quot;),i=t(&quot;./pic-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:ext&quot;:new l({tag:&quot;xdr:ext&quot;}),&quot;xdr:pic&quot;:new i,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:oneCellAnchor&quot;}prepare(c,h){this.map[&quot;xdr:pic&quot;].prepare(c.picture,h)}render(c,h){c.openNode(this.tag,{editAs:h.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(c,h.range.tl),this.map[&quot;xdr:ext&quot;].render(c,h.range.ext),this.map[&quot;xdr:pic&quot;].render(c,h.picture),this.map[&quot;xdr:clientData&quot;].render(c,{}),c.closeNode()}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===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(c,h){c.medium=this.reconcilePicture(c.picture,h)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./ext-xform&quot;:64,&quot;./pic-xform&quot;:68}],68:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./blip-fill-xform&quot;),l=t(&quot;./nv-pic-pr-xform&quot;),i=t(&quot;./sp-pr&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xdr:nvPicPr&quot;:new l,&quot;xdr:blipFill&quot;:new u,&quot;xdr:spPr&quot;:new a(i)}}get tag(){return&quot;xdr:pic&quot;}prepare(c,h){c.index=h.index+1}render(c,h){c.openNode(this.tag),this.map[&quot;xdr:nvPicPr&quot;].render(c,h),this.map[&quot;xdr:blipFill&quot;].render(c,h),this.map[&quot;xdr:spPr&quot;].render(c,h),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.mergeModel(this.parser.model),this.parser=void 0),!0):c!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;../static-xform&quot;:120,&quot;./blip-fill-xform&quot;:57,&quot;./nv-pic-pr-xform&quot;:66,&quot;./sp-pr&quot;:69}],69:[function(t,n,o){n.exports={tag:&quot;xdr:spPr&quot;,c:[{tag:&quot;a:xfrm&quot;,c:[{tag:&quot;a:off&quot;,$:{x:&quot;0&quot;,y:&quot;0&quot;}},{tag:&quot;a:ext&quot;,$:{cx:&quot;0&quot;,cy:&quot;0&quot;}}]},{tag:&quot;a:prstGeom&quot;,$:{prst:&quot;rect&quot;},c:[{tag:&quot;a:avLst&quot;}]}]}},{}],70:[function(t,n,o){const s=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=t(&quot;./pic-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:to&quot;:new u({tag:&quot;xdr:to&quot;}),&quot;xdr:pic&quot;:new l,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:twoCellAnchor&quot;}prepare(i,c){this.map[&quot;xdr:pic&quot;].prepare(i.picture,c)}render(i,c){i.openNode(this.tag,{editAs:c.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(i,c.range.tl),this.map[&quot;xdr:to&quot;].render(i,c.range.br),this.map[&quot;xdr:pic&quot;].render(i,c.picture),this.map[&quot;xdr:clientData&quot;].render(i,{}),i.closeNode()}parseClose(i){return this.parser?(this.parser.parseClose(i)||(this.parser=void 0),!0):i===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(i,c){i.medium=this.reconcilePicture(i.picture,c)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./pic-xform&quot;:68}],71:[function(t,n,o){const s=t(&quot;./base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.always=!!a.always,this.count=a.count,this.empty=a.empty,this.$count=a.$count||&quot;count&quot;,this.$=a.$,this.childXform=a.childXform,this.maxItems=a.maxItems}prepare(a,u){const{childXform:l}=this;a&amp;&amp;a.forEach((i,c)=&gt;{u.index=c,l.prepare(i,u)})}render(a,u){if(this.always||u&amp;&amp;u.length){a.openNode(this.tag,this.$),this.count&amp;&amp;a.addAttribute(this.$count,u&amp;&amp;u.length||0);const{childXform:l}=this;(u||[]).forEach((i,c)=&gt;{l.render(a,i,c)}),a.closeNode()}else this.empty&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(a)&amp;&amp;(this.parser=this.childXform,!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)&amp;&amp;(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&amp;&amp;this.model.length&gt;this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(a,u){if(a){const{childXform:l}=this;a.forEach(i=&gt;{l.reconcile(i,u)})}}}},{&quot;./base-xform&quot;:32}],72:[function(t,n,o){const s=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;autoFilter&quot;}render(u,l){if(l)if(typeof l==&quot;string&quot;)u.leafNode(&quot;autoFilter&quot;,{ref:l});else{const i=function(f){return typeof f==&quot;string&quot;?f:s.getAddress(f.row,f.column).address},c=i(l.from),h=i(l.to);c&amp;&amp;h&amp;&amp;u.leafNode(&quot;autoFilter&quot;,{ref:`${c}:${h}`})}}parseOpen(u){u.name===&quot;autoFilter&quot;&amp;&amp;(this.model=u.attributes.ref)}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],73:[function(t,n,o){const s=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../../../doc/range&quot;),l=t(&quot;../../../doc/enums&quot;),i=t(&quot;../strings/rich-text-xform&quot;);function c(h){if(h==null)return l.ValueType.Null;if(h instanceof String||typeof h==&quot;string&quot;)return l.ValueType.String;if(typeof h==&quot;number&quot;)return l.ValueType.Number;if(typeof h==&quot;boolean&quot;)return l.ValueType.Boolean;if(h instanceof Date)return l.ValueType.Date;if(h.text&amp;&amp;h.hyperlink)return l.ValueType.Hyperlink;if(h.formula)return l.ValueType.Formula;if(h.error)return l.ValueType.Error;throw new Error(&quot;I could not understand type of value&quot;)}n.exports=class extends a{constructor(){super(),this.richTextXForm=new i}get tag(){return&quot;c&quot;}prepare(h,f){const d=f.styles.addStyleModel(h.style||{},(function(v){return v.type===l.ValueType.Formula?c(v.result):v.type})(h));switch(d&amp;&amp;(h.styleId=d),h.comment&amp;&amp;f.comments.push({...h.comment,ref:h.address}),h.type){case l.ValueType.String:case l.ValueType.RichText:f.sharedStrings&amp;&amp;(h.ssId=f.sharedStrings.add(h.value));break;case l.ValueType.Date:f.date1904&amp;&amp;(h.date1904=!0);break;case l.ValueType.Hyperlink:f.sharedStrings&amp;&amp;h.text!==void 0&amp;&amp;h.text!==null&amp;&amp;(h.ssId=f.sharedStrings.add(h.text)),f.hyperlinks.push({address:h.address,target:h.hyperlink,tooltip:h.tooltip});break;case l.ValueType.Merge:f.merges.add(h);break;case l.ValueType.Formula:if(f.date1904&amp;&amp;(h.date1904=!0),h.shareType===&quot;shared&quot;&amp;&amp;(h.si=f.siFormulae++),h.formula)f.formulae[h.address]=h;else if(h.sharedFormula){const v=f.formulae[h.sharedFormula];if(!v)throw new Error(&quot;Shared Formula master must exist above and or left of clone for cell &quot;+h.address);v.si===void 0?(v.shareType=&quot;shared&quot;,v.si=f.siFormulae++,v.range=new u(v.address,h.address)):v.range&amp;&amp;v.range.expandToAddress(h.address),h.si=v.si}}}renderFormula(h,f){let d=null;switch(f.shareType){case&quot;shared&quot;:d={t:&quot;shared&quot;,ref:f.ref||f.range.range,si:f.si};break;case&quot;array&quot;:d={t:&quot;array&quot;,ref:f.ref};break;default:f.si!==void 0&amp;&amp;(d={t:&quot;shared&quot;,si:f.si})}switch(c(f.result)){case l.ValueType.Null:h.leafNode(&quot;f&quot;,d,f.formula);break;case l.ValueType.String:h.addAttribute(&quot;t&quot;,&quot;str&quot;),h.leafNode(&quot;f&quot;,d,f.formula),h.leafNode(&quot;v&quot;,null,f.result);break;case l.ValueType.Number:h.leafNode(&quot;f&quot;,d,f.formula),h.leafNode(&quot;v&quot;,null,f.result);break;case l.ValueType.Boolean:h.addAttribute(&quot;t&quot;,&quot;b&quot;),h.leafNode(&quot;f&quot;,d,f.formula),h.leafNode(&quot;v&quot;,null,f.result?1:0);break;case l.ValueType.Error:h.addAttribute(&quot;t&quot;,&quot;e&quot;),h.leafNode(&quot;f&quot;,d,f.formula),h.leafNode(&quot;v&quot;,null,f.result.error);break;case l.ValueType.Date:h.leafNode(&quot;f&quot;,d,f.formula),h.leafNode(&quot;v&quot;,null,s.dateToExcel(f.result,f.date1904));break;default:throw new Error(&quot;I could not understand type of value&quot;)}}render(h,f){if(f.type!==l.ValueType.Null||f.styleId){switch(h.openNode(&quot;c&quot;),h.addAttribute(&quot;r&quot;,f.address),f.styleId&amp;&amp;h.addAttribute(&quot;s&quot;,f.styleId),f.type){case l.ValueType.Null:break;case l.ValueType.Number:h.leafNode(&quot;v&quot;,null,f.value);break;case l.ValueType.Boolean:h.addAttribute(&quot;t&quot;,&quot;b&quot;),h.leafNode(&quot;v&quot;,null,f.value?&quot;1&quot;:&quot;0&quot;);break;case l.ValueType.Error:h.addAttribute(&quot;t&quot;,&quot;e&quot;),h.leafNode(&quot;v&quot;,null,f.value.error);break;case l.ValueType.String:case l.ValueType.RichText:f.ssId!==void 0?(h.addAttribute(&quot;t&quot;,&quot;s&quot;),h.leafNode(&quot;v&quot;,null,f.ssId)):f.value&amp;&amp;f.value.richText?(h.addAttribute(&quot;t&quot;,&quot;inlineStr&quot;),h.openNode(&quot;is&quot;),f.value.richText.forEach(d=&gt;{this.richTextXForm.render(h,d)}),h.closeNode(&quot;is&quot;)):(h.addAttribute(&quot;t&quot;,&quot;str&quot;),h.leafNode(&quot;v&quot;,null,f.value));break;case l.ValueType.Date:h.leafNode(&quot;v&quot;,null,s.dateToExcel(f.value,f.date1904));break;case l.ValueType.Hyperlink:f.ssId!==void 0?(h.addAttribute(&quot;t&quot;,&quot;s&quot;),h.leafNode(&quot;v&quot;,null,f.ssId)):(h.addAttribute(&quot;t&quot;,&quot;str&quot;),h.leafNode(&quot;v&quot;,null,f.text));break;case l.ValueType.Formula:this.renderFormula(h,f);break;case l.ValueType.Merge:}h.closeNode()}}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;c&quot;:return this.model={address:h.attributes.r},this.t=h.attributes.t,h.attributes.s&amp;&amp;(this.model.styleId=parseInt(h.attributes.s,10)),!0;case&quot;f&quot;:return this.currentNode=&quot;f&quot;,this.model.si=h.attributes.si,this.model.shareType=h.attributes.t,this.model.ref=h.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(h),!0;default:return!1}}parseText(h){if(this.parser)this.parser.parseText(h);else switch(this.currentNode){case&quot;f&quot;:this.model.formula=this.model.formula?this.model.formula+h:h;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+h:h:this.model.value=this.model.value?this.model.value+h:h}}parseClose(h){switch(h){case&quot;c&quot;:{const{model:f}=this;if(f.formula||f.shareType)f.type=l.ValueType.Formula,f.value&amp;&amp;(this.t===&quot;str&quot;?f.result=s.xmlDecode(f.value):this.t===&quot;b&quot;?f.result=parseInt(f.value,10)!==0:this.t===&quot;e&quot;?f.result={error:f.value}:f.result=parseFloat(f.value),f.value=void 0);else if(f.value!==void 0)switch(this.t){case&quot;s&quot;:f.type=l.ValueType.String,f.value=parseInt(f.value,10);break;case&quot;str&quot;:f.type=l.ValueType.String,f.value=s.xmlDecode(f.value);break;case&quot;inlineStr&quot;:f.type=l.ValueType.String;break;case&quot;b&quot;:f.type=l.ValueType.Boolean,f.value=parseInt(f.value,10)!==0;break;case&quot;e&quot;:f.type=l.ValueType.Error,f.value={error:f.value};break;default:f.type=l.ValueType.Number,f.value=parseFloat(f.value)}else f.styleId?f.type=l.ValueType.Null:f.type=l.ValueType.Merge;return!1}case&quot;f&quot;:case&quot;v&quot;:case&quot;is&quot;:return this.currentNode=void 0,!0;case&quot;t&quot;:return this.parser?(this.parser.parseClose(h),!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(h),!0)}}reconcile(h,f){const d=h.styleId&amp;&amp;f.styles&amp;&amp;f.styles.getStyleModel(h.styleId);switch(d&amp;&amp;(h.style=d),h.styleId!==void 0&amp;&amp;(h.styleId=void 0),h.type){case l.ValueType.String:typeof h.value==&quot;number&quot;&amp;&amp;f.sharedStrings&amp;&amp;(h.value=f.sharedStrings.getString(h.value)),h.value.richText&amp;&amp;(h.type=l.ValueType.RichText);break;case l.ValueType.Number:d&amp;&amp;s.isDateFmt(d.numFmt)&amp;&amp;(h.type=l.ValueType.Date,h.value=s.excelToDate(h.value,f.date1904));break;case l.ValueType.Formula:h.result!==void 0&amp;&amp;d&amp;&amp;s.isDateFmt(d.numFmt)&amp;&amp;(h.result=s.excelToDate(h.result,f.date1904)),h.shareType===&quot;shared&quot;&amp;&amp;(h.ref?f.formulae[h.si]=h.address:(h.sharedFormula=f.formulae[h.si],delete h.shareType),delete h.si)}const v=f.hyperlinkMap[h.address];v&amp;&amp;(h.type===l.ValueType.Formula?(h.text=h.result,h.result=void 0):(h.text=h.value,h.value=void 0),h.type=l.ValueType.Hyperlink,h.hyperlink=v);const y=f.commentsMap&amp;&amp;f.commentsMap[h.address];y&amp;&amp;(h.comment=y)}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],74:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;x14:cfIcon&quot;}render(a,u){a.leafNode(this.tag,{iconSet:u.iconSet,iconId:u.iconId})}parseOpen(a){let{attributes:u}=a;this.model={iconSet:u.iconSet,iconId:s.toIntValue(u.iconId)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],75:[function(t,n,o){const{v4:s}=t(&quot;uuid&quot;),a=t(&quot;../../base-xform&quot;),u=t(&quot;../../composite-xform&quot;),l=t(&quot;./databar-ext-xform&quot;),i=t(&quot;./icon-set-ext-xform&quot;),c={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0};class h extends u{constructor(){super(),this.map={&quot;x14:dataBar&quot;:this.databarXform=new l,&quot;x14:iconSet&quot;:this.iconSetXform=new i}}get tag(){return&quot;x14:cfRule&quot;}static isExt(d){return d.type===&quot;dataBar&quot;?l.isExt(d):!(d.type!==&quot;iconSet&quot;||!d.custom&amp;&amp;!c[d.iconSet])}prepare(d){h.isExt(d)&amp;&amp;(d.x14Id=`{${s()}}`.toUpperCase())}render(d,v){if(h.isExt(v))switch(v.type){case&quot;dataBar&quot;:this.renderDataBar(d,v);break;case&quot;iconSet&quot;:this.renderIconSet(d,v)}}renderDataBar(d,v){d.openNode(this.tag,{type:&quot;dataBar&quot;,id:v.x14Id}),this.databarXform.render(d,v),d.closeNode()}renderIconSet(d,v){d.openNode(this.tag,{type:&quot;iconSet&quot;,priority:v.priority,id:v.x14Id||`{${s()}}`}),this.iconSetXform.render(d,v),d.closeNode()}createNewModel(d){let{attributes:v}=d;return{type:v.type,x14Id:v.id,priority:a.toIntValue(v.priority)}}onParserClose(d,v){Object.assign(this.model,v.model)}}n.exports=h},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./databar-ext-xform&quot;:79,&quot;./icon-set-ext-xform&quot;:81,uuid:528}],76:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;./f-ext-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xm:f&quot;:this.fExtXform=new a}}get tag(){return&quot;x14:cfvo&quot;}render(u,l){u.openNode(this.tag,{type:l.type}),l.value!==void 0&amp;&amp;this.fExtXform.render(u,l.value),u.closeNode()}createNewModel(u){return{type:u.attributes.type}}onParserClose(u,l){u===&quot;xm:f&quot;&amp;&amp;(this.model.value=l.model?parseFloat(l.model):0)}}},{&quot;../../composite-xform&quot;:48,&quot;./f-ext-xform&quot;:80}],77:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;./sqref-ext-xform&quot;),u=t(&quot;./cf-rule-ext-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;xm:sqref&quot;:this.sqRef=new a,&quot;x14:cfRule&quot;:this.cfRule=new u}}get tag(){return&quot;x14:conditionalFormatting&quot;}prepare(l,i){l.rules.forEach(c=&gt;{this.cfRule.prepare(c,i)})}render(l,i){i.rules.some(u.isExt)&amp;&amp;(l.openNode(this.tag,{&quot;xmlns:xm&quot;:&quot;http://schemas.microsoft.com/office/excel/2006/main&quot;}),i.rules.filter(u.isExt).forEach(c=&gt;this.cfRule.render(l,c)),this.sqRef.render(l,i.ref),l.closeNode())}createNewModel(){return{rules:[]}}onParserClose(l,i){switch(l){case&quot;xm:sqref&quot;:this.model.ref=i.model;break;case&quot;x14:cfRule&quot;:this.model.rules.push(i.model)}}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./sqref-ext-xform&quot;:82}],78:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-ext-xform&quot;),u=t(&quot;./conditional-formatting-ext-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={&quot;x14:conditionalFormatting&quot;:this.cfXform=new u}}get tag(){return&quot;x14:conditionalFormattings&quot;}hasContent(l){return l.hasExtContent===void 0&amp;&amp;(l.hasExtContent=l.some(i=&gt;i.rules.some(a.isExt))),l.hasExtContent}prepare(l,i){l.forEach(c=&gt;{this.cfXform.prepare(c,i)})}render(l,i){this.hasContent(i)&amp;&amp;(l.openNode(this.tag),i.forEach(c=&gt;this.cfXform.render(l,c)),l.closeNode())}createNewModel(){return[]}onParserClose(l,i){this.model.push(i.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./conditional-formatting-ext-xform&quot;:77}],79:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../style/color-xform&quot;),l=t(&quot;./cfvo-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new l,&quot;x14:borderColor&quot;:this.borderColorXform=new u(&quot;x14:borderColor&quot;),&quot;x14:negativeBorderColor&quot;:this.negativeBorderColorXform=new u(&quot;x14:negativeBorderColor&quot;),&quot;x14:negativeFillColor&quot;:this.negativeFillColorXform=new u(&quot;x14:negativeFillColor&quot;),&quot;x14:axisColor&quot;:this.axisColorXform=new u(&quot;x14:axisColor&quot;)}}static isExt(i){return!i.gradient}get tag(){return&quot;x14:dataBar&quot;}render(i,c){i.openNode(this.tag,{minLength:s.toIntAttribute(c.minLength,0,!0),maxLength:s.toIntAttribute(c.maxLength,100,!0),border:s.toBoolAttribute(c.border,!1),gradient:s.toBoolAttribute(c.gradient,!0),negativeBarColorSameAsPositive:s.toBoolAttribute(c.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:s.toBoolAttribute(c.negativeBarBorderColorSameAsPositive,!0),axisPosition:s.toAttribute(c.axisPosition,&quot;auto&quot;),direction:s.toAttribute(c.direction,&quot;leftToRight&quot;)}),c.cfvo.forEach(h=&gt;{this.cfvoXform.render(i,h)}),this.borderColorXform.render(i,c.borderColor),this.negativeBorderColorXform.render(i,c.negativeBorderColor),this.negativeFillColorXform.render(i,c.negativeFillColor),this.axisColorXform.render(i,c.axisColor),i.closeNode()}createNewModel(i){let{attributes:c}=i;return{cfvo:[],minLength:s.toIntValue(c.minLength,0),maxLength:s.toIntValue(c.maxLength,100),border:s.toBoolValue(c.border,!1),gradient:s.toBoolValue(c.gradient,!0),negativeBarColorSameAsPositive:s.toBoolValue(c.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:s.toBoolValue(c.negativeBarBorderColorSameAsPositive,!0),axisPosition:s.toStringValue(c.axisPosition,&quot;auto&quot;),direction:s.toStringValue(c.direction,&quot;leftToRight&quot;)}}onParserClose(i,c){const[,h]=i.split(&quot;:&quot;);h===&quot;cfvo&quot;?this.model.cfvo.push(c.model):this.model[h]=c.model}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-ext-xform&quot;:76}],80:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;xm:f&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],81:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-ext-xform&quot;),l=t(&quot;./cf-icon-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new u,&quot;x14:cfIcon&quot;:this.cfIconXform=new l}}get tag(){return&quot;x14:iconSet&quot;}render(i,c){i.openNode(this.tag,{iconSet:s.toStringAttribute(c.iconSet),reverse:s.toBoolAttribute(c.reverse,!1),showValue:s.toBoolAttribute(c.showValue,!0),custom:s.toBoolAttribute(c.icons,!1)}),c.cfvo.forEach(h=&gt;{this.cfvoXform.render(i,h)}),c.icons&amp;&amp;c.icons.forEach((h,f)=&gt;{h.iconId=f,this.cfIconXform.render(i,h)}),i.closeNode()}createNewModel(i){let{attributes:c}=i;return{cfvo:[],iconSet:s.toStringValue(c.iconSet,&quot;3TrafficLights&quot;),reverse:s.toBoolValue(c.reverse,!1),showValue:s.toBoolValue(c.showValue,!0)}}onParserClose(i,c){const[,h]=i.split(&quot;:&quot;);switch(h){case&quot;cfvo&quot;:this.model.cfvo.push(c.model);break;case&quot;cfIcon&quot;:this.model.icons||(this.model.icons=[]),this.model.icons.push(c.model);break;default:this.model[h]=c.model}}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cf-icon-ext-xform&quot;:74,&quot;./cfvo-ext-xform&quot;:76}],82:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;xm:sqref&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],83:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../../../doc/range&quot;),l=t(&quot;./databar-xform&quot;),i=t(&quot;./ext-lst-ref-xform&quot;),c=t(&quot;./formula-xform&quot;),h=t(&quot;./color-scale-xform&quot;),f=t(&quot;./icon-set-xform&quot;),d={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0},v=p=&gt;{const{type:b,operator:x}=p;switch(b){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:b};default:return{type:b,operator:x}}};class y extends a{constructor(){super(),this.map={dataBar:this.databarXform=new l,extLst:this.extLstRefXform=new i,formula:this.formulaXform=new c,colorScale:this.colorScaleXform=new h,iconSet:this.iconSetXform=new f}}get tag(){return&quot;cfRule&quot;}static isPrimitive(b){return b.type!==&quot;iconSet&quot;||!b.custom&amp;&amp;!d[b.iconSet]}render(b,x){switch(x.type){case&quot;expression&quot;:this.renderExpression(b,x);break;case&quot;cellIs&quot;:this.renderCellIs(b,x);break;case&quot;top10&quot;:this.renderTop10(b,x);break;case&quot;aboveAverage&quot;:this.renderAboveAverage(b,x);break;case&quot;dataBar&quot;:this.renderDataBar(b,x);break;case&quot;colorScale&quot;:this.renderColorScale(b,x);break;case&quot;iconSet&quot;:this.renderIconSet(b,x);break;case&quot;containsText&quot;:this.renderText(b,x);break;case&quot;timePeriod&quot;:this.renderTimePeriod(b,x)}}renderExpression(b,x){b.openNode(this.tag,{type:&quot;expression&quot;,dxfId:x.dxfId,priority:x.priority}),this.formulaXform.render(b,x.formulae[0]),b.closeNode()}renderCellIs(b,x){b.openNode(this.tag,{type:&quot;cellIs&quot;,dxfId:x.dxfId,priority:x.priority,operator:x.operator}),x.formulae.forEach(_=&gt;{this.formulaXform.render(b,_)}),b.closeNode()}renderTop10(b,x){b.leafNode(this.tag,{type:&quot;top10&quot;,dxfId:x.dxfId,priority:x.priority,percent:s.toBoolAttribute(x.percent,!1),bottom:s.toBoolAttribute(x.bottom,!1),rank:s.toIntValue(x.rank,10,!0)})}renderAboveAverage(b,x){b.leafNode(this.tag,{type:&quot;aboveAverage&quot;,dxfId:x.dxfId,priority:x.priority,aboveAverage:s.toBoolAttribute(x.aboveAverage,!0)})}renderDataBar(b,x){b.openNode(this.tag,{type:&quot;dataBar&quot;,priority:x.priority}),this.databarXform.render(b,x),this.extLstRefXform.render(b,x),b.closeNode()}renderColorScale(b,x){b.openNode(this.tag,{type:&quot;colorScale&quot;,priority:x.priority}),this.colorScaleXform.render(b,x),b.closeNode()}renderIconSet(b,x){y.isPrimitive(x)&amp;&amp;(b.openNode(this.tag,{type:&quot;iconSet&quot;,priority:x.priority}),this.iconSetXform.render(b,x),b.closeNode())}renderText(b,x){b.openNode(this.tag,{type:x.operator,dxfId:x.dxfId,priority:x.priority,operator:s.toStringAttribute(x.operator,&quot;containsText&quot;)});const _=(E=&gt;{if(E.formulae&amp;&amp;E.formulae[0])return E.formulae[0];const M=new u(E.ref),{tl:D}=M;switch(E.operator){case&quot;containsText&quot;:return`NOT(ISERROR(SEARCH(&quot;${E.text}&quot;,${D})))`;case&quot;containsBlanks&quot;:return`LEN(TRIM(${D}))=0`;case&quot;notContainsBlanks&quot;:return`LEN(TRIM(${D}))&gt;0`;case&quot;containsErrors&quot;:return`ISERROR(${D})`;case&quot;notContainsErrors&quot;:return`NOT(ISERROR(${D}))`;default:return}})(x);_&amp;&amp;this.formulaXform.render(b,_),b.closeNode()}renderTimePeriod(b,x){b.openNode(this.tag,{type:&quot;timePeriod&quot;,dxfId:x.dxfId,priority:x.priority,timePeriod:x.timePeriod});const _=(E=&gt;{if(E.formulae&amp;&amp;E.formulae[0])return E.formulae[0];const M=new u(E.ref),{tl:D}=M;switch(E.timePeriod){case&quot;thisWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${D},0)&lt;=WEEKDAY(TODAY())-1,ROUNDDOWN(${D},0)-TODAY()&lt;=7-WEEKDAY(TODAY()))`;case&quot;lastWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${D},0)&gt;=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${D},0)&lt;(WEEKDAY(TODAY())+7))`;case&quot;nextWeek&quot;:return`AND(ROUNDDOWN(${D},0)-TODAY()&gt;(7-WEEKDAY(TODAY())),ROUNDDOWN(${D},0)-TODAY()&lt;(15-WEEKDAY(TODAY())))`;case&quot;yesterday&quot;:return`FLOOR(${D},1)=TODAY()-1`;case&quot;today&quot;:return`FLOOR(${D},1)=TODAY()`;case&quot;tomorrow&quot;:return`FLOOR(${D},1)=TODAY()+1`;case&quot;last7Days&quot;:return`AND(TODAY()-FLOOR(${D},1)&lt;=6,FLOOR(${D},1)&lt;=TODAY())`;case&quot;lastMonth&quot;:return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0-1)),YEAR(${D})=YEAR(EDATE(TODAY(),0-1)))`;case&quot;thisMonth&quot;:return`AND(MONTH(${D})=MONTH(TODAY()),YEAR(${D})=YEAR(TODAY()))`;case&quot;nextMonth&quot;:return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0+1)),YEAR(${D})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(x);_&amp;&amp;this.formulaXform.render(b,_),b.closeNode()}createNewModel(b){let{attributes:x}=b;return{...v(x),dxfId:s.toIntValue(x.dxfId),priority:s.toIntValue(x.priority),timePeriod:x.timePeriod,percent:s.toBoolValue(x.percent),bottom:s.toBoolValue(x.bottom),rank:s.toIntValue(x.rank),aboveAverage:s.toBoolValue(x.aboveAverage)}}onParserClose(b,x){switch(b){case&quot;dataBar&quot;:case&quot;extLst&quot;:case&quot;colorScale&quot;:case&quot;iconSet&quot;:Object.assign(this.model,x.model);break;case&quot;formula&quot;:this.model.formulae=this.model.formulae||[],this.model.formulae.push(x.model)}}}n.exports=y},{&quot;../../../../doc/range&quot;:10,&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./color-scale-xform&quot;:85,&quot;./databar-xform&quot;:88,&quot;./ext-lst-ref-xform&quot;:89,&quot;./formula-xform&quot;:90,&quot;./icon-set-xform&quot;:91}],84:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;cfvo&quot;}render(a,u){a.leafNode(this.tag,{type:u.type,val:u.value})}parseOpen(a){this.model={type:a.attributes.type,value:s.toFloatValue(a.attributes.val)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],85:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;colorScale&quot;}render(l,i){l.openNode(this.tag),i.cfvo.forEach(c=&gt;{this.cfvoXform.render(l,c)}),i.color.forEach(c=&gt;{this.colorXform.render(l,c)}),l.closeNode()}createNewModel(l){return{cfvo:[],color:[]}}onParserClose(l,i){this.model[l].push(i.model)}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],86:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={cfRule:new a}}get tag(){return&quot;conditionalFormatting&quot;}render(u,l){l.rules.some(a.isPrimitive)&amp;&amp;(u.openNode(this.tag,{sqref:l.ref}),l.rules.forEach(i=&gt;{a.isPrimitive(i)&amp;&amp;(i.ref=l.ref,this.map.cfRule.render(u,i))}),u.closeNode())}createNewModel(u){let{attributes:l}=u;return{ref:l.sqref,rules:[]}}onParserClose(u,l){this.model.rules.push(l.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-xform&quot;:83}],87:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;./conditional-formatting-xform&quot;);n.exports=class extends s{constructor(){super(),this.cfXform=new a}get tag(){return&quot;conditionalFormatting&quot;}reset(){this.model=[]}prepare(u,l){let i=u.reduce((c,h)=&gt;Math.max(c,...h.rules.map(f=&gt;f.priority||0)),1);u.forEach(c=&gt;{c.rules.forEach(h=&gt;{h.priority||(h.priority=i++),h.style&amp;&amp;(h.dxfId=l.styles.addDxfStyle(h.style))})})}render(u,l){l.forEach(i=&gt;{this.cfXform.render(u,i)})}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):u.name===&quot;conditionalFormatting&quot;?(this.parser=this.cfXform,this.parser.parseOpen(u),!0):!1}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return!!this.parser&amp;&amp;(!!this.parser.parseClose(u)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(u,l){u.forEach(i=&gt;{i.rules.forEach(c=&gt;{c.dxfId!==void 0&amp;&amp;(c.style=l.styles.getDxfStyle(c.dxfId),delete c.dxfId)})})}}},{&quot;../../base-xform&quot;:32,&quot;./conditional-formatting-xform&quot;:86}],88:[function(t,n,o){const s=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;dataBar&quot;}render(l,i){l.openNode(this.tag),i.cfvo.forEach(c=&gt;{this.cfvoXform.render(l,c)}),this.colorXform.render(l,i.color),l.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(l,i){switch(l){case&quot;cfvo&quot;:this.model.cfvo.push(i.model);break;case&quot;color&quot;:this.model.color=i.model}}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],89:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;);class u extends s{get tag(){return&quot;x14:id&quot;}render(c,h){c.leafNode(this.tag,null,h)}parseOpen(){this.model=&quot;&quot;}parseText(c){this.model+=c}parseClose(c){return c!==this.tag}}class l extends a{constructor(){super(),this.map={&quot;x14:id&quot;:this.idXform=new u}}get tag(){return&quot;ext&quot;}render(c,h){c.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(c,h.x14Id),c.closeNode()}createNewModel(){return{}}onParserClose(c,h){this.model.x14Id=h.model}}n.exports=class extends a{constructor(){super(),this.map={ext:new l}}get tag(){return&quot;extLst&quot;}render(i,c){i.openNode(this.tag),this.map.ext.render(i,c),i.closeNode()}createNewModel(){return{}}onParserClose(i,c){Object.assign(this.model,c.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48}],90:[function(t,n,o){const s=t(&quot;../../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;formula&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],91:[function(t,n,o){const s=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={cfvo:this.cfvoXform=new u}}get tag(){return&quot;iconSet&quot;}render(l,i){l.openNode(this.tag,{iconSet:s.toStringAttribute(i.iconSet,&quot;3TrafficLights&quot;),reverse:s.toBoolAttribute(i.reverse,!1),showValue:s.toBoolAttribute(i.showValue,!0)}),i.cfvo.forEach(c=&gt;{this.cfvoXform.render(l,c)}),l.closeNode()}createNewModel(l){let{attributes:i}=l;return{iconSet:s.toStringValue(i.iconSet,&quot;3TrafficLights&quot;),reverse:s.toBoolValue(i.reverse),showValue:s.toBoolValue(i.showValue),cfvo:[]}}onParserClose(l,i){this.model[l].push(i.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cfvo-xform&quot;:84}],92:[function(t,n,o){const s=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;col&quot;}prepare(u,l){const i=l.styles.addStyleModel(u.style||{});i&amp;&amp;(u.styleId=i)}render(u,l){u.openNode(&quot;col&quot;),u.addAttribute(&quot;min&quot;,l.min),u.addAttribute(&quot;max&quot;,l.max),l.width&amp;&amp;u.addAttribute(&quot;width&quot;,l.width),l.styleId&amp;&amp;u.addAttribute(&quot;style&quot;,l.styleId),l.hidden&amp;&amp;u.addAttribute(&quot;hidden&quot;,&quot;1&quot;),l.bestFit&amp;&amp;u.addAttribute(&quot;bestFit&quot;,&quot;1&quot;),l.outlineLevel&amp;&amp;u.addAttribute(&quot;outlineLevel&quot;,l.outlineLevel),l.collapsed&amp;&amp;u.addAttribute(&quot;collapsed&quot;,&quot;1&quot;),u.addAttribute(&quot;customWidth&quot;,&quot;1&quot;),u.closeNode()}parseOpen(u){if(u.name===&quot;col&quot;){const l=this.model={min:parseInt(u.attributes.min||&quot;0&quot;,10),max:parseInt(u.attributes.max||&quot;0&quot;,10),width:u.attributes.width===void 0?void 0:parseFloat(u.attributes.width||&quot;0&quot;)};return u.attributes.style&amp;&amp;(l.styleId=parseInt(u.attributes.style,10)),s.parseBoolean(u.attributes.hidden)&amp;&amp;(l.hidden=!0),s.parseBoolean(u.attributes.bestFit)&amp;&amp;(l.bestFit=!0),u.attributes.outlineLevel&amp;&amp;(l.outlineLevel=parseInt(u.attributes.outlineLevel,10)),s.parseBoolean(u.attributes.collapsed)&amp;&amp;(l.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(u,l){u.styleId&amp;&amp;(u.style=l.styles.getStyleModel(u.styleId))}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],93:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=t(&quot;../base-xform&quot;),i=t(&quot;../../../doc/range&quot;);function c(f,d,v,y){const p=d[v];p!==void 0?f[v]=p:y!==void 0&amp;&amp;(f[v]=y)}function h(f,d,v,y){const p=d[v];p!==void 0&amp;&amp;(f[v]=a.parseBoolean(p))}n.exports=class extends l{get tag(){return&quot;dataValidations&quot;}render(f,d){const v=(function(y){const p=s.map(y,(_,E)=&gt;({address:E,dataValidation:_,marked:!1})).sort((_,E)=&gt;s.strcmp(_.address,E.address)),b=s.keyBy(p,&quot;address&quot;),x=(_,E,M)=&gt;{for(let D=0;D&lt;E;D++){const W=u.encodeAddress(_.row+D,M);if(!y[W]||!s.isEqual(y[_.address],y[W]))return!1}return!0};return p.map(_=&gt;{if(!_.marked){const E=u.decodeEx(_.address);if(E.dimensions)return b[E.dimensions].marked=!0,{..._.dataValidation,sqref:_.address};let M=1,D=u.encodeAddress(E.row+M,E.col);for(;y[D]&amp;&amp;s.isEqual(_.dataValidation,y[D]);)M++,D=u.encodeAddress(E.row+M,E.col);let W=1;for(;x(E,M,E.col+W);)W++;for(let L=0;L&lt;M;L++)for(let V=0;V&lt;W;V++)D=u.encodeAddress(E.row+L,E.col+V),b[D].marked=!0;if(M&gt;1||W&gt;1){const L=E.row+(M-1),V=E.col+(W-1);return{..._.dataValidation,sqref:`${_.address}:${u.encodeAddress(L,V)}`}}return{..._.dataValidation,sqref:_.address}}return null}).filter(Boolean)})(d);v.length&amp;&amp;(f.openNode(&quot;dataValidations&quot;,{count:v.length}),v.forEach(y=&gt;{f.openNode(&quot;dataValidation&quot;),y.type!==&quot;any&quot;&amp;&amp;(f.addAttribute(&quot;type&quot;,y.type),y.operator&amp;&amp;y.type!==&quot;list&quot;&amp;&amp;y.operator!==&quot;between&quot;&amp;&amp;f.addAttribute(&quot;operator&quot;,y.operator),y.allowBlank&amp;&amp;f.addAttribute(&quot;allowBlank&quot;,&quot;1&quot;)),y.showInputMessage&amp;&amp;f.addAttribute(&quot;showInputMessage&quot;,&quot;1&quot;),y.promptTitle&amp;&amp;f.addAttribute(&quot;promptTitle&quot;,y.promptTitle),y.prompt&amp;&amp;f.addAttribute(&quot;prompt&quot;,y.prompt),y.showErrorMessage&amp;&amp;f.addAttribute(&quot;showErrorMessage&quot;,&quot;1&quot;),y.errorStyle&amp;&amp;f.addAttribute(&quot;errorStyle&quot;,y.errorStyle),y.errorTitle&amp;&amp;f.addAttribute(&quot;errorTitle&quot;,y.errorTitle),y.error&amp;&amp;f.addAttribute(&quot;error&quot;,y.error),f.addAttribute(&quot;sqref&quot;,y.sqref),(y.formulae||[]).forEach((p,b)=&gt;{f.openNode(&quot;formula&quot;+(b+1)),y.type===&quot;date&quot;?f.writeText(a.dateToExcel(new Date(p))):f.writeText(p),f.closeNode()}),f.closeNode()}),f.closeNode())}parseOpen(f){switch(f.name){case&quot;dataValidations&quot;:return this.model={},!0;case&quot;dataValidation&quot;:{this._address=f.attributes.sqref;const d={type:f.attributes.type||&quot;any&quot;,formulae:[]};switch(f.attributes.type&amp;&amp;h(d,f.attributes,&quot;allowBlank&quot;),h(d,f.attributes,&quot;showInputMessage&quot;),h(d,f.attributes,&quot;showErrorMessage&quot;),d.type){case&quot;any&quot;:case&quot;list&quot;:case&quot;custom&quot;:break;default:c(d,f.attributes,&quot;operator&quot;,&quot;between&quot;)}return c(d,f.attributes,&quot;promptTitle&quot;),c(d,f.attributes,&quot;prompt&quot;),c(d,f.attributes,&quot;errorStyle&quot;),c(d,f.attributes,&quot;errorTitle&quot;),c(d,f.attributes,&quot;error&quot;),this._dataValidation=d,!0}case&quot;formula1&quot;:case&quot;formula2&quot;:return this._formula=[],!0;default:return!1}}parseText(f){this._formula&amp;&amp;this._formula.push(f)}parseClose(f){switch(f){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(d=&gt;{d.includes(&quot;:&quot;)?new i(d).forEachAddress(v=&gt;{this.model[v]=this._dataValidation}):this.model[d]=this._dataValidation}),!0;case&quot;formula1&quot;:case&quot;formula2&quot;:{let d=this._formula.join(&quot;&quot;);switch(this._dataValidation.type){case&quot;whole&quot;:case&quot;textLength&quot;:d=parseInt(d,10);break;case&quot;decimal&quot;:d=parseFloat(d);break;case&quot;date&quot;:d=a.excelToDate(parseFloat(d))}return this._dataValidation.formulae.push(d),this._formula=void 0,!0}default:return!0}}}},{&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],94:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;dimension&quot;}render(a,u){u&amp;&amp;a.leafNode(&quot;dimension&quot;,{ref:u})}parseOpen(a){return a.name===&quot;dimension&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],95:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;drawing&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],96:[function(t,n,o){const s=t(&quot;../composite-xform&quot;),a=t(&quot;./cf-ext/conditional-formattings-ext-xform&quot;);class u extends s{constructor(){super(),this.map={&quot;x14:conditionalFormattings&quot;:this.conditionalFormattings=new a}}get tag(){return&quot;ext&quot;}hasContent(i){return this.conditionalFormattings.hasContent(i.conditionalFormattings)}prepare(i,c){this.conditionalFormattings.prepare(i.conditionalFormattings,c)}render(i,c){i.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(i,c.conditionalFormattings),i.closeNode()}createNewModel(){return{}}onParserClose(i,c){this.model[i]=c.model}}n.exports=class extends s{constructor(){super(),this.map={ext:this.ext=new u}}get tag(){return&quot;extLst&quot;}prepare(l,i){this.ext.prepare(l,i)}hasContent(l){return this.ext.hasContent(l)}render(l,i){this.hasContent(i)&amp;&amp;(l.openNode(&quot;extLst&quot;),this.ext.render(l,i),l.closeNode())}createNewModel(){return{}}onParserClose(l,i){Object.assign(this.model,i.model)}}},{&quot;../composite-xform&quot;:48,&quot;./cf-ext/conditional-formattings-ext-xform&quot;:78}],97:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;headerFooter&quot;}render(a,u){if(u){a.addRollback();let l=!1;a.openNode(&quot;headerFooter&quot;),u.differentFirst&amp;&amp;(a.addAttribute(&quot;differentFirst&quot;,&quot;1&quot;),l=!0),u.differentOddEven&amp;&amp;(a.addAttribute(&quot;differentOddEven&quot;,&quot;1&quot;),l=!0),u.oddHeader&amp;&amp;typeof u.oddHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddHeader&quot;,null,u.oddHeader),l=!0),u.oddFooter&amp;&amp;typeof u.oddFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddFooter&quot;,null,u.oddFooter),l=!0),u.evenHeader&amp;&amp;typeof u.evenHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenHeader&quot;,null,u.evenHeader),l=!0),u.evenFooter&amp;&amp;typeof u.evenFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenFooter&quot;,null,u.evenFooter),l=!0),u.firstHeader&amp;&amp;typeof u.firstHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstHeader&quot;,null,u.firstHeader),l=!0),u.firstFooter&amp;&amp;typeof u.firstFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstFooter&quot;,null,u.firstFooter),l=!0),l?(a.closeNode(),a.commit()):a.rollback()}}parseOpen(a){switch(a.name){case&quot;headerFooter&quot;:return this.model={},a.attributes.differentFirst&amp;&amp;(this.model.differentFirst=parseInt(a.attributes.differentFirst,0)===1),a.attributes.differentOddEven&amp;&amp;(this.model.differentOddEven=parseInt(a.attributes.differentOddEven,0)===1),!0;case&quot;oddHeader&quot;:return this.currentNode=&quot;oddHeader&quot;,!0;case&quot;oddFooter&quot;:return this.currentNode=&quot;oddFooter&quot;,!0;case&quot;evenHeader&quot;:return this.currentNode=&quot;evenHeader&quot;,!0;case&quot;evenFooter&quot;:return this.currentNode=&quot;evenFooter&quot;,!0;case&quot;firstHeader&quot;:return this.currentNode=&quot;firstHeader&quot;,!0;case&quot;firstFooter&quot;:return this.currentNode=&quot;firstFooter&quot;,!0;default:return!1}}parseText(a){switch(this.currentNode){case&quot;oddHeader&quot;:this.model.oddHeader=a;break;case&quot;oddFooter&quot;:this.model.oddFooter=a;break;case&quot;evenHeader&quot;:this.model.evenHeader=a;break;case&quot;evenFooter&quot;:this.model.evenFooter=a;break;case&quot;firstHeader&quot;:this.model.firstHeader=a;break;case&quot;firstFooter&quot;:this.model.firstFooter=a}}parseClose(){switch(this.currentNode){case&quot;oddHeader&quot;:case&quot;oddFooter&quot;:case&quot;evenHeader&quot;:case&quot;evenFooter&quot;:case&quot;firstHeader&quot;:case&quot;firstFooter&quot;:return this.currentNode=void 0,!0;default:return!1}}}},{&quot;../base-xform&quot;:32}],98:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;hyperlink&quot;}render(a,u){this.isInternalLink(u)?a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip,location:u.target}):a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip})}parseOpen(a){return a.name===&quot;hyperlink&quot;&amp;&amp;(this.model={address:a.attributes.ref,rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip},a.attributes.location&amp;&amp;(this.model.target=a.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(a){return a.target&amp;&amp;/^[^!]+![a-zA-Z]+[\d]+$/.test(a.target)}}},{&quot;../base-xform&quot;:32}],99:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;mergeCell&quot;}render(a,u){a.leafNode(&quot;mergeCell&quot;,{ref:u})}parseOpen(a){return a.name===&quot;mergeCell&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],100:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../doc/range&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=t(&quot;../../../doc/enums&quot;);n.exports=class{constructor(){this.merges={}}add(i){if(this.merges[i.master])this.merges[i.master].expandToAddress(i.address);else{const c=`${i.master}:${i.address}`;this.merges[i.master]=new a(c)}}get mergeCells(){return s.map(this.merges,i=&gt;i.range)}reconcile(i,c){s.each(i,h=&gt;{const f=u.decode(h);for(let d=f.top;d&lt;=f.bottom;d++){const v=c[d-1];for(let y=f.left;y&lt;=f.right;y++){const p=v.cells[y-1];p?p.type===l.ValueType.Merge&amp;&amp;(p.master=f.tl):v.cells[y]={type:l.ValueType.Null,address:u.encodeAddress(d,y)}}}})}getMasterAddress(i){const c=this.hash[i];return c&amp;&amp;c.tl}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26}],101:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=u=&gt;u!==void 0;n.exports=class extends s{get tag(){return&quot;outlinePr&quot;}render(u,l){return!(!l||!a(l.summaryBelow)&amp;&amp;!a(l.summaryRight))&amp;&amp;(u.leafNode(this.tag,{summaryBelow:a(l.summaryBelow)?Number(l.summaryBelow):void 0,summaryRight:a(l.summaryRight)?Number(l.summaryRight):void 0}),!0)}parseOpen(u){return u.name===this.tag&amp;&amp;(this.model={summaryBelow:a(u.attributes.summaryBelow)?!!Number(u.attributes.summaryBelow):void 0,summaryRight:a(u.attributes.summaryRight)?!!Number(u.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],102:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;brk&quot;}render(a,u){a.leafNode(&quot;brk&quot;,u)}parseOpen(a){return a.name===&quot;brk&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],103:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;pageMargins&quot;}render(u,l){if(l){const i={left:l.left,right:l.right,top:l.top,bottom:l.bottom,header:l.header,footer:l.footer};s.some(i,c=&gt;c!==void 0)&amp;&amp;u.leafNode(this.tag,i)}}parseOpen(u){return u.name===this.tag?(this.model={left:parseFloat(u.attributes.left||.7),right:parseFloat(u.attributes.right||.7),top:parseFloat(u.attributes.top||.75),bottom:parseFloat(u.attributes.bottom||.75),header:parseFloat(u.attributes.header||.3),footer:parseFloat(u.attributes.footer||.3)},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],104:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;pageSetUpPr&quot;}render(a,u){return!(!u||!u.fitToPage)&amp;&amp;(a.leafNode(this.tag,{fitToPage:u.fitToPage?&quot;1&quot;:void 0}),!0)}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={fitToPage:a.attributes.fitToPage===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],105:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(h){return h?&quot;1&quot;:void 0}function l(h){if(h===&quot;overThenDown&quot;)return h}function i(h){switch(h){case&quot;atEnd&quot;:case&quot;asDisplyed&quot;:return h;default:return}}function c(h){switch(h){case&quot;dash&quot;:case&quot;blank&quot;:case&quot;NA&quot;:return h;default:return}}n.exports=class extends a{get tag(){return&quot;pageSetup&quot;}render(h,f){if(f){const d={paperSize:f.paperSize,orientation:f.orientation,horizontalDpi:f.horizontalDpi,verticalDpi:f.verticalDpi,pageOrder:l(f.pageOrder),blackAndWhite:u(f.blackAndWhite),draft:u(f.draft),cellComments:i(f.cellComments),errors:c(f.errors),scale:f.scale,fitToWidth:f.fitToWidth,fitToHeight:f.fitToHeight,firstPageNumber:f.firstPageNumber,useFirstPageNumber:u(f.firstPageNumber),usePrinterDefaults:u(f.usePrinterDefaults),copies:f.copies};s.some(d,v=&gt;v!==void 0)&amp;&amp;h.leafNode(this.tag,d)}}parseOpen(h){if(h.name===this.tag)return this.model={paperSize:(f=h.attributes.paperSize,f!==void 0?parseInt(f,10):void 0),orientation:h.attributes.orientation||&quot;portrait&quot;,horizontalDpi:parseInt(h.attributes.horizontalDpi||&quot;4294967295&quot;,10),verticalDpi:parseInt(h.attributes.verticalDpi||&quot;4294967295&quot;,10),pageOrder:h.attributes.pageOrder||&quot;downThenOver&quot;,blackAndWhite:h.attributes.blackAndWhite===&quot;1&quot;,draft:h.attributes.draft===&quot;1&quot;,cellComments:h.attributes.cellComments||&quot;None&quot;,errors:h.attributes.errors||&quot;displayed&quot;,scale:parseInt(h.attributes.scale||&quot;100&quot;,10),fitToWidth:parseInt(h.attributes.fitToWidth||&quot;1&quot;,10),fitToHeight:parseInt(h.attributes.fitToHeight||&quot;1&quot;,10),firstPageNumber:parseInt(h.attributes.firstPageNumber||&quot;1&quot;,10),useFirstPageNumber:h.attributes.useFirstPageNumber===&quot;1&quot;,usePrinterDefaults:h.attributes.usePrinterDefaults===&quot;1&quot;,copies:parseInt(h.attributes.copies||&quot;1&quot;,10)},!0;return!1;var f}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],106:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;picture&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],107:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(l){return l?&quot;1&quot;:void 0}n.exports=class extends a{get tag(){return&quot;printOptions&quot;}render(l,i){if(i){const c={headings:u(i.showRowColHeaders),gridLines:u(i.showGridLines),horizontalCentered:u(i.horizontalCentered),verticalCentered:u(i.verticalCentered)};s.some(c,h=&gt;h!==void 0)&amp;&amp;l.leafNode(this.tag,c)}}parseOpen(l){return l.name===this.tag?(this.model={showRowColHeaders:l.attributes.headings===&quot;1&quot;,showGridLines:l.attributes.gridLines===&quot;1&quot;,horizontalCentered:l.attributes.horizontalCentered===&quot;1&quot;,verticalCentered:l.attributes.verticalCentered===&quot;1&quot;},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],108:[function(t,n,o){const s=t(&quot;./page-breaks-xform&quot;),a=t(&quot;../list-xform&quot;);n.exports=class extends a{constructor(){super({tag:&quot;rowBreaks&quot;,count:!0,childXform:new s})}render(u,l){if(l&amp;&amp;l.length){u.openNode(this.tag,this.$),this.count&amp;&amp;(u.addAttribute(this.$count,l.length),u.addAttribute(&quot;manualBreakCount&quot;,l.length));const{childXform:i}=this;l.forEach(c=&gt;{i.render(u,c)}),u.closeNode()}else this.empty&amp;&amp;u.leafNode(this.tag)}}},{&quot;../list-xform&quot;:71,&quot;./page-breaks-xform&quot;:102}],109:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./cell-xform&quot;);n.exports=class extends s{constructor(l){super(),this.maxItems=l&amp;&amp;l.maxItems,this.map={c:new u}}get tag(){return&quot;row&quot;}prepare(l,i){const c=i.styles.addStyleModel(l.style);c&amp;&amp;(l.styleId=c);const h=this.map.c;l.cells.forEach(f=&gt;{h.prepare(f,i)})}render(l,i,c){l.openNode(&quot;row&quot;),l.addAttribute(&quot;r&quot;,i.number),i.height&amp;&amp;(l.addAttribute(&quot;ht&quot;,i.height),l.addAttribute(&quot;customHeight&quot;,&quot;1&quot;)),i.hidden&amp;&amp;l.addAttribute(&quot;hidden&quot;,&quot;1&quot;),i.min&gt;0&amp;&amp;i.max&gt;0&amp;&amp;i.min&lt;=i.max&amp;&amp;l.addAttribute(&quot;spans&quot;,`${i.min}:${i.max}`),i.styleId&amp;&amp;(l.addAttribute(&quot;s&quot;,i.styleId),l.addAttribute(&quot;customFormat&quot;,&quot;1&quot;)),l.addAttribute(&quot;x14ac:dyDescent&quot;,&quot;0.25&quot;),i.outlineLevel&amp;&amp;l.addAttribute(&quot;outlineLevel&quot;,i.outlineLevel),i.collapsed&amp;&amp;l.addAttribute(&quot;collapsed&quot;,&quot;1&quot;);const h=this.map.c;i.cells.forEach(f=&gt;{h.render(l,f,c)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;if(l.name===&quot;row&quot;){this.numRowsSeen+=1;const i=l.attributes.spans?l.attributes.spans.split(&quot;:&quot;).map(h=&gt;parseInt(h,10)):[void 0,void 0],c=this.model={number:parseInt(l.attributes.r,10),min:i[0],max:i[1],cells:[]};return l.attributes.s&amp;&amp;(c.styleId=parseInt(l.attributes.s,10)),a.parseBoolean(l.attributes.hidden)&amp;&amp;(c.hidden=!0),a.parseBoolean(l.attributes.bestFit)&amp;&amp;(c.bestFit=!0),l.attributes.ht&amp;&amp;(c.height=parseFloat(l.attributes.ht)),l.attributes.outlineLevel&amp;&amp;(c.outlineLevel=parseInt(l.attributes.outlineLevel,10)),a.parseBoolean(l.attributes.collapsed)&amp;&amp;(c.collapsed=!0),!0}return this.parser=this.map[l.name],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0)}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){if(this.model.cells.push(this.parser.model),this.maxItems&amp;&amp;this.model.cells.length&gt;this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(l,i){l.style=l.styleId?i.styles.getStyleModel(l.styleId):{},l.styleId!==void 0&amp;&amp;(l.styleId=void 0);const c=this.map.c;l.cells.forEach(h=&gt;{c.reconcile(h,i)})}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./cell-xform&quot;:73}],110:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;sheetFormatPr&quot;}render(u,l){if(l){const i={defaultRowHeight:l.defaultRowHeight,outlineLevelRow:l.outlineLevelRow,outlineLevelCol:l.outlineLevelCol,&quot;x14ac:dyDescent&quot;:l.dyDescent};l.defaultColWidth&amp;&amp;(i.defaultColWidth=l.defaultColWidth),l.defaultRowHeight&amp;&amp;l.defaultRowHeight===15||(i.customHeight=&quot;1&quot;),s.some(i,c=&gt;c!==void 0)&amp;&amp;u.leafNode(&quot;sheetFormatPr&quot;,i)}}parseOpen(u){return u.name===&quot;sheetFormatPr&quot;&amp;&amp;(this.model={defaultRowHeight:parseFloat(u.attributes.defaultRowHeight||&quot;0&quot;),dyDescent:parseFloat(u.attributes[&quot;x14ac:dyDescent&quot;]||&quot;0&quot;),outlineLevelRow:parseInt(u.attributes.outlineLevelRow||&quot;0&quot;,10),outlineLevelCol:parseInt(u.attributes.outlineLevelCol||&quot;0&quot;,10)},u.attributes.defaultColWidth&amp;&amp;(this.model.defaultColWidth=parseFloat(u.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],111:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../style/color-xform&quot;),u=t(&quot;./page-setup-properties-xform&quot;),l=t(&quot;./outline-properties-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={tabColor:new a(&quot;tabColor&quot;),pageSetUpPr:new u,outlinePr:new l}}get tag(){return&quot;sheetPr&quot;}render(i,c){if(c){i.addRollback(),i.openNode(&quot;sheetPr&quot;);let h=!1;h=this.map.tabColor.render(i,c.tabColor)||h,h=this.map.pageSetUpPr.render(i,c.pageSetup)||h,h=this.map.outlinePr.render(i,c.outlineProperties)||h,h?(i.closeNode(),i.commit()):i.rollback()}}parseOpen(i){return this.parser?(this.parser.parseOpen(i),!0):i.name===this.tag?(this.reset(),!0):!!this.map[i.name]&amp;&amp;(this.parser=this.map[i.name],this.parser.parseOpen(i),!0)}parseText(i){return!!this.parser&amp;&amp;(this.parser.parseText(i),!0)}parseClose(i){return this.parser?(this.parser.parseClose(i)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&amp;&amp;(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&amp;&amp;(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&amp;&amp;(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{&quot;../base-xform&quot;:32,&quot;../style/color-xform&quot;:128,&quot;./outline-properties-xform&quot;:101,&quot;./page-setup-properties-xform&quot;:104}],112:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(i,c){return i?c:void 0}function l(i,c){return i===c||void 0}n.exports=class extends a{get tag(){return&quot;sheetProtection&quot;}render(i,c){if(c){const h={sheet:u(c.sheet,&quot;1&quot;),selectLockedCells:c.selectLockedCells===!1?&quot;1&quot;:void 0,selectUnlockedCells:c.selectUnlockedCells===!1?&quot;1&quot;:void 0,formatCells:u(c.formatCells,&quot;0&quot;),formatColumns:u(c.formatColumns,&quot;0&quot;),formatRows:u(c.formatRows,&quot;0&quot;),insertColumns:u(c.insertColumns,&quot;0&quot;),insertRows:u(c.insertRows,&quot;0&quot;),insertHyperlinks:u(c.insertHyperlinks,&quot;0&quot;),deleteColumns:u(c.deleteColumns,&quot;0&quot;),deleteRows:u(c.deleteRows,&quot;0&quot;),sort:u(c.sort,&quot;0&quot;),autoFilter:u(c.autoFilter,&quot;0&quot;),pivotTables:u(c.pivotTables,&quot;0&quot;)};c.sheet&amp;&amp;(h.algorithmName=c.algorithmName,h.hashValue=c.hashValue,h.saltValue=c.saltValue,h.spinCount=c.spinCount,h.objects=u(c.objects===!1,&quot;1&quot;),h.scenarios=u(c.scenarios===!1,&quot;1&quot;)),s.some(h,f=&gt;f!==void 0)&amp;&amp;i.leafNode(this.tag,h)}}parseOpen(i){return i.name===this.tag?(this.model={sheet:l(i.attributes.sheet,&quot;1&quot;),objects:i.attributes.objects!==&quot;1&quot;&amp;&amp;void 0,scenarios:i.attributes.scenarios!==&quot;1&quot;&amp;&amp;void 0,selectLockedCells:i.attributes.selectLockedCells!==&quot;1&quot;&amp;&amp;void 0,selectUnlockedCells:i.attributes.selectUnlockedCells!==&quot;1&quot;&amp;&amp;void 0,formatCells:l(i.attributes.formatCells,&quot;0&quot;),formatColumns:l(i.attributes.formatColumns,&quot;0&quot;),formatRows:l(i.attributes.formatRows,&quot;0&quot;),insertColumns:l(i.attributes.insertColumns,&quot;0&quot;),insertRows:l(i.attributes.insertRows,&quot;0&quot;),insertHyperlinks:l(i.attributes.insertHyperlinks,&quot;0&quot;),deleteColumns:l(i.attributes.deleteColumns,&quot;0&quot;),deleteRows:l(i.attributes.deleteRows,&quot;0&quot;),sort:l(i.attributes.sort,&quot;0&quot;),autoFilter:l(i.attributes.autoFilter,&quot;0&quot;),pivotTables:l(i.attributes.pivotTables,&quot;0&quot;)},i.attributes.algorithmName&amp;&amp;(this.model.algorithmName=i.attributes.algorithmName,this.model.hashValue=i.attributes.hashValue,this.model.saltValue=i.attributes.saltValue,this.model.spinCount=parseInt(i.attributes.spinCount,10)),!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],113:[function(t,n,o){const s=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;),u={frozen:&quot;frozen&quot;,frozenSplit:&quot;frozen&quot;,split:&quot;split&quot;};n.exports=class extends a{get tag(){return&quot;sheetView&quot;}prepare(l){switch(l.state){case&quot;frozen&quot;:case&quot;split&quot;:break;default:l.state=&quot;normal&quot;}}render(l,i){l.openNode(&quot;sheetView&quot;,{workbookViewId:i.workbookViewId||0});const c=function(y,p,b){b&amp;&amp;l.addAttribute(y,p)};let h,f,d,v;switch(c(&quot;rightToLeft&quot;,&quot;1&quot;,i.rightToLeft===!0),c(&quot;tabSelected&quot;,&quot;1&quot;,i.tabSelected),c(&quot;showRuler&quot;,&quot;0&quot;,i.showRuler===!1),c(&quot;showRowColHeaders&quot;,&quot;0&quot;,i.showRowColHeaders===!1),c(&quot;showGridLines&quot;,&quot;0&quot;,i.showGridLines===!1),c(&quot;zoomScale&quot;,i.zoomScale,i.zoomScale),c(&quot;zoomScaleNormal&quot;,i.zoomScaleNormal,i.zoomScaleNormal),c(&quot;view&quot;,i.style,i.style),i.state){case&quot;frozen&quot;:f=i.xSplit||0,d=i.ySplit||0,h=i.topLeftCell||s.getAddress(d+1,f+1).address,v=(i.xSplit&amp;&amp;i.ySplit?&quot;bottomRight&quot;:i.xSplit&amp;&amp;&quot;topRight&quot;)||&quot;bottomLeft&quot;,l.leafNode(&quot;pane&quot;,{xSplit:i.xSplit||void 0,ySplit:i.ySplit||void 0,topLeftCell:h,activePane:v,state:&quot;frozen&quot;}),l.leafNode(&quot;selection&quot;,{pane:v,activeCell:i.activeCell,sqref:i.activeCell});break;case&quot;split&quot;:i.activePane===&quot;topLeft&quot;&amp;&amp;(i.activePane=void 0),l.leafNode(&quot;pane&quot;,{xSplit:i.xSplit||void 0,ySplit:i.ySplit||void 0,topLeftCell:i.topLeftCell,activePane:i.activePane}),l.leafNode(&quot;selection&quot;,{pane:i.activePane,activeCell:i.activeCell,sqref:i.activeCell});break;case&quot;normal&quot;:i.activeCell&amp;&amp;l.leafNode(&quot;selection&quot;,{activeCell:i.activeCell,sqref:i.activeCell})}l.closeNode()}parseOpen(l){switch(l.name){case&quot;sheetView&quot;:return this.sheetView={workbookViewId:parseInt(l.attributes.workbookViewId,10),rightToLeft:l.attributes.rightToLeft===&quot;1&quot;,tabSelected:l.attributes.tabSelected===&quot;1&quot;,showRuler:l.attributes.showRuler!==&quot;0&quot;,showRowColHeaders:l.attributes.showRowColHeaders!==&quot;0&quot;,showGridLines:l.attributes.showGridLines!==&quot;0&quot;,zoomScale:parseInt(l.attributes.zoomScale||&quot;100&quot;,10),zoomScaleNormal:parseInt(l.attributes.zoomScaleNormal||&quot;100&quot;,10),style:l.attributes.view},this.pane=void 0,this.selections={},!0;case&quot;pane&quot;:return this.pane={xSplit:parseInt(l.attributes.xSplit||&quot;0&quot;,10),ySplit:parseInt(l.attributes.ySplit||&quot;0&quot;,10),topLeftCell:l.attributes.topLeftCell,activePane:l.attributes.activePane||&quot;topLeft&quot;,state:l.attributes.state},!0;case&quot;selection&quot;:{const i=l.attributes.pane||&quot;topLeft&quot;;return this.selections[i]={pane:i,activeCell:l.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(l){let i,c;return l===&quot;sheetView&quot;?(this.sheetView&amp;&amp;this.pane?(i=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;(i.activePane=this.pane.activePane),c=this.selections[this.pane.activePane],c&amp;&amp;c.activeCell&amp;&amp;(i.activeCell=c.activeCell),this.sheetView.style&amp;&amp;(i.style=this.sheetView.style)):(i=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},c=this.selections.topLeft,c&amp;&amp;c.activeCell&amp;&amp;(i.activeCell=c.activeCell),this.sheetView.style&amp;&amp;(i.style=this.sheetView.style)),!1):!0}reconcile(){}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],114:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;tablePart&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],115:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../../rel-type&quot;),i=t(&quot;./merges&quot;),c=t(&quot;../base-xform&quot;),h=t(&quot;../list-xform&quot;),f=t(&quot;./row-xform&quot;),d=t(&quot;./col-xform&quot;),v=t(&quot;./dimension-xform&quot;),y=t(&quot;./hyperlink-xform&quot;),p=t(&quot;./merge-cell-xform&quot;),b=t(&quot;./data-validations-xform&quot;),x=t(&quot;./sheet-properties-xform&quot;),_=t(&quot;./sheet-format-properties-xform&quot;),E=t(&quot;./sheet-view-xform&quot;),M=t(&quot;./sheet-protection-xform&quot;),D=t(&quot;./page-margins-xform&quot;),W=t(&quot;./page-setup-xform&quot;),L=t(&quot;./print-options-xform&quot;),V=t(&quot;./auto-filter-xform&quot;),H=t(&quot;./picture-xform&quot;),K=t(&quot;./drawing-xform&quot;),z=t(&quot;./table-part-xform&quot;),O=t(&quot;./row-breaks-xform&quot;),I=t(&quot;./header-footer-xform&quot;),C=t(&quot;./cf/conditional-formattings-xform&quot;),j=t(&quot;./ext-lst-xform&quot;),k=(N,T)=&gt;{if(!T||!T.length)return N;if(!N||!N.length)return T;const R={},B={};return N.forEach(Y=&gt;{R[Y.ref]=Y,Y.rules.forEach(Z=&gt;{const{x14Id:ne}=Z;ne&amp;&amp;(B[ne]=Z)})}),T.forEach(Y=&gt;{Y.rules.forEach(Z=&gt;{const ne=B[Z.x14Id];ne?((U,ee)=&gt;{Object.keys(ee).forEach(F=&gt;{const P=U[F],X=ee[F];P===void 0&amp;&amp;X!==void 0&amp;&amp;(U[F]=X)})})(ne,Z):R[Y.ref]?R[Y.ref].rules.push(Z):N.push({ref:Y.ref,rules:[Z]})})}),N};class S extends c{constructor(T){super();const{maxRows:R,maxCols:B,ignoreNodes:Y}=T||{};this.ignoreNodes=Y||[],this.map={sheetPr:new x,dimension:new v,sheetViews:new h({tag:&quot;sheetViews&quot;,count:!1,childXform:new E}),sheetFormatPr:new _,cols:new h({tag:&quot;cols&quot;,count:!1,childXform:new d}),sheetData:new h({tag:&quot;sheetData&quot;,count:!1,empty:!0,childXform:new f({maxItems:B}),maxItems:R}),autoFilter:new V,mergeCells:new h({tag:&quot;mergeCells&quot;,count:!0,childXform:new p}),rowBreaks:new O,hyperlinks:new h({tag:&quot;hyperlinks&quot;,count:!1,childXform:new y}),pageMargins:new D,dataValidations:new b,pageSetup:new W,headerFooter:new I,printOptions:new L,picture:new H,drawing:new K,sheetProtection:new M,tableParts:new h({tag:&quot;tableParts&quot;,count:!0,childXform:new z}),conditionalFormatting:new C,extLst:new j}}prepare(T,R){R.merges=new i,T.hyperlinks=R.hyperlinks=[],T.comments=R.comments=[],R.formulae={},R.siFormulae=0,this.map.cols.prepare(T.cols,R),this.map.sheetData.prepare(T.rows,R),this.map.conditionalFormatting.prepare(T.conditionalFormattings,R),T.mergeCells=R.merges.mergeCells;const B=T.rels=[];function Y(U){return&quot;rId&quot;+(U.length+1)}if(T.hyperlinks.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Hyperlink,Target:U.target,TargetMode:&quot;External&quot;})}),T.comments.length&gt;0){const U={Id:Y(B),Type:l.Comments,Target:`../comments${T.id}.xml`};B.push(U);const ee={Id:Y(B),Type:l.VmlDrawing,Target:`../drawings/vmlDrawing${T.id}.vml`};B.push(ee),T.comments.forEach(F=&gt;{F.refAddress=a.decodeAddress(F.ref)}),R.commentRefs.push({commentName:&quot;comments&quot;+T.id,vmlDrawing:&quot;vmlDrawing&quot;+T.id})}const Z=[];let ne;T.media.forEach(U=&gt;{if(U.type===&quot;background&quot;){const ee=Y(B);ne=R.media[U.imageId],B.push({Id:ee,Type:l.Image,Target:`../media/${ne.name}.${ne.extension}`}),T.background={rId:ee},T.image=R.media[U.imageId]}else if(U.type===&quot;image&quot;){let{drawing:ee}=T;ne=R.media[U.imageId],ee||(ee=T.drawing={rId:Y(B),name:&quot;drawing&quot;+ ++R.drawingsCount,anchors:[],rels:[]},R.drawings.push(ee),B.push({Id:ee.rId,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing&quot;,Target:`../drawings/${ee.name}.xml`}));let F=this.preImageId===U.imageId?Z[U.imageId]:Z[ee.rels.length];F||(F=Y(ee.rels),Z[ee.rels.length]=F,ee.rels.push({Id:F,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,Target:`../media/${ne.name}.${ne.extension}`}));const P={picture:{rId:F},range:U.range};if(U.hyperlinks&amp;&amp;U.hyperlinks.hyperlink){const X=Y(ee.rels);Z[ee.rels.length]=X,P.picture.hyperlinks={tooltip:U.hyperlinks.tooltip,rId:X},ee.rels.push({Id:X,Type:l.Hyperlink,Target:U.hyperlinks.hyperlink,TargetMode:&quot;External&quot;})}this.preImageId=U.imageId,ee.anchors.push(P)}}),T.tables.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Table,Target:&quot;../tables/&quot;+U.target}),U.columns.forEach(F=&gt;{const{style:P}=F;P&amp;&amp;(F.dxfId=R.styles.addDxfStyle(P))})}),this.map.extLst.prepare(T,R)}render(T,R){T.openXml(u.StdDocAttributes),T.openNode(&quot;worksheet&quot;,S.WORKSHEET_ATTRIBUTES);const B=R.properties?{defaultRowHeight:R.properties.defaultRowHeight,dyDescent:R.properties.dyDescent,outlineLevelCol:R.properties.outlineLevelCol,outlineLevelRow:R.properties.outlineLevelRow}:void 0;R.properties&amp;&amp;R.properties.defaultColWidth&amp;&amp;(B.defaultColWidth=R.properties.defaultColWidth);const Y={outlineProperties:R.properties&amp;&amp;R.properties.outlineProperties,tabColor:R.properties&amp;&amp;R.properties.tabColor,pageSetup:R.pageSetup&amp;&amp;R.pageSetup.fitToPage?{fitToPage:R.pageSetup.fitToPage}:void 0},Z=R.pageSetup&amp;&amp;R.pageSetup.margins,ne={showRowColHeaders:R.pageSetup&amp;&amp;R.pageSetup.showRowColHeaders,showGridLines:R.pageSetup&amp;&amp;R.pageSetup.showGridLines,horizontalCentered:R.pageSetup&amp;&amp;R.pageSetup.horizontalCentered,verticalCentered:R.pageSetup&amp;&amp;R.pageSetup.verticalCentered},U=R.sheetProtection;this.map.sheetPr.render(T,Y),this.map.dimension.render(T,R.dimensions),this.map.sheetViews.render(T,R.views),this.map.sheetFormatPr.render(T,B),this.map.cols.render(T,R.cols),this.map.sheetData.render(T,R.rows),this.map.sheetProtection.render(T,U),this.map.autoFilter.render(T,R.autoFilter),this.map.mergeCells.render(T,R.mergeCells),this.map.conditionalFormatting.render(T,R.conditionalFormattings),this.map.dataValidations.render(T,R.dataValidations),this.map.hyperlinks.render(T,R.hyperlinks),this.map.printOptions.render(T,ne),this.map.pageMargins.render(T,Z),this.map.pageSetup.render(T,R.pageSetup),this.map.headerFooter.render(T,R.headerFooter),this.map.rowBreaks.render(T,R.rowBreaks),this.map.drawing.render(T,R.drawing),this.map.picture.render(T,R.background),this.map.tableParts.render(T,R.tables),this.map.extLst.render(T,R),R.rels&amp;&amp;R.rels.forEach(ee=&gt;{ee.Type===l.VmlDrawing&amp;&amp;T.leafNode(&quot;legacyDrawing&quot;,{&quot;r:id&quot;:ee.Id})}),T.closeNode()}parseOpen(T){return this.parser?(this.parser.parseOpen(T),!0):T.name===&quot;worksheet&quot;?(s.each(this.map,R=&gt;{R.reset()}),!0):(this.map[T.name]&amp;&amp;!this.ignoreNodes.includes(T.name)&amp;&amp;(this.parser=this.map[T.name],this.parser.parseOpen(T)),!0)}parseText(T){this.parser&amp;&amp;this.parser.parseText(T)}parseClose(T){if(this.parser)return this.parser.parseClose(T)||(this.parser=void 0),!0;if(T===&quot;worksheet&quot;){const R=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.tabColor&amp;&amp;(R.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.outlineProperties&amp;&amp;(R.outlineProperties=this.map.sheetPr.model.outlineProperties);const B={fitToPage:this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.pageSetup&amp;&amp;this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(B,this.map.pageSetup.model,this.map.printOptions.model),Z=k(this.map.conditionalFormatting.model,this.map.extLst.model&amp;&amp;this.map.extLst.model[&quot;x14:conditionalFormattings&quot;]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:R,views:this.map.sheetViews.model,pageSetup:Y,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Z},this.map.autoFilter.model&amp;&amp;(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&amp;&amp;(this.model.sheetProtection=this.map.sheetProtection.model),!1}else return!0}reconcile(T,R){const B=(T.relationships||[]).reduce((Z,ne)=&gt;{if(Z[ne.Id]=ne,ne.Type===l.Comments&amp;&amp;(T.comments=R.comments[ne.Target].comments),ne.Type===l.VmlDrawing&amp;&amp;T.comments&amp;&amp;T.comments.length){const U=R.vmlDrawings[ne.Target].comments;T.comments.forEach((ee,F)=&gt;{ee.note=Object.assign({},ee.note,U[F])})}return Z},{});if(R.commentsMap=(T.comments||[]).reduce((Z,ne)=&gt;(ne.ref&amp;&amp;(Z[ne.ref]=ne),Z),{}),R.hyperlinkMap=(T.hyperlinks||[]).reduce((Z,ne)=&gt;(ne.rId&amp;&amp;(Z[ne.address]=B[ne.rId].Target),Z),{}),R.formulae={},T.rows=T.rows&amp;&amp;T.rows.filter(Boolean)||[],T.rows.forEach(Z=&gt;{Z.cells=Z.cells&amp;&amp;Z.cells.filter(Boolean)||[]}),this.map.cols.reconcile(T.cols,R),this.map.sheetData.reconcile(T.rows,R),this.map.conditionalFormatting.reconcile(T.conditionalFormattings,R),T.media=[],T.drawing){const Z=B[T.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Z){const ne=Z[1];R.drawings[ne].anchors.forEach(U=&gt;{if(U.medium){const ee={type:&quot;image&quot;,imageId:U.medium.index,range:U.range,hyperlinks:U.picture.hyperlinks};T.media.push(ee)}})}}const Y=T.background&amp;&amp;B[T.background.rId];if(Y){const Z=Y.Target.split(&quot;/media/&quot;)[1],ne=R.mediaIndex&amp;&amp;R.mediaIndex[Z];ne!==void 0&amp;&amp;T.media.push({type:&quot;background&quot;,imageId:ne})}T.tables=(T.tables||[]).map(Z=&gt;{const ne=B[Z.rId];return R.tables[ne.Target]}),delete T.relationships,delete T.hyperlinks,delete T.comments}}S.WORKSHEET_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x14ac&quot;,&quot;xmlns:x14ac&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac&quot;},n.exports=S},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../../rel-type&quot;:31,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:72,&quot;./cf/conditional-formattings-xform&quot;:87,&quot;./col-xform&quot;:92,&quot;./data-validations-xform&quot;:93,&quot;./dimension-xform&quot;:94,&quot;./drawing-xform&quot;:95,&quot;./ext-lst-xform&quot;:96,&quot;./header-footer-xform&quot;:97,&quot;./hyperlink-xform&quot;:98,&quot;./merge-cell-xform&quot;:99,&quot;./merges&quot;:100,&quot;./page-margins-xform&quot;:103,&quot;./page-setup-xform&quot;:105,&quot;./picture-xform&quot;:106,&quot;./print-options-xform&quot;:107,&quot;./row-breaks-xform&quot;:108,&quot;./row-xform&quot;:109,&quot;./sheet-format-properties-xform&quot;:110,&quot;./sheet-properties-xform&quot;:111,&quot;./sheet-protection-xform&quot;:112,&quot;./sheet-view-xform&quot;:113,&quot;./table-part-xform&quot;:114}],116:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.attr=a.attr}render(a,u){u&amp;&amp;(a.openNode(this.tag),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.model=!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],117:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this._format=a.format||function(u){try{return Number.isNaN(u.getTime())?&quot;&quot;:u.toISOString()}catch{return&quot;&quot;}},this._parse=a.parse||function(u){return new Date(u)}}render(a,u){u&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,this._format(u)):a.writeText(this._format(u)),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=this._parse(a.attributes[this.attr]):this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(&quot;&quot;))),!1}}},{&quot;../base-xform&quot;:32}],118:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this.zero=a.zero}render(a,u){(u||this.zero)&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){return a.name===this.tag&amp;&amp;(this.attr?this.model=parseInt(a.attributes[this.attr],10):this.text=[],!0)}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=parseInt(this.text.join(&quot;&quot;)||0,10)),!1}}},{&quot;../base-xform&quot;:32}],119:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs}render(a,u){u!==void 0&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=a.attributes[this.attr]:this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this.text.join(&quot;&quot;)),!1}}},{&quot;../base-xform&quot;:32}],120:[function(t,n,o){const s=t(&quot;./base-xform&quot;),a=t(&quot;../../utils/xml-stream&quot;);n.exports=class extends s{constructor(u){super(),this._model=u}render(u){if(!this._xml){const l=new a;(function i(c,h){c.openNode(h.tag,h.$),h.c&amp;&amp;h.c.forEach(f=&gt;{i(c,f)}),h.t&amp;&amp;c.writeText(h.t),c.closeNode()})(l,this._model),this._xml=l.xml}u.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(u){return u!==this._model.tag}}},{&quot;../../utils/xml-stream&quot;:28,&quot;./base-xform&quot;:32}],121:[function(t,n,o){const s=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;../base-xform&quot;);n.exports=class extends u{constructor(){super(),this.map={r:new a,t:new s}}get tag(){return&quot;rPh&quot;}render(l,i){if(l.openNode(this.tag,{sb:i.sb||0,eb:i.eb||0}),i&amp;&amp;i.hasOwnProperty(&quot;richText&quot;)&amp;&amp;i.richText){const{r:c}=this.map;i.richText.forEach(h=&gt;{c.render(l,h)})}else i&amp;&amp;this.map.t.render(l,i.text);l.closeNode()}parseOpen(l){const{name:i}=l;return this.parser?(this.parser.parseOpen(l),!0):i===this.tag?(this.model={sb:parseInt(l.attributes.sb,10),eb:parseInt(l.attributes.eb,10)},!0):(this.parser=this.map[i],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0))}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){switch(l){case&quot;r&quot;:{let i=this.model.richText;i||(i=this.model.richText=[]),i.push(this.parser.model);break}case&quot;t&quot;:this.model.text=this.parser.model}this.parser=void 0}return!0}return l!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],122:[function(t,n,o){const s=t(&quot;./text-xform&quot;),a=t(&quot;../style/font-xform&quot;),u=t(&quot;../base-xform&quot;);class l extends u{constructor(c){super(),this.model=c}get tag(){return&quot;r&quot;}get textXform(){return this._textXform||(this._textXform=new s)}get fontXform(){return this._fontXform||(this._fontXform=new a(l.FONT_OPTIONS))}render(c,h){h=h||this.model,c.openNode(&quot;r&quot;),h.font&amp;&amp;this.fontXform.render(c,h.font),this.textXform.render(c,h.text),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;r&quot;:return this.model={},!0;case&quot;t&quot;:return this.parser=this.textXform,this.parser.parseOpen(c),!0;case&quot;rPr&quot;:return this.parser=this.fontXform,this.parser.parseOpen(c),!0;default:return!1}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){switch(c){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(c),!0}}}l.FONT_OPTIONS={tagName:&quot;rPr&quot;,fontNameTag:&quot;rFont&quot;},n.exports=l},{&quot;../base-xform&quot;:32,&quot;../style/font-xform&quot;:131,&quot;./text-xform&quot;:125}],123:[function(t,n,o){const s=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;./phonetic-text-xform&quot;),l=t(&quot;../base-xform&quot;);n.exports=class extends l{constructor(i){super(),this.model=i,this.map={r:new a,t:new s,rPh:new u}}get tag(){return&quot;si&quot;}render(i,c){i.openNode(this.tag),c&amp;&amp;c.hasOwnProperty(&quot;richText&quot;)&amp;&amp;c.richText?c.richText.length?c.richText.forEach(h=&gt;{this.map.r.render(i,h)}):this.map.t.render(i,&quot;&quot;):c!=null&amp;&amp;this.map.t.render(i,c),i.closeNode()}parseOpen(i){const{name:c}=i;return this.parser?(this.parser.parseOpen(i),!0):c===this.tag?(this.model={},!0):(this.parser=this.map[c],!!this.parser&amp;&amp;(this.parser.parseOpen(i),!0))}parseText(i){this.parser&amp;&amp;this.parser.parseText(i)}parseClose(i){if(this.parser){if(!this.parser.parseClose(i)){switch(i){case&quot;r&quot;:{let c=this.model.richText;c||(c=this.model.richText=[]),c.push(this.parser.model);break}case&quot;t&quot;:this.model=this.parser.model}this.parser=void 0}return!0}return i!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./phonetic-text-xform&quot;:121,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],124:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./shared-string-xform&quot;);n.exports=class extends a{constructor(l){super(),this.model=l||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new u)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(l){return this.model.values[l]}add(l){return l.richText?this.addRichText(l):this.addText(l)}addText(l){let i=this.hash[l];return i===void 0&amp;&amp;(i=this.hash[l]=this.model.values.length,this.model.values.push(l)),this.model.count++,i}addRichText(l){const i=this.sharedStringXform.toXml(l);let c=this.rich[i];return c===void 0&amp;&amp;(c=this.rich[i]=this.model.values.length,this.model.values.push(l)),this.model.count++,c}render(l,i){i=i||this._values,l.openXml(s.StdDocAttributes),l.openNode(&quot;sst&quot;,{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,count:i.count,uniqueCount:i.values.length});const c=this.sharedStringXform;i.values.forEach(h=&gt;{c.render(l,h)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;sst&quot;:return!0;case&quot;si&quot;:return this.parser=this.sharedStringXform,this.parser.parseOpen(l),!0;default:throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(l))}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(l===&quot;sst&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+l)}}},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./shared-string-xform&quot;:123}],125:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;t&quot;}render(a,u){a.openNode(&quot;t&quot;),/^\s|\n|\s$/.test(u)&amp;&amp;a.addAttribute(&quot;xml:space&quot;,&quot;preserve&quot;),a.writeText(u),a.closeNode()}get model(){return this._text.join(&quot;&quot;).replace(/_x([0-9A-F]{4})_/g,(a,u)=&gt;String.fromCharCode(parseInt(u,16)))}parseOpen(a){return a.name===&quot;t&quot;?(this._text=[],!0):!1}parseText(a){this._text.push(a)}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],126:[function(t,n,o){const s=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l={horizontalValues:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;fill&quot;,&quot;centerContinuous&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((c,h)=&gt;(c[h]=!0,c),{}),horizontal(c){return this.horizontalValues[c]?c:void 0},verticalValues:[&quot;top&quot;,&quot;middle&quot;,&quot;bottom&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((c,h)=&gt;(c[h]=!0,c),{}),vertical(c){return c===&quot;middle&quot;?&quot;center&quot;:this.verticalValues[c]?c:void 0},wrapText:c=&gt;!!c||void 0,shrinkToFit:c=&gt;!!c||void 0,textRotation(c){return c===&quot;vertical&quot;||(c=a.validInt(c))&gt;=-90&amp;&amp;c&lt;=90?c:void 0},indent:c=&gt;(c=a.validInt(c),Math.max(0,c)),readingOrder(c){switch(c){case&quot;ltr&quot;:return s.ReadingOrder.LeftToRight;case&quot;rtl&quot;:return s.ReadingOrder.RightToLeft;default:return}}},i={toXml(c){if(c=l.textRotation(c)){if(c===&quot;vertical&quot;)return 255;const h=Math.round(c);if(h&gt;=0&amp;&amp;h&lt;=90)return h;if(h&lt;0&amp;&amp;h&gt;=-90)return 90-h}},toModel(c){const h=a.validInt(c);if(h!==void 0){if(h===255)return&quot;vertical&quot;;if(h&gt;=0&amp;&amp;h&lt;=90)return h;if(h&gt;90&amp;&amp;h&lt;=180)return 90-h}}};n.exports=class extends u{get tag(){return&quot;alignment&quot;}render(c,h){c.addRollback(),c.openNode(&quot;alignment&quot;);let f=!1;function d(v,y){y&amp;&amp;(c.addAttribute(v,y),f=!0)}d(&quot;horizontal&quot;,l.horizontal(h.horizontal)),d(&quot;vertical&quot;,l.vertical(h.vertical)),d(&quot;wrapText&quot;,!!l.wrapText(h.wrapText)&amp;&amp;&quot;1&quot;),d(&quot;shrinkToFit&quot;,!!l.shrinkToFit(h.shrinkToFit)&amp;&amp;&quot;1&quot;),d(&quot;indent&quot;,l.indent(h.indent)),d(&quot;textRotation&quot;,i.toXml(h.textRotation)),d(&quot;readingOrder&quot;,l.readingOrder(h.readingOrder)),c.closeNode(),f?c.commit():c.rollback()}parseOpen(c){const h={};let f=!1;function d(v,y,p){v&amp;&amp;(h[y]=p,f=!0)}d(c.attributes.horizontal,&quot;horizontal&quot;,c.attributes.horizontal),d(c.attributes.vertical,&quot;vertical&quot;,c.attributes.vertical===&quot;center&quot;?&quot;middle&quot;:c.attributes.vertical),d(c.attributes.wrapText,&quot;wrapText&quot;,a.parseBoolean(c.attributes.wrapText)),d(c.attributes.shrinkToFit,&quot;shrinkToFit&quot;,a.parseBoolean(c.attributes.shrinkToFit)),d(c.attributes.indent,&quot;indent&quot;,parseInt(c.attributes.indent,10)),d(c.attributes.textRotation,&quot;textRotation&quot;,i.toModel(c.attributes.textRotation)),d(c.attributes.readingOrder,&quot;readingOrder&quot;,c.attributes.readingOrder===&quot;2&quot;?&quot;rtl&quot;:&quot;ltr&quot;),this.model=f?h:null}parseText(){}parseClose(){return!1}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],127:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./color-xform&quot;);class l extends s{constructor(c){super(),this.name=c,this.map={color:new u}}get tag(){return this.name}render(c,h,f){const d=h&amp;&amp;h.color||f||this.defaultColor;c.openNode(this.name),h&amp;&amp;h.style&amp;&amp;(c.addAttribute(&quot;style&quot;,h.style),d&amp;&amp;this.map.color.render(c,d)),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case this.name:{const{style:h}=c.attributes;return this.model=h?{style:h}:void 0,!0}case&quot;color&quot;:return this.parser=this.map.color,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.parser=void 0),!0):(c===this.name&amp;&amp;this.map.color.model&amp;&amp;(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(c){return l.validStyleValues[c]}}l.validStyleValues=[&quot;thin&quot;,&quot;dashed&quot;,&quot;dotted&quot;,&quot;dashDot&quot;,&quot;hair&quot;,&quot;dashDotDot&quot;,&quot;slantDashDot&quot;,&quot;mediumDashed&quot;,&quot;mediumDashDotDot&quot;,&quot;mediumDashDot&quot;,&quot;medium&quot;,&quot;double&quot;,&quot;thick&quot;].reduce((i,c)=&gt;(i[c]=!0,i),{}),n.exports=class extends s{constructor(){super(),this.map={top:new l(&quot;top&quot;),left:new l(&quot;left&quot;),bottom:new l(&quot;bottom&quot;),right:new l(&quot;right&quot;),diagonal:new l(&quot;diagonal&quot;)}}render(i,c){const{color:h}=c;function f(d,v){d&amp;&amp;!d.color&amp;&amp;c.color&amp;&amp;(d={...d,color:c.color}),v.render(i,d,h)}i.openNode(&quot;border&quot;),c.diagonal&amp;&amp;c.diagonal.style&amp;&amp;(c.diagonal.up&amp;&amp;i.addAttribute(&quot;diagonalUp&quot;,&quot;1&quot;),c.diagonal.down&amp;&amp;i.addAttribute(&quot;diagonalDown&quot;,&quot;1&quot;)),f(c.left,this.map.left),f(c.right,this.map.right),f(c.top,this.map.top),f(c.bottom,this.map.bottom),f(c.diagonal,this.map.diagonal),i.closeNode()}parseOpen(i){return this.parser?(this.parser.parseOpen(i),!0):i.name===&quot;border&quot;?(this.reset(),this.diagonalUp=a.parseBoolean(i.attributes.diagonalUp),this.diagonalDown=a.parseBoolean(i.attributes.diagonalDown),!0):(this.parser=this.map[i.name],!!this.parser&amp;&amp;(this.parser.parseOpen(i),!0))}parseText(i){this.parser&amp;&amp;this.parser.parseText(i)}parseClose(i){if(this.parser)return this.parser.parseClose(i)||(this.parser=void 0),!0;if(i===&quot;border&quot;){const c=this.model={},h=function(f,d,v){d&amp;&amp;(v&amp;&amp;Object.assign(d,v),c[f]=d)};h(&quot;left&quot;,this.map.left.model),h(&quot;right&quot;,this.map.right.model),h(&quot;top&quot;,this.map.top.model),h(&quot;bottom&quot;,this.map.bottom.model),h(&quot;diagonal&quot;,this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],128:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{constructor(a){super(),this.name=a||&quot;color&quot;}get tag(){return this.name}render(a,u){return!!u&amp;&amp;(a.openNode(this.name),u.argb?a.addAttribute(&quot;rgb&quot;,u.argb):u.theme!==void 0?(a.addAttribute(&quot;theme&quot;,u.theme),u.tint!==void 0&amp;&amp;a.addAttribute(&quot;tint&quot;,u.tint)):u.indexed!==void 0?a.addAttribute(&quot;indexed&quot;,u.indexed):a.addAttribute(&quot;auto&quot;,&quot;1&quot;),a.closeNode(),!0)}parseOpen(a){return a.name===this.name&amp;&amp;(a.attributes.rgb?this.model={argb:a.attributes.rgb}:a.attributes.theme?(this.model={theme:parseInt(a.attributes.theme,10)},a.attributes.tint&amp;&amp;(this.model.tint=parseFloat(a.attributes.tint))):a.attributes.indexed?this.model={indexed:parseInt(a.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],129:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./border-xform&quot;),l=t(&quot;./fill-xform&quot;),i=t(&quot;./font-xform&quot;),c=t(&quot;./numfmt-xform&quot;),h=t(&quot;./protection-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={alignment:new a,border:new u,fill:new l,font:new i,numFmt:new c,protection:new h}}get tag(){return&quot;dxf&quot;}render(f,d){if(f.openNode(this.tag),d.font&amp;&amp;this.map.font.render(f,d.font),d.numFmt&amp;&amp;d.numFmtId){const v={id:d.numFmtId,formatCode:d.numFmt};this.map.numFmt.render(f,v)}d.fill&amp;&amp;this.map.fill.render(f,d.fill),d.alignment&amp;&amp;this.map.alignment.render(f,d.alignment),d.border&amp;&amp;this.map.border.render(f,d.border),d.protection&amp;&amp;this.map.protection.render(f,d.protection),f.closeNode()}parseOpen(f){return this.parser?(this.parser.parseOpen(f),!0):f.name===this.tag?(this.reset(),!0):(this.parser=this.map[f.name],this.parser&amp;&amp;this.parser.parseOpen(f),!0)}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return this.parser?(this.parser.parseClose(f)||(this.parser=void 0),!0):f!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./border-xform&quot;:127,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./protection-xform&quot;:133}],130:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./color-xform&quot;);class u extends s{constructor(){super(),this.map={color:new a}}get tag(){return&quot;stop&quot;}render(f,d){f.openNode(&quot;stop&quot;),f.addAttribute(&quot;position&quot;,d.position),this.map.color.render(f,d.color),f.closeNode()}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case&quot;stop&quot;:return this.model={position:parseFloat(f.attributes.position)},!0;case&quot;color&quot;:return this.parser=this.map.color,this.parser.parseOpen(f),!0;default:return!1}}parseText(){}parseClose(f){return!!this.parser&amp;&amp;(this.parser.parseClose(f)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class l extends s{constructor(){super(),this.map={fgColor:new a(&quot;fgColor&quot;),bgColor:new a(&quot;bgColor&quot;)}}get name(){return&quot;pattern&quot;}get tag(){return&quot;patternFill&quot;}render(f,d){f.openNode(&quot;patternFill&quot;),f.addAttribute(&quot;patternType&quot;,d.pattern),d.fgColor&amp;&amp;this.map.fgColor.render(f,d.fgColor),d.bgColor&amp;&amp;this.map.bgColor.render(f,d.bgColor),f.closeNode()}parseOpen(f){return this.parser?(this.parser.parseOpen(f),!0):f.name===&quot;patternFill&quot;?(this.model={type:&quot;pattern&quot;,pattern:f.attributes.patternType},!0):(this.parser=this.map[f.name],!!this.parser&amp;&amp;(this.parser.parseOpen(f),!0))}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return!!this.parser&amp;&amp;(this.parser.parseClose(f)||(this.parser.model&amp;&amp;(this.model[f]=this.parser.model),this.parser=void 0),!0)}}class i extends s{constructor(){super(),this.map={stop:new u}}get name(){return&quot;gradient&quot;}get tag(){return&quot;gradientFill&quot;}render(f,d){switch(f.openNode(&quot;gradientFill&quot;),d.gradient){case&quot;angle&quot;:f.addAttribute(&quot;degree&quot;,d.degree);break;case&quot;path&quot;:f.addAttribute(&quot;type&quot;,&quot;path&quot;),d.center.left&amp;&amp;(f.addAttribute(&quot;left&quot;,d.center.left),d.center.right===void 0&amp;&amp;f.addAttribute(&quot;right&quot;,d.center.left)),d.center.right&amp;&amp;f.addAttribute(&quot;right&quot;,d.center.right),d.center.top&amp;&amp;(f.addAttribute(&quot;top&quot;,d.center.top),d.center.bottom===void 0&amp;&amp;f.addAttribute(&quot;bottom&quot;,d.center.top)),d.center.bottom&amp;&amp;f.addAttribute(&quot;bottom&quot;,d.center.bottom)}const v=this.map.stop;d.stops.forEach(y=&gt;{v.render(f,y)}),f.closeNode()}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case&quot;gradientFill&quot;:{const d=this.model={stops:[]};return f.attributes.degree?(d.gradient=&quot;angle&quot;,d.degree=parseInt(f.attributes.degree,10)):f.attributes.type===&quot;path&quot;&amp;&amp;(d.gradient=&quot;path&quot;,d.center={left:f.attributes.left?parseFloat(f.attributes.left):0,top:f.attributes.top?parseFloat(f.attributes.top):0},f.attributes.right!==f.attributes.left&amp;&amp;(d.center.right=f.attributes.right?parseFloat(f.attributes.right):0),f.attributes.bottom!==f.attributes.top&amp;&amp;(d.center.bottom=f.attributes.bottom?parseFloat(f.attributes.bottom):0)),!0}case&quot;stop&quot;:return this.parser=this.map.stop,this.parser.parseOpen(f),!0;default:return!1}}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return!!this.parser&amp;&amp;(this.parser.parseClose(f)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class c extends s{constructor(){super(),this.map={patternFill:new l,gradientFill:new i}}get tag(){return&quot;fill&quot;}render(f,d){switch(f.addRollback(),f.openNode(&quot;fill&quot;),d.type){case&quot;pattern&quot;:this.map.patternFill.render(f,d);break;case&quot;gradient&quot;:this.map.gradientFill.render(f,d);break;default:return void f.rollback()}f.closeNode(),f.commit()}parseOpen(f){return this.parser?(this.parser.parseOpen(f),!0):f.name===&quot;fill&quot;?(this.model={},!0):(this.parser=this.map[f.name],!!this.parser&amp;&amp;(this.parser.parseOpen(f),!0))}parseText(f){this.parser&amp;&amp;this.parser.parseText(f)}parseClose(f){return!!this.parser&amp;&amp;(this.parser.parseClose(f)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(f){return c.validPatternValues[f]}}c.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((h,f)=&gt;(h[f]=!0,h),{}),c.StopXform=u,c.PatternFillXform=l,c.GradientFillXform=i,n.exports=c},{&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],131:[function(t,n,o){const s=t(&quot;./color-xform&quot;),a=t(&quot;../simple/boolean-xform&quot;),u=t(&quot;../simple/integer-xform&quot;),l=t(&quot;../simple/string-xform&quot;),i=t(&quot;./underline-xform&quot;),c=t(&quot;../../../utils/under-dash&quot;),h=t(&quot;../base-xform&quot;);class f extends h{constructor(v){super(),this.options=v||f.OPTIONS,this.map={b:{prop:&quot;bold&quot;,xform:new a({tag:&quot;b&quot;,attr:&quot;val&quot;})},i:{prop:&quot;italic&quot;,xform:new a({tag:&quot;i&quot;,attr:&quot;val&quot;})},u:{prop:&quot;underline&quot;,xform:new i},charset:{prop:&quot;charset&quot;,xform:new u({tag:&quot;charset&quot;,attr:&quot;val&quot;})},color:{prop:&quot;color&quot;,xform:new s},condense:{prop:&quot;condense&quot;,xform:new a({tag:&quot;condense&quot;,attr:&quot;val&quot;})},extend:{prop:&quot;extend&quot;,xform:new a({tag:&quot;extend&quot;,attr:&quot;val&quot;})},family:{prop:&quot;family&quot;,xform:new u({tag:&quot;family&quot;,attr:&quot;val&quot;})},outline:{prop:&quot;outline&quot;,xform:new a({tag:&quot;outline&quot;,attr:&quot;val&quot;})},vertAlign:{prop:&quot;vertAlign&quot;,xform:new l({tag:&quot;vertAlign&quot;,attr:&quot;val&quot;})},scheme:{prop:&quot;scheme&quot;,xform:new l({tag:&quot;scheme&quot;,attr:&quot;val&quot;})},shadow:{prop:&quot;shadow&quot;,xform:new a({tag:&quot;shadow&quot;,attr:&quot;val&quot;})},strike:{prop:&quot;strike&quot;,xform:new a({tag:&quot;strike&quot;,attr:&quot;val&quot;})},sz:{prop:&quot;size&quot;,xform:new u({tag:&quot;sz&quot;,attr:&quot;val&quot;})}},this.map[this.options.fontNameTag]={prop:&quot;name&quot;,xform:new l({tag:this.options.fontNameTag,attr:&quot;val&quot;})}}get tag(){return this.options.tagName}render(v,y){const{map:p}=this;v.openNode(this.options.tagName),c.each(this.map,(b,x)=&gt;{p[x].xform.render(v,y[b.prop])}),v.closeNode()}parseOpen(v){return this.parser?(this.parser.parseOpen(v),!0):this.map[v.name]?(this.parser=this.map[v.name].xform,this.parser.parseOpen(v)):v.name===this.options.tagName?(this.model={},!0):!1}parseText(v){this.parser&amp;&amp;this.parser.parseText(v)}parseClose(v){if(this.parser&amp;&amp;!this.parser.parseClose(v)){const y=this.map[v];return this.parser.model&amp;&amp;(this.model[y.prop]=this.parser.model),this.parser=void 0,!0}return v!==this.options.tagName}}f.OPTIONS={tagName:&quot;font&quot;,fontNameTag:&quot;name&quot;},n.exports=f},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32,&quot;../simple/boolean-xform&quot;:116,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119,&quot;./color-xform&quot;:128,&quot;./underline-xform&quot;:136}],132:[function(t,n,o){const s=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../defaultnumformats&quot;),u=t(&quot;../base-xform&quot;),l=(function(){const c={};return s.each(a,(h,f)=&gt;{h.f&amp;&amp;(c[h.f]=parseInt(f,10))}),c})();class i extends u{constructor(h,f){super(),this.id=h,this.formatCode=f}get tag(){return&quot;numFmt&quot;}render(h,f){h.leafNode(&quot;numFmt&quot;,{numFmtId:f.id,formatCode:f.formatCode})}parseOpen(h){return h.name===&quot;numFmt&quot;?(this.model={id:parseInt(h.attributes.numFmtId,10),formatCode:h.attributes.formatCode.replace(/[\\](.)/g,&quot;$1&quot;)},!0):!1}parseText(){}parseClose(){return!1}}i.getDefaultFmtId=function(c){return l[c]},i.getDefaultFmtCode=function(c){return a[c]&amp;&amp;a[c].f},n.exports=i},{&quot;../../../utils/under-dash&quot;:26,&quot;../../defaultnumformats&quot;:30,&quot;../base-xform&quot;:32}],133:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a={boolean:(u,l)=&gt;u===void 0?l:u};n.exports=class extends s{get tag(){return&quot;protection&quot;}render(u,l){u.addRollback(),u.openNode(&quot;protection&quot;);let i=!1;function c(h,f){f!==void 0&amp;&amp;(u.addAttribute(h,f),i=!0)}c(&quot;locked&quot;,a.boolean(l.locked,!0)?void 0:&quot;0&quot;),c(&quot;hidden&quot;,a.boolean(l.hidden,!1)?&quot;1&quot;:void 0),u.closeNode(),i?u.commit():u.rollback()}parseOpen(u){const l={locked:u.attributes.locked!==&quot;0&quot;,hidden:u.attributes.hidden===&quot;1&quot;},i=!l.locked||l.hidden;this.model=i?l:null}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],134:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./protection-xform&quot;);n.exports=class extends s{constructor(l){super(),this.xfId=!(!l||!l.xfId),this.map={alignment:new a,protection:new u}}get tag(){return&quot;xf&quot;}render(l,i){l.openNode(&quot;xf&quot;,{numFmtId:i.numFmtId||0,fontId:i.fontId||0,fillId:i.fillId||0,borderId:i.borderId||0}),this.xfId&amp;&amp;l.addAttribute(&quot;xfId&quot;,i.xfId||0),i.numFmtId&amp;&amp;l.addAttribute(&quot;applyNumberFormat&quot;,&quot;1&quot;),i.fontId&amp;&amp;l.addAttribute(&quot;applyFont&quot;,&quot;1&quot;),i.fillId&amp;&amp;l.addAttribute(&quot;applyFill&quot;,&quot;1&quot;),i.borderId&amp;&amp;l.addAttribute(&quot;applyBorder&quot;,&quot;1&quot;),i.alignment&amp;&amp;l.addAttribute(&quot;applyAlignment&quot;,&quot;1&quot;),i.protection&amp;&amp;l.addAttribute(&quot;applyProtection&quot;,&quot;1&quot;),i.alignment&amp;&amp;this.map.alignment.render(l,i.alignment),i.protection&amp;&amp;this.map.protection.render(l,i.protection),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;xf&quot;:return this.model={numFmtId:parseInt(l.attributes.numFmtId,10),fontId:parseInt(l.attributes.fontId,10),fillId:parseInt(l.attributes.fillId,10),borderId:parseInt(l.attributes.borderId,10)},this.xfId&amp;&amp;(this.model.xfId=parseInt(l.attributes.xfId,10)),!0;case&quot;alignment&quot;:return this.parser=this.map.alignment,this.parser.parseOpen(l),!0;case&quot;protection&quot;:return this.parser=this.map.protection,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):l!==&quot;xf&quot;}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./protection-xform&quot;:133}],135:[function(t,n,o){const s=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;../static-xform&quot;),i=t(&quot;../list-xform&quot;),c=t(&quot;./font-xform&quot;),h=t(&quot;./fill-xform&quot;),f=t(&quot;./border-xform&quot;),d=t(&quot;./numfmt-xform&quot;),v=t(&quot;./style-xform&quot;),y=t(&quot;./dxf-xform&quot;);class p extends u{constructor(x){super(),this.map={numFmts:new i({tag:&quot;numFmts&quot;,count:!0,childXform:new d}),fonts:new i({tag:&quot;fonts&quot;,count:!0,childXform:new c,$:{&quot;x14ac:knownFonts&quot;:1}}),fills:new i({tag:&quot;fills&quot;,count:!0,childXform:new h}),borders:new i({tag:&quot;borders&quot;,count:!0,childXform:new f}),cellStyleXfs:new i({tag:&quot;cellStyleXfs&quot;,count:!0,childXform:new v}),cellXfs:new i({tag:&quot;cellXfs&quot;,count:!0,childXform:new v({xfId:!0})}),dxfs:new i({tag:&quot;dxfs&quot;,always:!0,count:!0,childXform:new y}),numFmt:new d,font:new c,fill:new h,border:new f,style:new v({xfId:!0}),cellStyles:p.STATIC_XFORMS.cellStyles,tableStyles:p.STATIC_XFORMS.tableStyles,extLst:p.STATIC_XFORMS.extLst},x&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(x,_){_=_||this.model,x.openXml(a.StdDocAttributes),x.openNode(&quot;styleSheet&quot;,p.STYLESHEET_ATTRIBUTES),this.index?(_.numFmts&amp;&amp;_.numFmts.length&amp;&amp;(x.openNode(&quot;numFmts&quot;,{count:_.numFmts.length}),_.numFmts.forEach(E=&gt;{x.writeXml(E)}),x.closeNode()),_.fonts.length||this._addFont({size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}),x.openNode(&quot;fonts&quot;,{count:_.fonts.length,&quot;x14ac:knownFonts&quot;:1}),_.fonts.forEach(E=&gt;{x.writeXml(E)}),x.closeNode(),x.openNode(&quot;fills&quot;,{count:_.fills.length}),_.fills.forEach(E=&gt;{x.writeXml(E)}),x.closeNode(),x.openNode(&quot;borders&quot;,{count:_.borders.length}),_.borders.forEach(E=&gt;{x.writeXml(E)}),x.closeNode(),this.map.cellStyleXfs.render(x,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),x.openNode(&quot;cellXfs&quot;,{count:_.styles.length}),_.styles.forEach(E=&gt;{x.writeXml(E)}),x.closeNode()):(this.map.numFmts.render(x,_.numFmts),this.map.fonts.render(x,_.fonts),this.map.fills.render(x,_.fills),this.map.borders.render(x,_.borders),this.map.cellStyleXfs.render(x,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(x,_.styles)),p.STATIC_XFORMS.cellStyles.render(x),this.map.dxfs.render(x,_.dxfs),p.STATIC_XFORMS.tableStyles.render(x),p.STATIC_XFORMS.extLst.render(x),x.closeNode()}parseOpen(x){return this.parser?(this.parser.parseOpen(x),!0):x.name===&quot;styleSheet&quot;?(this.initIndex(),!0):(this.parser=this.map[x.name],this.parser&amp;&amp;this.parser.parseOpen(x),!0)}parseText(x){this.parser&amp;&amp;this.parser.parseText(x)}parseClose(x){if(this.parser)return this.parser.parseClose(x)||(this.parser=void 0),!0;switch(x){case&quot;styleSheet&quot;:{this.model={};const _=(E,M)=&gt;{M.model&amp;&amp;M.model.length&amp;&amp;(this.model[E]=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 E=this.index.numFmt;this.model.numFmts.forEach(M=&gt;{E[M.id]=M.formatCode})}return!1}default:return!0}}addStyleModel(x,_){if(!x)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(x))return this.weakMap.get(x);const E={};if(_=_||s.ValueType.Number,x.numFmt)E.numFmtId=this._addNumFmtStr(x.numFmt);else switch(_){case s.ValueType.Number:E.numFmtId=this._addNumFmtStr(&quot;General&quot;);break;case s.ValueType.Date:E.numFmtId=this._addNumFmtStr(&quot;mm-dd-yy&quot;)}x.font&amp;&amp;(E.fontId=this._addFont(x.font)),x.border&amp;&amp;(E.borderId=this._addBorder(x.border)),x.fill&amp;&amp;(E.fillId=this._addFill(x.fill)),x.alignment&amp;&amp;(E.alignment=x.alignment),x.protection&amp;&amp;(E.protection=x.protection);const M=this._addStyle(E);return this.weakMap&amp;&amp;this.weakMap.set(x,M),M}getStyleModel(x){const _=this.model.styles[x];if(!_)return null;let E=this.index.model[x];if(E)return E;if(E=this.index.model[x]={},_.numFmtId){const D=this.index.numFmt[_.numFmtId]||d.getDefaultFmtCode(_.numFmtId);D&amp;&amp;(E.numFmt=D)}function M(D,W,L){if(L||L===0){const V=W[L];V&amp;&amp;(E[D]=V)}}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;(E.alignment=_.alignment),_.protection&amp;&amp;(E.protection=_.protection),E}addDxfStyle(x){return x.numFmt&amp;&amp;(x.numFmtId=this._addNumFmtStr(x.numFmt)),this.model.dxfs.push(x),this.model.dxfs.length-1}getDxfStyle(x){return this.model.dxfs[x]}_addStyle(x){const _=this.map.style.toXml(x);let E=this.index.style[_];return E===void 0&amp;&amp;(E=this.index.style[_]=this.model.styles.length,this.model.styles.push(_)),E}_addNumFmtStr(x){let _=d.getDefaultFmtId(x);if(_!==void 0||(_=this.index.numFmt[x],_!==void 0))return _;_=this.index.numFmt[x]=164+this.model.numFmts.length;const E=this.map.numFmt.toXml({id:_,formatCode:x});return this.model.numFmts.push(E),_}_addFont(x){const _=this.map.font.toXml(x);let E=this.index.font[_];return E===void 0&amp;&amp;(E=this.index.font[_]=this.model.fonts.length,this.model.fonts.push(_)),E}_addBorder(x){const _=this.map.border.toXml(x);let E=this.index.border[_];return E===void 0&amp;&amp;(E=this.index.border[_]=this.model.borders.length,this.model.borders.push(_)),E}_addFill(x){const _=this.map.fill.toXml(x);let E=this.index.fill[_];return E===void 0&amp;&amp;(E=this.index.fill[_]=this.model.fills.length,this.model.fills.push(_)),E}}p.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;},p.STATIC_XFORMS={cellStyles:new l({tag:&quot;cellStyles&quot;,$:{count:1},c:[{tag:&quot;cellStyle&quot;,$:{name:&quot;Normal&quot;,xfId:0,builtinId:0}}]}),dxfs:new l({tag:&quot;dxfs&quot;,$:{count:0}}),tableStyles:new l({tag:&quot;tableStyles&quot;,$:{count:0,defaultTableStyle:&quot;TableStyleMedium2&quot;,defaultPivotStyle:&quot;PivotStyleLight16&quot;}}),extLst:new l({tag:&quot;extLst&quot;,c:[{tag:&quot;ext&quot;,$:{uri:&quot;{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;},c:[{tag:&quot;x14:slicerStyles&quot;,$:{defaultSlicerStyle:&quot;SlicerStyleLight1&quot;}}]},{tag:&quot;ext&quot;,$:{uri:&quot;{9260A510-F301-46a8-8635-F512D64BE5F5}&quot;,&quot;xmlns:x15&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2010/11/main&quot;},c:[{tag:&quot;x15:timelineStyles&quot;,$:{defaultTimelineStyle:&quot;TimeSlicerStyleLight1&quot;}}]}]})},p.Mock=class extends p{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(b){return b.autodrain(),Promise.resolve()}addStyleModel(b,x){return x===s.ValueType.Date?this.dateStyleId:0}get dateStyleId(){if(!this._dateStyleId){const b={numFmtId:d.getDefaultFmtId(&quot;mm-dd-yy&quot;)};this._dateStyleId=this.model.styles.length,this.model.styles.push(b)}return this._dateStyleId}getStyleModel(){return{}}},n.exports=p},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./border-xform&quot;:127,&quot;./dxf-xform&quot;:129,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./style-xform&quot;:134}],136:[function(t,n,o){const s=t(&quot;../base-xform&quot;);class a extends s{constructor(l){super(),this.model=l}get tag(){return&quot;u&quot;}render(l,i){if((i=i||this.model)===!0)l.leafNode(&quot;u&quot;);else{const c=a.Attributes[i];c&amp;&amp;l.leafNode(&quot;u&quot;,c)}}parseOpen(l){l.name===&quot;u&quot;&amp;&amp;(this.model=l.attributes.val||!0)}parseText(){}parseClose(){return!1}}a.Attributes={single:{},double:{val:&quot;double&quot;},singleAccounting:{val:&quot;singleAccounting&quot;},doubleAccounting:{val:&quot;doubleAccounting&quot;}},n.exports=a},{&quot;../base-xform&quot;:32}],137:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;./filter-column-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={filterColumn:new a}}get tag(){return&quot;autoFilter&quot;}prepare(u){u.columns.forEach((l,i)=&gt;{this.map.filterColumn.prepare(l,{index:i})})}render(u,l){return u.openNode(this.tag,{ref:l.autoFilterRef}),l.columns.forEach(i=&gt;{this.map.filterColumn.render(u,i)}),u.closeNode(),!0}parseOpen(u){if(this.parser)return this.parser.parseOpen(u),!0;switch(u.name){case this.tag:return this.model={autoFilterRef:u.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[u.name],this.parser)return this.parseOpen(u),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(u))}}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){if(this.parser)return this.parser.parseClose(u)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(u===this.tag)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+u)}}},{&quot;../base-xform&quot;:32,&quot;./filter-column-xform&quot;:139}],138:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;customFilter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val,operator:u.operator})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val,operator:a.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],139:[function(t,n,o){const s=t(&quot;../base-xform&quot;),a=t(&quot;../list-xform&quot;),u=t(&quot;./custom-filter-xform&quot;),l=t(&quot;./filter-xform&quot;);n.exports=class extends s{constructor(){super(),this.map={customFilters:new a({tag:&quot;customFilters&quot;,count:!1,empty:!0,childXform:new u}),filters:new a({tag:&quot;filters&quot;,count:!1,empty:!0,childXform:new l})}}get tag(){return&quot;filterColumn&quot;}prepare(i,c){i.colId=c.index.toString()}render(i,c){return c.customFilters?(i.openNode(this.tag,{colId:c.colId,hiddenButton:c.filterButton?&quot;0&quot;:&quot;1&quot;}),this.map.customFilters.render(i,c.customFilters),i.closeNode(),!0):(i.leafNode(this.tag,{colId:c.colId,hiddenButton:c.filterButton?&quot;0&quot;:&quot;1&quot;}),!0)}parseOpen(i){if(this.parser)return this.parser.parseOpen(i),!0;const{attributes:c}=i;switch(i.name){case this.tag:return this.model={filterButton:c.hiddenButton===&quot;0&quot;},!0;default:if(this.parser=this.map[i.name],this.parser)return this.parseOpen(i),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(i))}}parseText(){}parseClose(i){return this.parser?(this.parser.parseClose(i)||(this.parser=void 0),!0):i===this.tag?(this.model.customFilters=this.map.customFilters.model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./custom-filter-xform&quot;:138,&quot;./filter-xform&quot;:140}],140:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;filter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],141:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;tableColumn&quot;}prepare(a,u){a.id=u.index+1}render(a,u){return a.leafNode(this.tag,{id:u.id.toString(),name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],142:[function(t,n,o){const s=t(&quot;../base-xform&quot;);n.exports=class extends s{get tag(){return&quot;tableStyleInfo&quot;}render(a,u){return a.leafNode(this.tag,{name:u.theme?u.theme:void 0,showFirstColumn:u.showFirstColumn?&quot;1&quot;:&quot;0&quot;,showLastColumn:u.showLastColumn?&quot;1&quot;:&quot;0&quot;,showRowStripes:u.showRowStripes?&quot;1&quot;:&quot;0&quot;,showColumnStripes:u.showColumnStripes?&quot;1&quot;:&quot;0&quot;}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={theme:u.name?u.name:null,showFirstColumn:u.showFirstColumn===&quot;1&quot;,showLastColumn:u.showLastColumn===&quot;1&quot;,showRowStripes:u.showRowStripes===&quot;1&quot;,showColumnStripes:u.showColumnStripes===&quot;1&quot;},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],143:[function(t,n,o){const s=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../list-xform&quot;),l=t(&quot;./auto-filter-xform&quot;),i=t(&quot;./table-column-xform&quot;),c=t(&quot;./table-style-info-xform&quot;);class h extends a{constructor(){super(),this.map={autoFilter:new l,tableColumns:new u({tag:&quot;tableColumns&quot;,count:!0,empty:!0,childXform:new i}),tableStyleInfo:new c}}prepare(d,v){this.map.autoFilter.prepare(d),this.map.tableColumns.prepare(d.columns,v)}get tag(){return&quot;table&quot;}render(d,v){d.openXml(s.StdDocAttributes),d.openNode(this.tag,{...h.TABLE_ATTRIBUTES,id:v.id,name:v.name,displayName:v.displayName||v.name,ref:v.tableRef,totalsRowCount:v.totalsRow?&quot;1&quot;:void 0,totalsRowShown:v.totalsRow?void 0:&quot;1&quot;,headerRowCount:v.headerRow?&quot;1&quot;:&quot;0&quot;}),this.map.autoFilter.render(d,v),this.map.tableColumns.render(d,v.columns),this.map.tableStyleInfo.render(d,v.style),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;const{name:v,attributes:y}=d;return v===this.tag?(this.reset(),this.model={name:y.name,displayName:y.displayName||y.name,tableRef:y.ref,totalsRow:y.totalsRowCount===&quot;1&quot;,headerRow:y.headerRowCount===&quot;1&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.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((v,y)=&gt;{this.model.columns[y].filterButton=v.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1):!0}reconcile(d,v){d.columns.forEach(y=&gt;{y.dxfId!==void 0&amp;&amp;(y.style=v.styles.getDxfStyle(y.dxfId))})}}h.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=h},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:137,&quot;./table-column-xform&quot;:141,&quot;./table-style-info-xform&quot;:142}],144:[function(t,n,o){(function(s,a){(function(){const u=t(&quot;fs&quot;),l=t(&quot;jszip&quot;),{PassThrough:i}=t(&quot;readable-stream&quot;),c=t(&quot;../utils/zip-stream&quot;),h=t(&quot;../utils/stream-buf&quot;),f=t(&quot;../utils/utils&quot;),d=t(&quot;../utils/xml-stream&quot;),{bufferToString:v}=t(&quot;../utils/browser-buffer-decode&quot;),y=t(&quot;./xform/style/styles-xform&quot;),p=t(&quot;./xform/core/core-xform&quot;),b=t(&quot;./xform/strings/shared-strings-xform&quot;),x=t(&quot;./xform/core/relationships-xform&quot;),_=t(&quot;./xform/core/content-types-xform&quot;),E=t(&quot;./xform/core/app-xform&quot;),M=t(&quot;./xform/book/workbook-xform&quot;),D=t(&quot;./xform/sheet/worksheet-xform&quot;),W=t(&quot;./xform/drawing/drawing-xform&quot;),L=t(&quot;./xform/table/table-xform&quot;),V=t(&quot;./xform/comment/comments-xform&quot;),H=t(&quot;./xform/comment/vml-notes-xform&quot;),K=t(&quot;./xml/theme1&quot;);class z{constructor(I){this.workbook=I}async readFile(I,C){if(!await f.fs.exists(I))throw new Error(&quot;File not found: &quot;+I);const j=u.createReadStream(I);try{const k=await this.read(j,C);return j.close(),k}catch(k){throw j.close(),k}}parseRels(I){return new x().parseStream(I)}parseWorkbook(I){return new M().parseStream(I)}parseSharedStrings(I){return new b().parseStream(I)}reconcile(I,C){const j=new M,k=new D(C),S=new W,N=new L;j.reconcile(I);const T={media:I.media,mediaIndex:I.mediaIndex};Object.keys(I.drawings).forEach(Y=&gt;{const Z=I.drawings[Y],ne=I.drawingRels[Y];ne&amp;&amp;(T.rels=ne.reduce((U,ee)=&gt;(U[ee.Id]=ee,U),{}),(Z.anchors||[]).forEach(U=&gt;{const ee=U.picture&amp;&amp;U.picture.hyperlinks;ee&amp;&amp;T.rels[ee.rId]&amp;&amp;(ee.hyperlink=T.rels[ee.rId].Target,delete ee.rId)}),S.reconcile(Z,T))});const R={styles:I.styles};Object.values(I.tables).forEach(Y=&gt;{N.reconcile(Y,R)});const B={styles:I.styles,sharedStrings:I.sharedStrings,media:I.media,mediaIndex:I.mediaIndex,date1904:I.properties&amp;&amp;I.properties.date1904,drawings:I.drawings,comments:I.comments,tables:I.tables,vmlDrawings:I.vmlDrawings};I.worksheets.forEach(Y=&gt;{Y.relationships=I.worksheetRels[Y.sheetNo],k.reconcile(Y,B)}),delete I.worksheetHash,delete I.worksheetRels,delete I.globalRels,delete I.sharedStrings,delete I.workbookRels,delete I.sheetDefs,delete I.styles,delete I.mediaIndex,delete I.drawings,delete I.drawingRels,delete I.vmlDrawings}async _processWorksheetEntry(I,C,j,k,S){const N=new D(k),T=await N.parseStream(I);T.sheetNo=j,C.worksheetHash[S]=T,C.worksheets.push(T)}async _processCommentEntry(I,C,j){const k=new V,S=await k.parseStream(I);C.comments[`../${j}.xml`]=S}async _processTableEntry(I,C,j){const k=new L,S=await k.parseStream(I);C.tables[`../tables/${j}.xml`]=S}async _processWorksheetRelsEntry(I,C,j){const k=new x,S=await k.parseStream(I);C.worksheetRels[j]=S}async _processMediaEntry(I,C,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((T,R)=&gt;{const B=new h;B.on(&quot;finish&quot;,()=&gt;{C.mediaIndex[j]=C.media.length,C.mediaIndex[N]=C.media.length;const Y={type:&quot;image&quot;,name:N,extension:S,buffer:B.toBuffer()};C.media.push(Y),T()}),I.on(&quot;error&quot;,Y=&gt;{R(Y)}),I.pipe(B)})}}async _processDrawingEntry(I,C,j){const k=new W,S=await k.parseStream(I);C.drawings[j]=S}async _processDrawingRelsEntry(I,C,j){const k=new x,S=await k.parseStream(I);C.drawingRels[j]=S}async _processVmlDrawingEntry(I,C,j){const k=new H,S=await k.parseStream(I);C.vmlDrawings[`../drawings/${j}.vml`]=S}async _processThemeEntry(I,C,j){await new Promise((k,S)=&gt;{const N=new h;I.on(&quot;error&quot;,S),N.on(&quot;error&quot;,S),N.on(&quot;finish&quot;,()=&gt;{C.themes[j]=N.read().toString(),k()}),I.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(I,C){!I[Symbol.asyncIterator]&amp;&amp;I.pipe&amp;&amp;(I=I.pipe(new i));const j=[];for await(const k of I)j.push(k);return this.load(a.concat(j),C)}async load(I,C){let j;j=C&amp;&amp;C.base64?a.from(I.toString(),&quot;base64&quot;):I;const k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},S=await l.loadAsync(j);for(const N of Object.values(S.files))if(!N.dir){let T,R=N.name;if(R[0]===&quot;/&quot;&amp;&amp;(R=R.substr(1)),R.match(/xl\/media\//)||R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))T=new i,T.write(await N.async(&quot;nodebuffer&quot;));else{let B;T=new i({writableObjectMode:!0,readableObjectMode:!0}),B=s.browser?v(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)T.write(B.substring(Z,Z+Y))}switch(T.end(),R){case&quot;_rels/.rels&quot;:k.globalRels=await this.parseRels(T);break;case&quot;xl/workbook.xml&quot;:{const B=await this.parseWorkbook(T);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(T);break;case&quot;xl/sharedStrings.xml&quot;:k.sharedStrings=new b,await k.sharedStrings.parseStream(T);break;case&quot;xl/styles.xml&quot;:k.styles=new y,await k.styles.parseStream(T);break;case&quot;docProps/app.xml&quot;:{const B=new E,Y=await B.parseStream(T);k.company=Y.company,k.manager=Y.manager;break}case&quot;docProps/core.xml&quot;:{const B=new p,Y=await B.parseStream(T);Object.assign(k,Y);break}default:{let B=R.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(T,k,B[1],C,R);break}if(B=R.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(T,k,B[1]);break}if(B=R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(T,k,B[1]);break}if(B=R.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(T,k,B[1]);break}if(B=R.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(T,k,B[1]);break}if(B=R.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(T,k,B[1]);break}}}}return this.reconcile(k,C),this.workbook.model=k,this.workbook}async addMedia(I,C){await Promise.all(C.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,T){return new Promise((R,B)=&gt;{u.readFile(N,T,(Y,Z)=&gt;{Y?B(Y):R(Z)})})})(j.filename);return I.append(S,{name:k})}if(j.buffer)return I.append(j.buffer,{name:k});if(j.base64){const S=j.base64,N=S.substring(S.indexOf(&quot;,&quot;)+1);return I.append(N,{name:k,base64:!0})}}throw new Error(&quot;Unsupported media&quot;)}))}addDrawings(I,C){const j=new W,k=new x;C.worksheets.forEach(S=&gt;{const{drawing:N}=S;if(N){j.prepare(N,{});let T=j.toXml(N);I.append(T,{name:`xl/drawings/${N.name}.xml`}),T=k.toXml(N.rels),I.append(T,{name:`xl/drawings/_rels/${N.name}.xml.rels`})}})}addTables(I,C){const j=new L;C.worksheets.forEach(k=&gt;{const{tables:S}=k;S.forEach(N=&gt;{j.prepare(N,{});const T=j.toXml(N);I.append(T,{name:&quot;xl/tables/&quot;+N.target})})})}async addContentTypes(I,C){const j=new _().toXml(C);I.append(j,{name:&quot;[Content_Types].xml&quot;})}async addApp(I,C){const j=new E().toXml(C);I.append(j,{name:&quot;docProps/app.xml&quot;})}async addCore(I,C){const j=new p;I.append(j.toXml(C),{name:&quot;docProps/core.xml&quot;})}async addThemes(I,C){const j=C.themes||{theme1:K};Object.keys(j).forEach(k=&gt;{const S=j[k],N=`xl/theme/${k}.xml`;I.append(S,{name:N})})}async addOfficeRels(I){const C=new x().toXml([{Id:&quot;rId1&quot;,Type:z.RelType.OfficeDocument,Target:&quot;xl/workbook.xml&quot;},{Id:&quot;rId2&quot;,Type:z.RelType.CoreProperties,Target:&quot;docProps/core.xml&quot;},{Id:&quot;rId3&quot;,Type:z.RelType.ExtenderProperties,Target:&quot;docProps/app.xml&quot;}]);I.append(C,{name:&quot;_rels/.rels&quot;})}async addWorkbookRels(I,C){let j=1;const k=[{Id:&quot;rId&quot;+j++,Type:z.RelType.Styles,Target:&quot;styles.xml&quot;},{Id:&quot;rId&quot;+j++,Type:z.RelType.Theme,Target:&quot;theme/theme1.xml&quot;}];C.sharedStrings.count&amp;&amp;k.push({Id:&quot;rId&quot;+j++,Type:z.RelType.SharedStrings,Target:&quot;sharedStrings.xml&quot;}),C.worksheets.forEach(N=&gt;{N.rId=&quot;rId&quot;+j++,k.push({Id:N.rId,Type:z.RelType.Worksheet,Target:`worksheets/sheet${N.id}.xml`})});const S=new x().toXml(k);I.append(S,{name:&quot;xl/_rels/workbook.xml.rels&quot;})}async addSharedStrings(I,C){C.sharedStrings&amp;&amp;C.sharedStrings.count&amp;&amp;I.append(C.sharedStrings.xml,{name:&quot;xl/sharedStrings.xml&quot;})}async addStyles(I,C){const{xml:j}=C.styles;j&amp;&amp;I.append(j,{name:&quot;xl/styles.xml&quot;})}async addWorkbook(I,C){const j=new M;I.append(j.toXml(C),{name:&quot;xl/workbook.xml&quot;})}async addWorksheets(I,C){const j=new D,k=new x,S=new V,N=new H;C.worksheets.forEach(T=&gt;{let R=new d;j.render(R,T),I.append(R.xml,{name:`xl/worksheets/sheet${T.id}.xml`}),T.rels&amp;&amp;T.rels.length&amp;&amp;(R=new d,k.render(R,T.rels),I.append(R.xml,{name:`xl/worksheets/_rels/sheet${T.id}.xml.rels`})),T.comments.length&gt;0&amp;&amp;(R=new d,S.render(R,T),I.append(R.xml,{name:`xl/comments${T.id}.xml`}),R=new d,N.render(R,T),I.append(R.xml,{name:`xl/drawings/vmlDrawing${T.id}.vml`}))})}_finalize(I){return new Promise((C,j)=&gt;{I.on(&quot;finish&quot;,()=&gt;{C(this)}),I.on(&quot;error&quot;,j),I.finalize()})}prepareModel(I,C){I.creator=I.creator||&quot;ExcelJS&quot;,I.lastModifiedBy=I.lastModifiedBy||&quot;ExcelJS&quot;,I.created=I.created||new Date,I.modified=I.modified||new Date,I.useSharedStrings=C.useSharedStrings===void 0||C.useSharedStrings,I.useStyles=C.useStyles===void 0||C.useStyles,I.sharedStrings=new b,I.styles=I.useStyles?new y(!0):new y.Mock;const j=new M,k=new D;j.prepare(I);const S={sharedStrings:I.sharedStrings,styles:I.styles,date1904:I.properties.date1904,drawingsCount:0,media:I.media};S.drawings=I.drawings=[],S.commentRefs=I.commentRefs=[];let N=0;I.tables=[],I.worksheets.forEach(T=&gt;{T.tables.forEach(R=&gt;{N++,R.target=`table${N}.xml`,R.id=N,I.tables.push(R)}),k.prepare(T,S)})}async write(I,C){C=C||{};const{model:j}=this.workbook,k=new c.ZipWriter(C.zip);return k.pipe(I),this.prepareModel(j,C),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(I,C){const j=u.createWriteStream(I);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,C).then(()=&gt;{j.end()}).catch(N=&gt;{S(N)})})}async writeBuffer(I){const C=new h;return await this.write(C,I),C.read()}}z.RelType=t(&quot;./rel-type&quot;),n.exports=z}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;../utils/browser-buffer-decode&quot;:16,&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,&quot;../utils/xml-stream&quot;:28,&quot;../utils/zip-stream&quot;:29,&quot;./rel-type&quot;:31,&quot;./xform/book/workbook-xform&quot;:38,&quot;./xform/comment/comments-xform&quot;:40,&quot;./xform/comment/vml-notes-xform&quot;:45,&quot;./xform/core/app-xform&quot;:51,&quot;./xform/core/content-types-xform&quot;:52,&quot;./xform/core/core-xform&quot;:53,&quot;./xform/core/relationships-xform&quot;:55,&quot;./xform/drawing/drawing-xform&quot;:62,&quot;./xform/sheet/worksheet-xform&quot;:115,&quot;./xform/strings/shared-strings-xform&quot;:124,&quot;./xform/style/styles-xform&quot;:135,&quot;./xform/table/table-xform&quot;:143,&quot;./xml/theme1&quot;:145,_process:467,buffer:220,fs:216,jszip:441,&quot;readable-stream&quot;:491}],145:[function(t,n,o){n.exports=`&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;a:theme xmlns:a=&quot;http://schemas.openxmlformats.org/drawingml/2006/main&quot; name=&quot;Office Theme&quot;&gt; &lt;a:themeElements&gt; &lt;a:clrScheme name=&quot;Office&quot;&gt; &lt;a:dk1&gt; &lt;a:sysClr val=&quot;windowText&quot; lastClr=&quot;000000&quot;/&gt; &lt;/a:dk1&gt; &lt;a:lt1&gt; &lt;a:sysClr val=&quot;window&quot; lastClr=&quot;FFFFFF&quot;/&gt; &lt;/a:lt1&gt; &lt;a:dk2&gt; &lt;a:srgbClr val=&quot;1F497D&quot;/&gt; &lt;/a:dk2&gt; &lt;a:lt2&gt; &lt;a:srgbClr val=&quot;EEECE1&quot;/&gt; &lt;/a:lt2&gt; &lt;a:accent1&gt; &lt;a:srgbClr val=&quot;4F81BD&quot;/&gt; &lt;/a:accent1&gt; &lt;a:accent2&gt; &lt;a:srgbClr val=&quot;C0504D&quot;/&gt; &lt;/a:accent2&gt; &lt;a:accent3&gt; &lt;a:srgbClr val=&quot;9BBB59&quot;/&gt; &lt;/a:accent3&gt; &lt;a:accent4&gt; &lt;a:srgbClr val=&quot;8064A2&quot;/&gt; &lt;/a:accent4&gt; &lt;a:accent5&gt; &lt;a:srgbClr val=&quot;4BACC6&quot;/&gt; &lt;/a:accent5&gt; &lt;a:accent6&gt; &lt;a:srgbClr val=&quot;F79646&quot;/&gt; &lt;/a:accent6&gt; &lt;a:hlink&gt; &lt;a:srgbClr val=&quot;0000FF&quot;/&gt; &lt;/a:hlink&gt; &lt;a:folHlink&gt; &lt;a:srgbClr val=&quot;800080&quot;/&gt; &lt;/a:folHlink&gt; &lt;/a:clrScheme&gt; &lt;a:fontScheme name=&quot;Office&quot;&gt; &lt;a:majorFont&gt; &lt;a:latin typeface=&quot;Cambria&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;MoolBoran&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:majorFont&gt; &lt;a:minorFont&gt; &lt;a:latin typeface=&quot;Calibri&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;DaunPenh&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:minorFont&gt; &lt;/a:fontScheme&gt; &lt;a:fmtScheme name=&quot;Office&quot;&gt; &lt;a:fillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;35000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;37000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;15000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;1&quot;/&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;100000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;130000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;0&quot;/&gt; &lt;/a:gradFill&gt; &lt;/a:fillStyleLst&gt; &lt;a:lnStyleLst&gt; &lt;a:ln w=&quot;9525&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;95000&quot;/&gt; &lt;a:satMod val=&quot;105000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;25400&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;38100&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;/a:lnStyleLst&gt; &lt;a:effectStyleLst&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;20000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;38000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;a:scene3d&gt; &lt;a:camera prst=&quot;orthographicFront&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;0&quot;/&gt; &lt;/a:camera&gt; &lt;a:lightRig rig=&quot;threePt&quot; dir=&quot;t&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;1200000&quot;/&gt; &lt;/a:lightRig&gt; &lt;/a:scene3d&gt; &lt;a:sp3d&gt; &lt;a:bevelT w=&quot;63500&quot; h=&quot;25400&quot;/&gt; &lt;/a:sp3d&gt; &lt;/a:effectStyle&gt; &lt;/a:effectStyleLst&gt; &lt;a:bgFillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;40000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;40000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;45000&quot;/&gt; &lt;a:shade val=&quot;99000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;20000&quot;/&gt; &lt;a:satMod val=&quot;255000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;-80000&quot; r=&quot;50000&quot; b=&quot;180000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;80000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;30000&quot;/&gt; &lt;a:satMod val=&quot;200000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;50000&quot; r=&quot;50000&quot; b=&quot;50000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;/a:bgFillStyleLst&gt; &lt;/a:fmtScheme&gt; &lt;/a:themeElements&gt; &lt;a:objectDefaults&gt; &lt;a:spDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;3&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;lt1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:spDef&gt; &lt;a:lnDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;tx1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:lnDef&gt; &lt;/a:objectDefaults&gt; &lt;a:extraClrSchemeLst/&gt; &lt;/a:theme&gt;`},{}],146:[function(t,n,o){(function(s){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvFormatterStream=void 0;const a=t(&quot;stream&quot;),u=t(&quot;./formatter&quot;);class l extends a.Transform{constructor(c){super({writableObjectMode:c.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=c,this.rowFormatter=new u.RowFormatter(c),this.hasWrittenBOM=!c.writeBOM}transform(c){return this.rowFormatter.rowTransform=c,this}_transform(c,h,f){let d=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(c,(v,y)=&gt;v?(d=!0,f(v)):(y&amp;&amp;y.forEach(p=&gt;{this.push(s.from(p,&quot;utf8&quot;))}),d=!0,f()))}catch(v){if(d)throw v;f(v)}}_flush(c){this.rowFormatter.finish((h,f)=&gt;h?c(h):(f&amp;&amp;f.forEach(d=&gt;{this.push(s.from(d,&quot;utf8&quot;))}),c()))}}o.CsvFormatterStream=l}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./formatter&quot;:150,buffer:220,stream:505}],147:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FormatterOptions=void 0,o.FormatterOptions=class{constructor(){let s=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{};var a;this.objectMode=!0,this.delimiter=&quot;,&quot;,this.rowDelimiter=`
`,this.quote=&#039;&quot;&#039;,this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM=&quot;\uFEFF&quot;,this.alwaysWriteHeaders=!1,Object.assign(this,s||{}),s?.quoteHeaders===void 0&amp;&amp;(this.quoteHeaders=this.quoteColumns),s?.quote===!0?this.quote=&#039;&quot;&#039;:s?.quote===!1&amp;&amp;(this.quote=&quot;&quot;),typeof s?.escape!=&quot;string&quot;&amp;&amp;(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&amp;&amp;((a=s.writeHeaders)===null||a===void 0||a),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,n,o){var s=function(i){return i&amp;&amp;i.__esModule?i:{default:i}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=void 0;const a=s(t(&quot;lodash.isboolean&quot;)),u=s(t(&quot;lodash.isnil&quot;)),l=s(t(&quot;lodash.escaperegexp&quot;));o.FieldFormatter=class{constructor(i){this._headers=null,this.formatterOptions=i,i.headers!==null&amp;&amp;(this.headers=i.headers),this.REPLACE_REGEXP=new RegExp(i.quote,&quot;g&quot;);const c=`[${i.delimiter}${l.default(i.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(c)}set headers(i){this._headers=i}shouldQuote(i,c){const h=c?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return a.default(h)?h:Array.isArray(h)?h[i]:this._headers!==null&amp;&amp;h[this._headers[i]]}format(i,c,h){const f=(&quot;&quot;+(u.default(i)?&quot;&quot;:i)).replace(/\0/g,&quot;&quot;),{formatterOptions:d}=this;return d.quote!==&quot;&quot;&amp;&amp;f.indexOf(d.quote)!==-1?this.quoteField(f.replace(this.REPLACE_REGEXP,d.escapedQuote)):f.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(c,h)?this.quoteField(f):f}quoteField(i){const{quote:c}=this.formatterOptions;return`${c}${i}${c}`}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isboolean&quot;:444,&quot;lodash.isnil&quot;:447}],149:[function(t,n,o){var s=function(h){return h&amp;&amp;h.__esModule?h:{default:h}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowFormatter=void 0;const a=s(t(&quot;lodash.isfunction&quot;)),u=s(t(&quot;lodash.isequal&quot;)),l=t(&quot;./FieldFormatter&quot;),i=t(&quot;../types&quot;);class c{constructor(f){this.rowCount=0,this.formatterOptions=f,this.fieldFormatter=new l.FieldFormatter(f),this.headers=f.headers,this.shouldWriteHeaders=f.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&amp;&amp;(this.fieldFormatter.headers=this.headers),f.transform&amp;&amp;(this.rowTransform=f.transform)}static isRowHashArray(f){return!!Array.isArray(f)&amp;&amp;Array.isArray(f[0])&amp;&amp;f[0].length===2}static isRowArray(f){return Array.isArray(f)&amp;&amp;!this.isRowHashArray(f)}static gatherHeaders(f){return c.isRowHashArray(f)?f.map(d=&gt;d[0]):Array.isArray(f)?f:Object.keys(f)}static createTransform(f){return i.isSyncTransform(f)?(d,v)=&gt;{let y=null;try{y=f(d)}catch(p){return v(p)}return v(null,y)}:(d,v)=&gt;{f(d,v)}}set rowTransform(f){if(!a.default(f))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=c.createTransform(f)}format(f,d){this.callTransformer(f,(v,y)=&gt;{if(v)return d(v);if(!f)return d(null);const p=[];if(y){const{shouldFormatColumns:b,headers:x}=this.checkHeaders(y);if(this.shouldWriteHeaders&amp;&amp;x&amp;&amp;!this.hasWrittenHeaders&amp;&amp;(p.push(this.formatColumns(x,!0)),this.hasWrittenHeaders=!0),b){const _=this.gatherColumns(y);p.push(this.formatColumns(_,!1))}}return d(null,p)})}finish(f){const d=[];if(this.formatterOptions.alwaysWriteHeaders&amp;&amp;this.rowCount===0){if(!this.headers)return f(new Error(&quot;`alwaysWriteHeaders` option is set to true but `headers` option not provided.&quot;));d.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&amp;&amp;d.push(this.formatterOptions.rowDelimiter),f(null,d)}checkHeaders(f){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const d=c.gatherHeaders(f);return this.headers=d,this.fieldFormatter.headers=d,this.shouldWriteHeaders?{shouldFormatColumns:!u.default(d,f),headers:d}:{shouldFormatColumns:!0,headers:null}}gatherColumns(f){if(this.headers===null)throw new Error(&quot;Headers is currently null&quot;);return Array.isArray(f)?c.isRowHashArray(f)?this.headers.map((d,v)=&gt;{const y=f[v];return y?y[1]:&quot;&quot;}):c.isRowArray(f)&amp;&amp;!this.shouldWriteHeaders?f:this.headers.map((d,v)=&gt;f[v]):this.headers.map(d=&gt;f[d])}callTransformer(f,d){return this._rowTransform?this._rowTransform(f,d):d(null,f)}formatColumns(f,d){const v=f.map((p,b)=&gt;this.fieldFormatter.format(p,b,d)).join(this.formatterOptions.delimiter),{rowCount:y}=this;return this.rowCount+=1,y?[this.formatterOptions.rowDelimiter,v].join(&quot;&quot;):v}}o.RowFormatter=c},{&quot;../types&quot;:152,&quot;./FieldFormatter&quot;:148,&quot;lodash.isequal&quot;:445,&quot;lodash.isfunction&quot;:446}],150:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=o.RowFormatter=void 0;var s=t(&quot;./RowFormatter&quot;);Object.defineProperty(o,&quot;RowFormatter&quot;,{enumerable:!0,get:function(){return s.RowFormatter}});var a=t(&quot;./FieldFormatter&quot;);Object.defineProperty(o,&quot;FieldFormatter&quot;,{enumerable:!0,get:function(){return a.FieldFormatter}})},{&quot;./FieldFormatter&quot;:148,&quot;./RowFormatter&quot;:149}],151:[function(t,n,o){(function(s){(function(){var a=Object.create?function(b,x,_,E){E===void 0&amp;&amp;(E=_),Object.defineProperty(b,E,{enumerable:!0,get:function(){return x[_]}})}:function(b,x,_,E){E===void 0&amp;&amp;(E=_),b[E]=x[_]},u=Object.create?function(b,x){Object.defineProperty(b,&quot;default&quot;,{enumerable:!0,value:x})}:function(b,x){b.default=x},l=function(b){if(b&amp;&amp;b.__esModule)return b;var x={};if(b!=null)for(var _ in b)_!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(b,_)&amp;&amp;a(x,b,_);return u(x,b),x},i=function(b,x){for(var _ in b)_===&quot;default&quot;||Object.prototype.hasOwnProperty.call(x,_)||a(x,b,_)};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=o.FormatterOptions=o.CsvFormatterStream=void 0;const c=t(&quot;util&quot;),h=t(&quot;stream&quot;),f=l(t(&quot;fs&quot;)),d=t(&quot;./FormatterOptions&quot;),v=t(&quot;./CsvFormatterStream&quot;);i(t(&quot;./types&quot;),o);var y=t(&quot;./CsvFormatterStream&quot;);Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return y.CsvFormatterStream}});var p=t(&quot;./FormatterOptions&quot;);Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return p.FormatterOptions}}),o.format=b=&gt;new v.CsvFormatterStream(new d.FormatterOptions(b)),o.write=(b,x)=&gt;{const _=o.format(x),E=c.promisify((M,D)=&gt;{_.write(M,void 0,D)});return b.reduce((M,D)=&gt;M.then(()=&gt;E(D)),Promise.resolve()).then(()=&gt;_.end()).catch(M=&gt;{_.emit(&quot;error&quot;,M)}),_},o.writeToStream=(b,x,_)=&gt;o.write(x,_).pipe(b),o.writeToBuffer=function(b){let x=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};const _=[],E=new h.Writable({write(M,D,W){_.push(M),W()}});return new Promise((M,D)=&gt;{E.on(&quot;error&quot;,D).on(&quot;finish&quot;,()=&gt;M(s.concat(_))),o.write(b,x).pipe(E)})},o.writeToString=(b,x)=&gt;o.writeToBuffer(b,x).then(_=&gt;_.toString()),o.writeToPath=(b,x,_)=&gt;{const E=f.createWriteStream(b,{encoding:&quot;utf8&quot;});return o.write(x,_).pipe(E)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./CsvFormatterStream&quot;:146,&quot;./FormatterOptions&quot;:147,&quot;./types&quot;:152,buffer:220,fs:216,stream:505,util:527}],152:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncTransform=void 0,o.isSyncTransform=s=&gt;s.length===1},{}],153:[function(t,n,o){(function(s){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=void 0;const a=t(&quot;string_decoder&quot;),u=t(&quot;stream&quot;),l=t(&quot;./transforms&quot;),i=t(&quot;./parser&quot;);class c extends u.Transform{constructor(f){super({objectMode:f.objectMode}),this.lines=&quot;&quot;,this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=f,this.parser=new i.Parser(f),this.headerTransformer=new l.HeaderTransformer(f),this.decoder=new a.StringDecoder(f.encoding),this.rowTransformerValidator=new l.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&amp;&amp;this.rowCount&gt;=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount&gt;this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount&lt;=this.parserOptions.skipLines}transform(f){return this.rowTransformerValidator.rowTransform=f,this}validate(f){return this.rowTransformerValidator.rowValidator=f,this}emit(f){if(f===&quot;end&quot;)return this.endEmitted||(this.endEmitted=!0,super.emit(&quot;end&quot;,this.rowCount)),!1;for(var d=arguments.length,v=new Array(d&gt;1?d-1:0),y=1;y&lt;d;y++)v[y-1]=arguments[y];return super.emit(f,...v)}_transform(f,d,v){if(this.hasHitRowLimit)return v();const y=c.wrapDoneCallback(v);try{const{lines:p}=this,b=p+this.decoder.write(f),x=this.parse(b,!0);return this.processRows(x,y)}catch(p){return y(p)}}_flush(f){const d=c.wrapDoneCallback(f);if(this.hasHitRowLimit)return d();try{const v=this.lines+this.decoder.end(),y=this.parse(v,!1);return this.processRows(y,d)}catch(v){return d(v)}}parse(f,d){if(!f)return[];const{line:v,rows:y}=this.parser.parse(f,d);return this.lines=v,y}processRows(f,d){const v=f.length,y=p=&gt;{const b=E=&gt;E?d(E):p%100!=0?y(p+1):void s(()=&gt;y(p+1));if(this.checkAndEmitHeaders(),p&gt;=v||this.hasHitRowLimit)return d();if(this.parsedLineCount+=1,this.shouldSkipLine)return b();const x=f[p];this.rowCount+=1,this.parsedRowCount+=1;const _=this.rowCount;return this.transformRow(x,(E,M)=&gt;{if(E)return this.rowCount-=1,b(E);if(!M)return b(new Error(&quot;expected transform result&quot;));if(M.isValid){if(M.row)return this.pushRow(M.row,b)}else this.emit(&quot;data-invalid&quot;,M.row,_,M.reason);return b()})};y(0)}transformRow(f,d){try{this.headerTransformer.transform(f,(v,y)=&gt;v?d(v):y?y.isValid?y.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(y.row,d):this.skipRow(d):(this.rowCount-=1,this.parsedRowCount-=1,d(null,{row:null,isValid:!0})):this.shouldEmitRows?d(null,{isValid:!1,row:f}):this.skipRow(d):d(new Error(&quot;Expected result from header transform&quot;)))}catch(v){d(v)}}checkAndEmitHeaders(){!this.headersEmitted&amp;&amp;this.headerTransformer.headers&amp;&amp;(this.headersEmitted=!0,this.emit(&quot;headers&quot;,this.headerTransformer.headers))}skipRow(f){return this.rowCount-=1,f(null,{row:null,isValid:!0})}pushRow(f,d){try{this.parserOptions.objectMode?this.push(f):this.push(JSON.stringify(f)),d()}catch(v){d(v)}}static wrapDoneCallback(f){let d=!1;return function(v){if(v){if(d)throw v;return d=!0,void f(v)}for(var y=arguments.length,p=new Array(y&gt;1?y-1:0),b=1;b&lt;y;b++)p[b-1]=arguments[b];f(...p)}}}o.CsvParserStream=c}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate)},{&quot;./parser&quot;:165,&quot;./transforms&quot;:168,stream:505,string_decoder:218,timers:523}],154:[function(t,n,o){var s=function(l){return l&amp;&amp;l.__esModule?l:{default:l}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ParserOptions=void 0;const a=s(t(&quot;lodash.escaperegexp&quot;)),u=s(t(&quot;lodash.isnil&quot;));o.ParserOptions=class{constructor(l){var i;if(this.objectMode=!0,this.delimiter=&quot;,&quot;,this.ignoreEmpty=!1,this.quote=&#039;&quot;&#039;,this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn=&quot;\r&quot;,this.encoding=&quot;utf8&quot;,this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,l||{}),this.delimiter.length&gt;1)throw new Error(&quot;delimiter option must be one character long&quot;);this.escapedDelimiter=a.default(this.delimiter),this.escapeChar=(i=this.escape)!==null&amp;&amp;i!==void 0?i:this.quote,this.supportsComments=!u.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows&gt;0&amp;&amp;(this.limitRows=!0)}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isnil&quot;:447}],155:[function(t,n,o){var s=Object.create?function(y,p,b,x){x===void 0&amp;&amp;(x=b),Object.defineProperty(y,x,{enumerable:!0,get:function(){return p[b]}})}:function(y,p,b,x){x===void 0&amp;&amp;(x=b),y[x]=p[b]},a=Object.create?function(y,p){Object.defineProperty(y,&quot;default&quot;,{enumerable:!0,value:p})}:function(y,p){y.default=p},u=function(y){if(y&amp;&amp;y.__esModule)return y;var p={};if(y!=null)for(var b in y)b!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(y,b)&amp;&amp;s(p,y,b);return a(p,y),p},l=function(y,p){for(var b in y)b===&quot;default&quot;||Object.prototype.hasOwnProperty.call(p,b)||s(p,y,b)};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.parseString=o.parseFile=o.parseStream=o.parse=o.ParserOptions=o.CsvParserStream=void 0;const i=u(t(&quot;fs&quot;)),c=t(&quot;stream&quot;),h=t(&quot;./ParserOptions&quot;),f=t(&quot;./CsvParserStream&quot;);l(t(&quot;./types&quot;),o);var d=t(&quot;./CsvParserStream&quot;);Object.defineProperty(o,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return d.CsvParserStream}});var v=t(&quot;./ParserOptions&quot;);Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return v.ParserOptions}}),o.parse=y=&gt;new f.CsvParserStream(new h.ParserOptions(y)),o.parseStream=(y,p)=&gt;y.pipe(new f.CsvParserStream(new h.ParserOptions(p))),o.parseFile=function(y){let p=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};return i.createReadStream(y).pipe(new f.CsvParserStream(new h.ParserOptions(p)))},o.parseString=(y,p)=&gt;{const b=new c.Readable;return b.push(y),b.push(null),b.pipe(new f.CsvParserStream(new h.ParserOptions(p)))}},{&quot;./CsvParserStream&quot;:153,&quot;./ParserOptions&quot;:154,&quot;./types&quot;:169,fs:216,stream:505}],156:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Parser=void 0;const s=t(&quot;./Scanner&quot;),a=t(&quot;./RowParser&quot;),u=t(&quot;./Token&quot;);class l{constructor(c){this.parserOptions=c,this.rowParser=new a.RowParser(this.parserOptions)}static removeBOM(c){return c&amp;&amp;c.charCodeAt(0)===65279?c.slice(1):c}parse(c,h){const f=new s.Scanner({line:l.removeBOM(c),parserOptions:this.parserOptions,hasMoreData:h});return this.parserOptions.supportsComments?this.parseWithComments(f):this.parseWithoutComments(f)}parseWithoutComments(c){const h=[];let f=!0;for(;f;)f=this.parseRow(c,h);return{line:c.line,rows:h}}parseWithComments(c){const{parserOptions:h}=this,f=[];for(let d=c.nextCharacterToken;d!==null;d=c.nextCharacterToken)if(u.Token.isTokenComment(d,h)){if(c.advancePastLine()===null)return{line:c.lineFromCursor,rows:f};if(!c.hasMoreCharacters)return{line:c.lineFromCursor,rows:f};c.truncateToCursor()}else if(!this.parseRow(c,f))break;return{line:c.line,rows:f}}parseRow(c,h){if(!c.nextNonSpaceToken)return!1;const f=this.rowParser.parse(c);return f!==null&amp;&amp;(this.parserOptions.ignoreEmpty&amp;&amp;a.RowParser.isEmptyRow(f)||h.push(f),!0)}}o.Parser=l},{&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159}],157:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowParser=void 0;const s=t(&quot;./column&quot;),a=t(&quot;./Token&quot;);o.RowParser=class{constructor(u){this.parserOptions=u,this.columnParser=new s.ColumnParser(u)}static isEmptyRow(u){return u.join(&quot;&quot;).replace(/\s+/g,&quot;&quot;)===&quot;&quot;}parse(u){const{parserOptions:l}=this,{hasMoreData:i}=u,c=u,h=[];let f=this.getStartToken(c,h);for(;f;){if(a.Token.isTokenRowDelimiter(f))return c.advancePastToken(f),!c.hasMoreCharacters&amp;&amp;a.Token.isTokenCarriageReturn(f,l)&amp;&amp;i?null:(c.truncateToCursor(),h);if(!this.shouldSkipColumnParse(c,f,h)){const d=this.columnParser.parse(c);if(d===null)return null;h.push(d)}f=c.nextNonSpaceToken}return i?null:(c.truncateToCursor(),h)}getStartToken(u,l){const i=u.nextNonSpaceToken;return i!==null&amp;&amp;a.Token.isTokenDelimiter(i,this.parserOptions)?(l.push(&quot;&quot;),u.nextNonSpaceToken):i}shouldSkipColumnParse(u,l,i){const{parserOptions:c}=this;if(a.Token.isTokenDelimiter(l,c)){u.advancePastToken(l);const h=u.nextCharacterToken;if(!u.hasMoreCharacters||h!==null&amp;&amp;a.Token.isTokenRowDelimiter(h)||h!==null&amp;&amp;a.Token.isTokenDelimiter(h,c))return i.push(&quot;&quot;),!0}return!1}}},{&quot;./Token&quot;:159,&quot;./column&quot;:164}],158:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Scanner=void 0;const s=t(&quot;./Token&quot;),a=/((?:\r\n)|\n|\r)/;o.Scanner=class{constructor(u){this.cursor=0,this.line=u.line,this.lineLength=this.line.length,this.parserOptions=u.parserOptions,this.hasMoreData=u.hasMoreData,this.cursor=u.cursor||0}get hasMoreCharacters(){return this.lineLength&gt;this.cursor}get nextNonSpaceToken(){const{lineFromCursor:u}=this,l=this.parserOptions.NEXT_TOKEN_REGEXP;if(u.search(l)===-1)return null;const i=l.exec(u);if(i==null)return null;const c=i[1],h=this.cursor+(i.index||0);return new s.Token({token:c,startCursor:h,endCursor:h+c.length-1})}get nextCharacterToken(){const{cursor:u,lineLength:l}=this;return l&lt;=u?null:new s.Token({token:this.line[u],startCursor:u,endCursor:u})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){const u=a.exec(this.lineFromCursor);return u?(this.cursor+=(u.index||0)+u[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(u){return this.cursor=u,this}advanceToToken(u){return this.cursor=u.startCursor,this}advancePastToken(u){return this.cursor=u.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{&quot;./Token&quot;:159}],159:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Token=void 0,o.Token=class{constructor(s){this.token=s.token,this.startCursor=s.startCursor,this.endCursor=s.endCursor}static isTokenRowDelimiter(s){const a=s.token;return a===&quot;\r&quot;||a===`
`||a===`\r
`}static isTokenCarriageReturn(s,a){return s.token===a.carriageReturn}static isTokenComment(s,a){return a.supportsComments&amp;&amp;!!s&amp;&amp;s.token===a.comment}static isTokenEscapeCharacter(s,a){return s.token===a.escapeChar}static isTokenQuote(s,a){return s.token===a.quote}static isTokenDelimiter(s,a){return s.token===a.delimiter}}},{}],160:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=void 0,o.ColumnFormatter=class{constructor(s){s.trim?this.format=a=&gt;a.trim():s.ltrim?this.format=a=&gt;a.trimLeft():s.rtrim?this.format=a=&gt;a.trimRight():this.format=a=&gt;a}}},{}],161:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnParser=void 0;const s=t(&quot;./NonQuotedColumnParser&quot;),a=t(&quot;./QuotedColumnParser&quot;),u=t(&quot;../Token&quot;);o.ColumnParser=class{constructor(l){this.parserOptions=l,this.quotedColumnParser=new a.QuotedColumnParser(l),this.nonQuotedColumnParser=new s.NonQuotedColumnParser(l)}parse(l){const{nextNonSpaceToken:i}=l;return i!==null&amp;&amp;u.Token.isTokenQuote(i,this.parserOptions)?(l.advanceToToken(i),this.quotedColumnParser.parse(l)):this.nonQuotedColumnParser.parse(l)}}},{&quot;../Token&quot;:159,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],162:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.NonQuotedColumnParser=void 0;const s=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.NonQuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new s.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const{parserOptions:l}=this,i=[];let c=u.nextCharacterToken;for(;c&amp;&amp;!a.Token.isTokenDelimiter(c,l)&amp;&amp;!a.Token.isTokenRowDelimiter(c);c=u.nextCharacterToken)i.push(c.token),u.advancePastToken(c);return this.columnFormatter.format(i.join(&quot;&quot;))}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],163:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=void 0;const s=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.QuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new s.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const l=u.cursor,{foundClosingQuote:i,col:c}=this.gatherDataBetweenQuotes(u);if(!i){if(u.advanceTo(l),!u.hasMoreData)throw new Error(`Parse Error: missing closing: &#039;${this.parserOptions.quote||&quot;&quot;}&#039; in line: at &#039;${u.lineFromCursor.replace(/[\r\n]/g,&quot;\\n&#039;&quot;)}&#039;`);return null}return this.checkForMalformedColumn(u),c}gatherDataBetweenQuotes(u){const{parserOptions:l}=this;let i=!1,c=!1;const h=[];let f=u.nextCharacterToken;for(;!c&amp;&amp;f!==null;f=u.nextCharacterToken){const d=a.Token.isTokenQuote(f,l);if(!i&amp;&amp;d)i=!0;else if(i)if(a.Token.isTokenEscapeCharacter(f,l)){u.advancePastToken(f);const v=u.nextCharacterToken;v!==null&amp;&amp;(a.Token.isTokenQuote(v,l)||a.Token.isTokenEscapeCharacter(v,l))?(h.push(v.token),f=v):d?c=!0:h.push(f.token)}else d?c=!0:h.push(f.token);u.advancePastToken(f)}return{col:this.columnFormatter.format(h.join(&quot;&quot;)),foundClosingQuote:c}}checkForMalformedColumn(u){const{parserOptions:l}=this,{nextNonSpaceToken:i}=u;if(i){const c=a.Token.isTokenDelimiter(i,l),h=a.Token.isTokenRowDelimiter(i);if(!c&amp;&amp;!h){const f=u.lineFromCursor.substr(0,10).replace(/[\r\n]/g,&quot;\\n&#039;&quot;);throw new Error(`Parse Error: expected: &#039;${l.escapedDelimiter}&#039; OR new line got: &#039;${i.token}&#039;. at &#039;${f}`)}u.advanceToToken(i)}else u.hasMoreData||u.advancePastLine()}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],164:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=void 0;var s=t(&quot;./ColumnParser&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return s.ColumnParser}});var a=t(&quot;./NonQuotedColumnParser&quot;);Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.NonQuotedColumnParser}});var u=t(&quot;./QuotedColumnParser&quot;);Object.defineProperty(o,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return u.QuotedColumnParser}});var l=t(&quot;./ColumnFormatter&quot;);Object.defineProperty(o,&quot;ColumnFormatter&quot;,{enumerable:!0,get:function(){return l.ColumnFormatter}})},{&quot;./ColumnFormatter&quot;:160,&quot;./ColumnParser&quot;:161,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],165:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=o.Token=o.Scanner=o.RowParser=o.Parser=void 0;var s=t(&quot;./Parser&quot;);Object.defineProperty(o,&quot;Parser&quot;,{enumerable:!0,get:function(){return s.Parser}});var a=t(&quot;./RowParser&quot;);Object.defineProperty(o,&quot;RowParser&quot;,{enumerable:!0,get:function(){return a.RowParser}});var u=t(&quot;./Scanner&quot;);Object.defineProperty(o,&quot;Scanner&quot;,{enumerable:!0,get:function(){return u.Scanner}});var l=t(&quot;./Token&quot;);Object.defineProperty(o,&quot;Token&quot;,{enumerable:!0,get:function(){return l.Token}});var i=t(&quot;./column&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return i.ColumnParser}}),Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return i.NonQuotedColumnParser}}),Object.defineProperty(o,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return i.QuotedColumnParser}})},{&quot;./Parser&quot;:156,&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159,&quot;./column&quot;:164}],166:[function(t,n,o){var s=function(c){return c&amp;&amp;c.__esModule?c:{default:c}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=void 0;const a=s(t(&quot;lodash.isundefined&quot;)),u=s(t(&quot;lodash.isfunction&quot;)),l=s(t(&quot;lodash.uniq&quot;)),i=s(t(&quot;lodash.groupby&quot;));o.HeaderTransformer=class{constructor(c){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=c,c.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(c.headers)?this.setHeaders(c.headers):u.default(c.headers)&amp;&amp;(this.headersTransform=c.headers)}transform(c,h){return this.shouldMapRow(c)?h(null,this.processRow(c)):h(null,{row:null,isValid:!0})}shouldMapRow(c){const{parserOptions:h}=this;if(!this.headersTransform&amp;&amp;h.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(c)){if(this.headersTransform)this.setHeaders(this.headersTransform(c));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(c)}return!1}return!0}processRow(c){if(!this.headers)return{row:c,isValid:!0};const{parserOptions:h}=this;if(!h.discardUnmappedColumns&amp;&amp;c.length&gt;this.headersLength){if(!h.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${c.length}`);return{row:c,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${c.length}`}}return h.strictColumnHandling&amp;&amp;c.length&lt;this.headersLength?{row:c,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${c.length}`}:{row:this.mapHeaders(c),isValid:!0}}mapHeaders(c){const h={},{headers:f,headersLength:d}=this;for(let v=0;v&lt;d;v+=1){const y=f[v];if(!a.default(y)){const p=c[v];a.default(p)?h[y]=&quot;&quot;:h[y]=p}}return h}setHeaders(c){var h;const f=c.filter(d=&gt;!!d);if(l.default(f).length!==f.length){const d=i.default(f),v=Object.keys(d).filter(y=&gt;d[y].length&gt;1);throw new Error(&quot;Duplicate headers found &quot;+JSON.stringify(v))}this.headers=c,this.receivedHeaders=!0,this.headersLength=((h=this.headers)===null||h===void 0?void 0:h.length)||0}}},{&quot;lodash.groupby&quot;:443,&quot;lodash.isfunction&quot;:446,&quot;lodash.isundefined&quot;:448,&quot;lodash.uniq&quot;:449}],167:[function(t,n,o){var s=function(i){return i&amp;&amp;i.__esModule?i:{default:i}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowTransformerValidator=void 0;const a=s(t(&quot;lodash.isfunction&quot;)),u=t(&quot;../types&quot;);class l{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(c){return u.isSyncTransform(c)?(h,f)=&gt;{let d=null;try{d=c(h)}catch(v){return f(v)}return f(null,d)}:c}static createValidator(c){return u.isSyncValidate(c)?(h,f)=&gt;{f(null,{row:h,isValid:c(h)})}:(h,f)=&gt;{c(h,(d,v,y)=&gt;d?f(d):f(null,v?{row:h,isValid:v,reason:y}:{row:h,isValid:!1,reason:y}))}}set rowTransform(c){if(!a.default(c))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=l.createTransform(c)}set rowValidator(c){if(!a.default(c))throw new TypeError(&quot;The validate should be a function&quot;);this._rowValidator=l.createValidator(c)}transformAndValidate(c,h){return this.callTransformer(c,(f,d)=&gt;f?h(f):d?this.callValidator(d,(v,y)=&gt;v?h(v):y&amp;&amp;!y.isValid?h(null,{row:d,isValid:!1,reason:y.reason}):h(null,{row:d,isValid:!0})):h(null,{row:null,isValid:!0}))}callTransformer(c,h){return this._rowTransform?this._rowTransform(c,h):h(null,c)}callValidator(c,h){return this._rowValidator?this._rowValidator(c,h):h(null,{row:c,isValid:!0})}}o.RowTransformerValidator=l},{&quot;../types&quot;:169,&quot;lodash.isfunction&quot;:446}],168:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=o.RowTransformerValidator=void 0;var s=t(&quot;./RowTransformerValidator&quot;);Object.defineProperty(o,&quot;RowTransformerValidator&quot;,{enumerable:!0,get:function(){return s.RowTransformerValidator}});var a=t(&quot;./HeaderTransformer&quot;);Object.defineProperty(o,&quot;HeaderTransformer&quot;,{enumerable:!0,get:function(){return a.HeaderTransformer}})},{&quot;./HeaderTransformer&quot;:166,&quot;./RowTransformerValidator&quot;:167}],169:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncValidate=o.isSyncTransform=void 0,o.isSyncTransform=s=&gt;s.length===1,o.isSyncValidate=s=&gt;s.length===1},{}],170:[function(t,n,o){const s=o;s.bignum=t(&quot;bn.js&quot;),s.define=t(&quot;./asn1/api&quot;).define,s.base=t(&quot;./asn1/base&quot;),s.constants=t(&quot;./asn1/constants&quot;),s.decoders=t(&quot;./asn1/decoders&quot;),s.encoders=t(&quot;./asn1/encoders&quot;)},{&quot;./asn1/api&quot;:171,&quot;./asn1/base&quot;:173,&quot;./asn1/constants&quot;:177,&quot;./asn1/decoders&quot;:179,&quot;./asn1/encoders&quot;:182,&quot;bn.js&quot;:184}],171:[function(t,n,o){const s=t(&quot;./encoders&quot;),a=t(&quot;./decoders&quot;),u=t(&quot;inherits&quot;);function l(i,c){this.name=i,this.body=c,this.decoders={},this.encoders={}}o.define=function(i,c){return new l(i,c)},l.prototype._createNamed=function(i){const c=this.name;function h(f){this._initNamed(f,c)}return u(h,i),h.prototype._initNamed=function(f,d){i.call(this,f,d)},new h(this)},l.prototype._getDecoder=function(i){return i=i||&quot;der&quot;,this.decoders.hasOwnProperty(i)||(this.decoders[i]=this._createNamed(a[i])),this.decoders[i]},l.prototype.decode=function(i,c,h){return this._getDecoder(c).decode(i,h)},l.prototype._getEncoder=function(i){return i=i||&quot;der&quot;,this.encoders.hasOwnProperty(i)||(this.encoders[i]=this._createNamed(s[i])),this.encoders[i]},l.prototype.encode=function(i,c,h){return this._getEncoder(c).encode(i,h)}},{&quot;./decoders&quot;:179,&quot;./encoders&quot;:182,inherits:440}],172:[function(t,n,o){const s=t(&quot;inherits&quot;),a=t(&quot;../base/reporter&quot;).Reporter,u=t(&quot;safer-buffer&quot;).Buffer;function l(c,h){a.call(this,h),u.isBuffer(c)?(this.base=c,this.offset=0,this.length=c.length):this.error(&quot;Input not Buffer&quot;)}function i(c,h){if(Array.isArray(c))this.length=0,this.value=c.map((function(f){return i.isEncoderBuffer(f)||(f=new i(f,h)),this.length+=f.length,f}),this);else if(typeof c==&quot;number&quot;){if(!(0&lt;=c&amp;&amp;c&lt;=255))return h.error(&quot;non-byte EncoderBuffer value&quot;);this.value=c,this.length=1}else if(typeof c==&quot;string&quot;)this.value=c,this.length=u.byteLength(c);else{if(!u.isBuffer(c))return h.error(&quot;Unsupported type: &quot;+typeof c);this.value=c,this.length=c.length}}s(l,a),o.DecoderBuffer=l,l.isDecoderBuffer=function(c){return c instanceof l?!0:typeof c==&quot;object&quot;&amp;&amp;u.isBuffer(c.base)&amp;&amp;c.constructor.name===&quot;DecoderBuffer&quot;&amp;&amp;typeof c.offset==&quot;number&quot;&amp;&amp;typeof c.length==&quot;number&quot;&amp;&amp;typeof c.save==&quot;function&quot;&amp;&amp;typeof c.restore==&quot;function&quot;&amp;&amp;typeof c.isEmpty==&quot;function&quot;&amp;&amp;typeof c.readUInt8==&quot;function&quot;&amp;&amp;typeof c.skip==&quot;function&quot;&amp;&amp;typeof c.raw==&quot;function&quot;},l.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},l.prototype.restore=function(c){const h=new l(this.base);return h.offset=c.offset,h.length=this.offset,this.offset=c.offset,a.prototype.restore.call(this,c.reporter),h},l.prototype.isEmpty=function(){return this.offset===this.length},l.prototype.readUInt8=function(c){return this.offset+1&lt;=this.length?this.base.readUInt8(this.offset++,!0):this.error(c||&quot;DecoderBuffer overrun&quot;)},l.prototype.skip=function(c,h){if(!(this.offset+c&lt;=this.length))return this.error(h||&quot;DecoderBuffer overrun&quot;);const f=new l(this.base);return f._reporterState=this._reporterState,f.offset=this.offset,f.length=this.offset+c,this.offset+=c,f},l.prototype.raw=function(c){return this.base.slice(c?c.offset:this.offset,this.length)},o.EncoderBuffer=i,i.isEncoderBuffer=function(c){return c instanceof i?!0:typeof c==&quot;object&quot;&amp;&amp;c.constructor.name===&quot;EncoderBuffer&quot;&amp;&amp;typeof c.length==&quot;number&quot;&amp;&amp;typeof c.join==&quot;function&quot;},i.prototype.join=function(c,h){return c||(c=u.alloc(this.length)),h||(h=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(f){f.join(c,h),h+=f.length})):(typeof this.value==&quot;number&quot;?c[h]=this.value:typeof this.value==&quot;string&quot;?c.write(this.value,h):u.isBuffer(this.value)&amp;&amp;this.value.copy(c,h),h+=this.length)),c}},{&quot;../base/reporter&quot;:175,inherits:440,&quot;safer-buffer&quot;:495}],173:[function(t,n,o){const s=o;s.Reporter=t(&quot;./reporter&quot;).Reporter,s.DecoderBuffer=t(&quot;./buffer&quot;).DecoderBuffer,s.EncoderBuffer=t(&quot;./buffer&quot;).EncoderBuffer,s.Node=t(&quot;./node&quot;)},{&quot;./buffer&quot;:172,&quot;./node&quot;:174,&quot;./reporter&quot;:175}],174:[function(t,n,o){const s=t(&quot;../base/reporter&quot;).Reporter,a=t(&quot;../base/buffer&quot;).EncoderBuffer,u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=t(&quot;minimalistic-assert&quot;),i=[&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;],c=[&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(i);function h(d,v,y){const p={};this._baseState=p,p.name=y,p.enc=d,p.parent=v||null,p.children=null,p.tag=null,p.args=null,p.reverseArgs=null,p.choice=null,p.optional=!1,p.any=!1,p.obj=!1,p.use=null,p.useDecoder=null,p.key=null,p.default=null,p.explicit=null,p.implicit=null,p.contains=null,p.parent||(p.children=[],this._wrap())}n.exports=h;const f=[&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;];h.prototype.clone=function(){const d=this._baseState,v={};f.forEach((function(p){v[p]=d[p]}));const y=new this.constructor(v.parent);return y._baseState=v,y},h.prototype._wrap=function(){const d=this._baseState;c.forEach((function(v){this[v]=function(){const y=new this.constructor(this);return d.children.push(y),y[v].apply(y,arguments)}}),this)},h.prototype._init=function(d){const v=this._baseState;l(v.parent===null),d.call(this),v.children=v.children.filter((function(y){return y._baseState.parent===this}),this),l.equal(v.children.length,1,&quot;Root node can have only one child&quot;)},h.prototype._useArgs=function(d){const v=this._baseState,y=d.filter((function(p){return p instanceof this.constructor}),this);d=d.filter((function(p){return!(p instanceof this.constructor)}),this),y.length!==0&amp;&amp;(l(v.children===null),v.children=y,y.forEach((function(p){p._baseState.parent=this}),this)),d.length!==0&amp;&amp;(l(v.args===null),v.args=d,v.reverseArgs=d.map((function(p){if(typeof p!=&quot;object&quot;||p.constructor!==Object)return p;const b={};return Object.keys(p).forEach((function(x){x==(0|x)&amp;&amp;(x|=0);const _=p[x];b[_]=x})),b})))},[&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(d){h.prototype[d]=function(){const v=this._baseState;throw new Error(d+&quot; not implemented for encoding: &quot;+v.enc)}})),i.forEach((function(d){h.prototype[d]=function(){const v=this._baseState,y=Array.prototype.slice.call(arguments);return l(v.tag===null),v.tag=d,this._useArgs(y),this}})),h.prototype.use=function(d){l(d);const v=this._baseState;return l(v.use===null),v.use=d,this},h.prototype.optional=function(){return this._baseState.optional=!0,this},h.prototype.def=function(d){const v=this._baseState;return l(v.default===null),v.default=d,v.optional=!0,this},h.prototype.explicit=function(d){const v=this._baseState;return l(v.explicit===null&amp;&amp;v.implicit===null),v.explicit=d,this},h.prototype.implicit=function(d){const v=this._baseState;return l(v.explicit===null&amp;&amp;v.implicit===null),v.implicit=d,this},h.prototype.obj=function(){const d=this._baseState,v=Array.prototype.slice.call(arguments);return d.obj=!0,v.length!==0&amp;&amp;this._useArgs(v),this},h.prototype.key=function(d){const v=this._baseState;return l(v.key===null),v.key=d,this},h.prototype.any=function(){return this._baseState.any=!0,this},h.prototype.choice=function(d){const v=this._baseState;return l(v.choice===null),v.choice=d,this._useArgs(Object.keys(d).map((function(y){return d[y]}))),this},h.prototype.contains=function(d){const v=this._baseState;return l(v.use===null),v.contains=d,this},h.prototype._decode=function(d,v){const y=this._baseState;if(y.parent===null)return d.wrapResult(y.children[0]._decode(d,v));let p,b=y.default,x=!0,_=null;if(y.key!==null&amp;&amp;(_=d.enterKey(y.key)),y.optional){let E=null;if(y.explicit!==null?E=y.explicit:y.implicit!==null?E=y.implicit:y.tag!==null&amp;&amp;(E=y.tag),E!==null||y.any){if(x=this._peekTag(d,E,y.any),d.isError(x))return x}else{const M=d.save();try{y.choice===null?this._decodeGeneric(y.tag,d,v):this._decodeChoice(d,v),x=!0}catch{x=!1}d.restore(M)}}if(y.obj&amp;&amp;x&amp;&amp;(p=d.enterObject()),x){if(y.explicit!==null){const M=this._decodeTag(d,y.explicit);if(d.isError(M))return M;d=M}const E=d.offset;if(y.use===null&amp;&amp;y.choice===null){let M;y.any&amp;&amp;(M=d.save());const D=this._decodeTag(d,y.implicit!==null?y.implicit:y.tag,y.any);if(d.isError(D))return D;y.any?b=d.raw(M):d=D}if(v&amp;&amp;v.track&amp;&amp;y.tag!==null&amp;&amp;v.track(d.path(),E,d.length,&quot;tagged&quot;),v&amp;&amp;v.track&amp;&amp;y.tag!==null&amp;&amp;v.track(d.path(),d.offset,d.length,&quot;content&quot;),y.any||(b=y.choice===null?this._decodeGeneric(y.tag,d,v):this._decodeChoice(d,v)),d.isError(b))return b;if(y.any||y.choice!==null||y.children===null||y.children.forEach((function(M){M._decode(d,v)})),y.contains&amp;&amp;(y.tag===&quot;octstr&quot;||y.tag===&quot;bitstr&quot;)){const M=new u(b);b=this._getUse(y.contains,d._reporterState.obj)._decode(M,v)}}return y.obj&amp;&amp;x&amp;&amp;(b=d.leaveObject(p)),y.key===null||b===null&amp;&amp;x!==!0?_!==null&amp;&amp;d.exitKey(_):d.leaveKey(_,y.key,b),b},h.prototype._decodeGeneric=function(d,v,y){const p=this._baseState;return d===&quot;seq&quot;||d===&quot;set&quot;?null:d===&quot;seqof&quot;||d===&quot;setof&quot;?this._decodeList(v,d,p.args[0],y):/str$/.test(d)?this._decodeStr(v,d,y):d===&quot;objid&quot;&amp;&amp;p.args?this._decodeObjid(v,p.args[0],p.args[1],y):d===&quot;objid&quot;?this._decodeObjid(v,null,null,y):d===&quot;gentime&quot;||d===&quot;utctime&quot;?this._decodeTime(v,d,y):d===&quot;null_&quot;?this._decodeNull(v,y):d===&quot;bool&quot;?this._decodeBool(v,y):d===&quot;objDesc&quot;?this._decodeStr(v,d,y):d===&quot;int&quot;||d===&quot;enum&quot;?this._decodeInt(v,p.args&amp;&amp;p.args[0],y):p.use!==null?this._getUse(p.use,v._reporterState.obj)._decode(v,y):v.error(&quot;unknown tag: &quot;+d)},h.prototype._getUse=function(d,v){const y=this._baseState;return y.useDecoder=this._use(d,v),l(y.useDecoder._baseState.parent===null),y.useDecoder=y.useDecoder._baseState.children[0],y.implicit!==y.useDecoder._baseState.implicit&amp;&amp;(y.useDecoder=y.useDecoder.clone(),y.useDecoder._baseState.implicit=y.implicit),y.useDecoder},h.prototype._decodeChoice=function(d,v){const y=this._baseState;let p=null,b=!1;return Object.keys(y.choice).some((function(x){const _=d.save(),E=y.choice[x];try{const M=E._decode(d,v);if(d.isError(M))return!1;p={type:x,value:M},b=!0}catch{return d.restore(_),!1}return!0}),this),b?p:d.error(&quot;Choice not matched&quot;)},h.prototype._createEncoderBuffer=function(d){return new a(d,this.reporter)},h.prototype._encode=function(d,v,y){const p=this._baseState;if(p.default!==null&amp;&amp;p.default===d)return;const b=this._encodeValue(d,v,y);return b===void 0||this._skipDefault(b,v,y)?void 0:b},h.prototype._encodeValue=function(d,v,y){const p=this._baseState;if(p.parent===null)return p.children[0]._encode(d,v||new s);let b=null;if(this.reporter=v,p.optional&amp;&amp;d===void 0){if(p.default===null)return;d=p.default}let x=null,_=!1;if(p.any)b=this._createEncoderBuffer(d);else if(p.choice)b=this._encodeChoice(d,v);else if(p.contains)x=this._getUse(p.contains,y)._encode(d,v),_=!0;else if(p.children)x=p.children.map((function(E){if(E._baseState.tag===&quot;null_&quot;)return E._encode(null,v,d);if(E._baseState.key===null)return v.error(&quot;Child should have a key&quot;);const M=v.enterKey(E._baseState.key);if(typeof d!=&quot;object&quot;)return v.error(&quot;Child expected, but input is not object&quot;);const D=E._encode(d[E._baseState.key],v,d);return v.leaveKey(M),D}),this).filter((function(E){return E})),x=this._createEncoderBuffer(x);else if(p.tag===&quot;seqof&quot;||p.tag===&quot;setof&quot;){if(!p.args||p.args.length!==1)return v.error(&quot;Too many args for : &quot;+p.tag);if(!Array.isArray(d))return v.error(&quot;seqof/setof, but data is not Array&quot;);const E=this.clone();E._baseState.implicit=null,x=this._createEncoderBuffer(d.map((function(M){const D=this._baseState;return this._getUse(D.args[0],d)._encode(M,v)}),E))}else p.use!==null?b=this._getUse(p.use,y)._encode(d,v):(x=this._encodePrimitive(p.tag,d),_=!0);if(!p.any&amp;&amp;p.choice===null){const E=p.implicit!==null?p.implicit:p.tag,M=p.implicit===null?&quot;universal&quot;:&quot;context&quot;;E===null?p.use===null&amp;&amp;v.error(&quot;Tag could be omitted only for .use()&quot;):p.use===null&amp;&amp;(b=this._encodeComposite(E,_,M,x))}return p.explicit!==null&amp;&amp;(b=this._encodeComposite(p.explicit,!1,&quot;context&quot;,b)),b},h.prototype._encodeChoice=function(d,v){const y=this._baseState,p=y.choice[d.type];return p||l(!1,d.type+&quot; not found in &quot;+JSON.stringify(Object.keys(y.choice))),p._encode(d.value,v)},h.prototype._encodePrimitive=function(d,v){const y=this._baseState;if(/str$/.test(d))return this._encodeStr(v,d);if(d===&quot;objid&quot;&amp;&amp;y.args)return this._encodeObjid(v,y.reverseArgs[0],y.args[1]);if(d===&quot;objid&quot;)return this._encodeObjid(v,null,null);if(d===&quot;gentime&quot;||d===&quot;utctime&quot;)return this._encodeTime(v,d);if(d===&quot;null_&quot;)return this._encodeNull();if(d===&quot;int&quot;||d===&quot;enum&quot;)return this._encodeInt(v,y.args&amp;&amp;y.reverseArgs[0]);if(d===&quot;bool&quot;)return this._encodeBool(v);if(d===&quot;objDesc&quot;)return this._encodeStr(v,d);throw new Error(&quot;Unsupported tag: &quot;+d)},h.prototype._isNumstr=function(d){return/^[0-9 ]*$/.test(d)},h.prototype._isPrintstr=function(d){return/^[A-Za-z0-9 &#039;()+,-./:=?]*$/.test(d)}},{&quot;../base/buffer&quot;:172,&quot;../base/reporter&quot;:175,&quot;minimalistic-assert&quot;:453}],175:[function(t,n,o){const s=t(&quot;inherits&quot;);function a(l){this._reporterState={obj:null,path:[],options:l||{},errors:[]}}function u(l,i){this.path=l,this.rethrow(i)}o.Reporter=a,a.prototype.isError=function(l){return l instanceof u},a.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},a.prototype.restore=function(l){const i=this._reporterState;i.obj=l.obj,i.path=i.path.slice(0,l.pathLen)},a.prototype.enterKey=function(l){return this._reporterState.path.push(l)},a.prototype.exitKey=function(l){const i=this._reporterState;i.path=i.path.slice(0,l-1)},a.prototype.leaveKey=function(l,i,c){const h=this._reporterState;this.exitKey(l),h.obj!==null&amp;&amp;(h.obj[i]=c)},a.prototype.path=function(){return this._reporterState.path.join(&quot;/&quot;)},a.prototype.enterObject=function(){const l=this._reporterState,i=l.obj;return l.obj={},i},a.prototype.leaveObject=function(l){const i=this._reporterState,c=i.obj;return i.obj=l,c},a.prototype.error=function(l){let i;const c=this._reporterState,h=l instanceof u;if(i=h?l:new u(c.path.map((function(f){return&quot;[&quot;+JSON.stringify(f)+&quot;]&quot;})).join(&quot;&quot;),l.message||l,l.stack),!c.options.partial)throw i;return h||c.errors.push(i),i},a.prototype.wrapResult=function(l){const i=this._reporterState;return i.options.partial?{result:this.isError(l)?null:l,errors:i.errors}:l},s(u,Error),u.prototype.rethrow=function(l){if(this.message=l+&quot; at: &quot;+(this.path||&quot;(shallow)&quot;),Error.captureStackTrace&amp;&amp;Error.captureStackTrace(this,u),!this.stack)try{throw new Error(this.message)}catch(i){this.stack=i.stack}return this}},{inherits:440}],176:[function(t,n,o){function s(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const i=a[l];u[i]=l})),u}o.tagClass={0:&quot;universal&quot;,1:&quot;application&quot;,2:&quot;context&quot;,3:&quot;private&quot;},o.tagClassByName=s(o.tagClass),o.tag={0:&quot;end&quot;,1:&quot;bool&quot;,2:&quot;int&quot;,3:&quot;bitstr&quot;,4:&quot;octstr&quot;,5:&quot;null_&quot;,6:&quot;objid&quot;,7:&quot;objDesc&quot;,8:&quot;external&quot;,9:&quot;real&quot;,10:&quot;enum&quot;,11:&quot;embed&quot;,12:&quot;utf8str&quot;,13:&quot;relativeOid&quot;,16:&quot;seq&quot;,17:&quot;set&quot;,18:&quot;numstr&quot;,19:&quot;printstr&quot;,20:&quot;t61str&quot;,21:&quot;videostr&quot;,22:&quot;ia5str&quot;,23:&quot;utctime&quot;,24:&quot;gentime&quot;,25:&quot;graphstr&quot;,26:&quot;iso646str&quot;,27:&quot;genstr&quot;,28:&quot;unistr&quot;,29:&quot;charstr&quot;,30:&quot;bmpstr&quot;},o.tagByName=s(o.tag)},{}],177:[function(t,n,o){const s=o;s._reverse=function(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const i=a[l];u[i]=l})),u},s.der=t(&quot;./der&quot;)},{&quot;./der&quot;:176}],178:[function(t,n,o){const s=t(&quot;inherits&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=t(&quot;../base/node&quot;),i=t(&quot;../constants/der&quot;);function c(v){this.enc=&quot;der&quot;,this.name=v.name,this.entity=v,this.tree=new h,this.tree._init(v.body)}function h(v){l.call(this,&quot;der&quot;,v)}function f(v,y){let p=v.readUInt8(y);if(v.isError(p))return p;const b=i.tagClass[p&gt;&gt;6],x=(32&amp;p)==0;if((31&amp;p)==31){let _=p;for(p=0;(128&amp;_)==128;){if(_=v.readUInt8(y),v.isError(_))return _;p&lt;&lt;=7,p|=127&amp;_}}else p&amp;=31;return{cls:b,primitive:x,tag:p,tagStr:i.tag[p]}}function d(v,y,p){let b=v.readUInt8(p);if(v.isError(b))return b;if(!y&amp;&amp;b===128)return null;if((128&amp;b)==0)return b;const x=127&amp;b;if(x&gt;4)return v.error(&quot;length octect is too long&quot;);b=0;for(let _=0;_&lt;x;_++){b&lt;&lt;=8;const E=v.readUInt8(p);if(v.isError(E))return E;b|=E}return b}n.exports=c,c.prototype.decode=function(v,y){return u.isDecoderBuffer(v)||(v=new u(v,y)),this.tree._decode(v,y)},s(h,l),h.prototype._peekTag=function(v,y,p){if(v.isEmpty())return!1;const b=v.save(),x=f(v,&#039;Failed to peek tag: &quot;&#039;+y+&#039;&quot;&#039;);return v.isError(x)?x:(v.restore(b),x.tag===y||x.tagStr===y||x.tagStr+&quot;of&quot;===y||p)},h.prototype._decodeTag=function(v,y,p){const b=f(v,&#039;Failed to decode tag of &quot;&#039;+y+&#039;&quot;&#039;);if(v.isError(b))return b;let x=d(v,b.primitive,&#039;Failed to get length of &quot;&#039;+y+&#039;&quot;&#039;);if(v.isError(x))return x;if(!p&amp;&amp;b.tag!==y&amp;&amp;b.tagStr!==y&amp;&amp;b.tagStr+&quot;of&quot;!==y)return v.error(&#039;Failed to match tag: &quot;&#039;+y+&#039;&quot;&#039;);if(b.primitive||x!==null)return v.skip(x,&#039;Failed to match body of: &quot;&#039;+y+&#039;&quot;&#039;);const _=v.save(),E=this._skipUntilEnd(v,&#039;Failed to skip indefinite length body: &quot;&#039;+this.tag+&#039;&quot;&#039;);return v.isError(E)?E:(x=v.offset-_.offset,v.restore(_),v.skip(x,&#039;Failed to match body of: &quot;&#039;+y+&#039;&quot;&#039;))},h.prototype._skipUntilEnd=function(v,y){for(;;){const p=f(v,y);if(v.isError(p))return p;const b=d(v,p.primitive,y);if(v.isError(b))return b;let x;if(x=p.primitive||b!==null?v.skip(b):this._skipUntilEnd(v,y),v.isError(x))return x;if(p.tagStr===&quot;end&quot;)break}},h.prototype._decodeList=function(v,y,p,b){const x=[];for(;!v.isEmpty();){const _=this._peekTag(v,&quot;end&quot;);if(v.isError(_))return _;const E=p.decode(v,&quot;der&quot;,b);if(v.isError(E)&amp;&amp;_)break;x.push(E)}return x},h.prototype._decodeStr=function(v,y){if(y===&quot;bitstr&quot;){const p=v.readUInt8();return v.isError(p)?p:{unused:p,data:v.raw()}}if(y===&quot;bmpstr&quot;){const p=v.raw();if(p.length%2==1)return v.error(&quot;Decoding of string type: bmpstr length mismatch&quot;);let b=&quot;&quot;;for(let x=0;x&lt;p.length/2;x++)b+=String.fromCharCode(p.readUInt16BE(2*x));return b}if(y===&quot;numstr&quot;){const p=v.raw().toString(&quot;ascii&quot;);return this._isNumstr(p)?p:v.error(&quot;Decoding of string type: numstr unsupported characters&quot;)}if(y===&quot;octstr&quot;||y===&quot;objDesc&quot;)return v.raw();if(y===&quot;printstr&quot;){const p=v.raw().toString(&quot;ascii&quot;);return this._isPrintstr(p)?p:v.error(&quot;Decoding of string type: printstr unsupported characters&quot;)}return/str$/.test(y)?v.raw().toString():v.error(&quot;Decoding of string type: &quot;+y+&quot; unsupported&quot;)},h.prototype._decodeObjid=function(v,y,p){let b;const x=[];let _=0,E=0;for(;!v.isEmpty();)E=v.readUInt8(),_&lt;&lt;=7,_|=127&amp;E,(128&amp;E)==0&amp;&amp;(x.push(_),_=0);128&amp;E&amp;&amp;x.push(_);const M=x[0]/40|0,D=x[0]%40;if(b=p?x:[M,D].concat(x.slice(1)),y){let W=y[b.join(&quot; &quot;)];W===void 0&amp;&amp;(W=y[b.join(&quot;.&quot;)]),W!==void 0&amp;&amp;(b=W)}return b},h.prototype._decodeTime=function(v,y){const p=v.raw().toString();let b,x,_,E,M,D;if(y===&quot;gentime&quot;)b=0|p.slice(0,4),x=0|p.slice(4,6),_=0|p.slice(6,8),E=0|p.slice(8,10),M=0|p.slice(10,12),D=0|p.slice(12,14);else{if(y!==&quot;utctime&quot;)return v.error(&quot;Decoding &quot;+y+&quot; time is not supported yet&quot;);b=0|p.slice(0,2),x=0|p.slice(2,4),_=0|p.slice(4,6),E=0|p.slice(6,8),M=0|p.slice(8,10),D=0|p.slice(10,12),b=b&lt;70?2e3+b:1900+b}return Date.UTC(b,x-1,_,E,M,D,0)},h.prototype._decodeNull=function(){return null},h.prototype._decodeBool=function(v){const y=v.readUInt8();return v.isError(y)?y:y!==0},h.prototype._decodeInt=function(v,y){const p=v.raw();let b=new a(p);return y&amp;&amp;(b=y[b.toString(10)]||b),b},h.prototype._use=function(v,y){return typeof v==&quot;function&quot;&amp;&amp;(v=v(y)),v._getDecoder(&quot;der&quot;).tree}},{&quot;../base/buffer&quot;:172,&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,&quot;bn.js&quot;:184,inherits:440}],179:[function(t,n,o){const s=o;s.der=t(&quot;./der&quot;),s.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:178,&quot;./pem&quot;:180}],180:[function(t,n,o){const s=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;./der&quot;);function l(i){u.call(this,i),this.enc=&quot;pem&quot;}s(l,u),n.exports=l,l.prototype.decode=function(i,c){const h=i.toString().split(/[\r\n]+/g),f=c.label.toUpperCase(),d=/^-----(BEGIN|END) ([^-]+)-----$/;let v=-1,y=-1;for(let x=0;x&lt;h.length;x++){const _=h[x].match(d);if(_!==null&amp;&amp;_[2]===f){if(v!==-1){if(_[1]!==&quot;END&quot;)break;y=x;break}if(_[1]!==&quot;BEGIN&quot;)break;v=x}}if(v===-1||y===-1)throw new Error(&quot;PEM section not found for: &quot;+f);const p=h.slice(v+1,y).join(&quot;&quot;);p.replace(/[^a-z0-9+/=]+/gi,&quot;&quot;);const b=a.from(p,&quot;base64&quot;);return u.prototype.decode.call(this,b,c)}},{&quot;./der&quot;:178,inherits:440,&quot;safer-buffer&quot;:495}],181:[function(t,n,o){const s=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;../base/node&quot;),l=t(&quot;../constants/der&quot;);function i(f){this.enc=&quot;der&quot;,this.name=f.name,this.entity=f,this.tree=new c,this.tree._init(f.body)}function c(f){u.call(this,&quot;der&quot;,f)}function h(f){return f&lt;10?&quot;0&quot;+f:f}n.exports=i,i.prototype.encode=function(f,d){return this.tree._encode(f,d).join()},s(c,u),c.prototype._encodeComposite=function(f,d,v,y){const p=(function(_,E,M,D){let W;if(_===&quot;seqof&quot;?_=&quot;seq&quot;:_===&quot;setof&quot;&amp;&amp;(_=&quot;set&quot;),l.tagByName.hasOwnProperty(_))W=l.tagByName[_];else{if(typeof _!=&quot;number&quot;||(0|_)!==_)return D.error(&quot;Unknown tag: &quot;+_);W=_}return W&gt;=31?D.error(&quot;Multi-octet tag encoding unsupported&quot;):(E||(W|=32),W|=l.tagClassByName[M||&quot;universal&quot;]&lt;&lt;6,W)})(f,d,v,this.reporter);if(y.length&lt;128){const _=a.alloc(2);return _[0]=p,_[1]=y.length,this._createEncoderBuffer([_,y])}let b=1;for(let _=y.length;_&gt;=256;_&gt;&gt;=8)b++;const x=a.alloc(2+b);x[0]=p,x[1]=128|b;for(let _=1+b,E=y.length;E&gt;0;_--,E&gt;&gt;=8)x[_]=255&amp;E;return this._createEncoderBuffer([x,y])},c.prototype._encodeStr=function(f,d){if(d===&quot;bitstr&quot;)return this._createEncoderBuffer([0|f.unused,f.data]);if(d===&quot;bmpstr&quot;){const v=a.alloc(2*f.length);for(let y=0;y&lt;f.length;y++)v.writeUInt16BE(f.charCodeAt(y),2*y);return this._createEncoderBuffer(v)}return d===&quot;numstr&quot;?this._isNumstr(f)?this._createEncoderBuffer(f):this.reporter.error(&quot;Encoding of string type: numstr supports only digits and space&quot;):d===&quot;printstr&quot;?this._isPrintstr(f)?this._createEncoderBuffer(f):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(d)||d===&quot;objDesc&quot;?this._createEncoderBuffer(f):this.reporter.error(&quot;Encoding of string type: &quot;+d+&quot; unsupported&quot;)},c.prototype._encodeObjid=function(f,d,v){if(typeof f==&quot;string&quot;){if(!d)return this.reporter.error(&quot;string objid given, but no values map found&quot;);if(!d.hasOwnProperty(f))return this.reporter.error(&quot;objid not found in values map&quot;);f=d[f].split(/[\s.]+/g);for(let x=0;x&lt;f.length;x++)f[x]|=0}else if(Array.isArray(f)){f=f.slice();for(let x=0;x&lt;f.length;x++)f[x]|=0}if(!Array.isArray(f))return this.reporter.error(&quot;objid() should be either array or string, got: &quot;+JSON.stringify(f));if(!v){if(f[1]&gt;=40)return this.reporter.error(&quot;Second objid identifier OOB&quot;);f.splice(0,2,40*f[0]+f[1])}let y=0;for(let x=0;x&lt;f.length;x++){let _=f[x];for(y++;_&gt;=128;_&gt;&gt;=7)y++}const p=a.alloc(y);let b=p.length-1;for(let x=f.length-1;x&gt;=0;x--){let _=f[x];for(p[b--]=127&amp;_;(_&gt;&gt;=7)&gt;0;)p[b--]=128|127&amp;_}return this._createEncoderBuffer(p)},c.prototype._encodeTime=function(f,d){let v;const y=new Date(f);return d===&quot;gentime&quot;?v=[h(y.getUTCFullYear()),h(y.getUTCMonth()+1),h(y.getUTCDate()),h(y.getUTCHours()),h(y.getUTCMinutes()),h(y.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):d===&quot;utctime&quot;?v=[h(y.getUTCFullYear()%100),h(y.getUTCMonth()+1),h(y.getUTCDate()),h(y.getUTCHours()),h(y.getUTCMinutes()),h(y.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):this.reporter.error(&quot;Encoding &quot;+d+&quot; time is not supported yet&quot;),this._encodeStr(v,&quot;octstr&quot;)},c.prototype._encodeNull=function(){return this._createEncoderBuffer(&quot;&quot;)},c.prototype._encodeInt=function(f,d){if(typeof f==&quot;string&quot;){if(!d)return this.reporter.error(&quot;String int or enum given, but no values map&quot;);if(!d.hasOwnProperty(f))return this.reporter.error(&quot;Values map doesn&#039;t contain: &quot;+JSON.stringify(f));f=d[f]}if(typeof f!=&quot;number&quot;&amp;&amp;!a.isBuffer(f)){const p=f.toArray();!f.sign&amp;&amp;128&amp;p[0]&amp;&amp;p.unshift(0),f=a.from(p)}if(a.isBuffer(f)){let p=f.length;f.length===0&amp;&amp;p++;const b=a.alloc(p);return f.copy(b),f.length===0&amp;&amp;(b[0]=0),this._createEncoderBuffer(b)}if(f&lt;128)return this._createEncoderBuffer(f);if(f&lt;256)return this._createEncoderBuffer([0,f]);let v=1;for(let p=f;p&gt;=256;p&gt;&gt;=8)v++;const y=new Array(v);for(let p=y.length-1;p&gt;=0;p--)y[p]=255&amp;f,f&gt;&gt;=8;return 128&amp;y[0]&amp;&amp;y.unshift(0),this._createEncoderBuffer(a.from(y))},c.prototype._encodeBool=function(f){return this._createEncoderBuffer(f?255:0)},c.prototype._use=function(f,d){return typeof f==&quot;function&quot;&amp;&amp;(f=f(d)),f._getEncoder(&quot;der&quot;).tree},c.prototype._skipDefault=function(f,d,v){const y=this._baseState;let p;if(y.default===null)return!1;const b=f.join();if(y.defaultBuffer===void 0&amp;&amp;(y.defaultBuffer=this._encodeValue(y.default,d,v).join()),b.length!==y.defaultBuffer.length)return!1;for(p=0;p&lt;b.length;p++)if(b[p]!==y.defaultBuffer[p])return!1;return!0}},{&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,inherits:440,&quot;safer-buffer&quot;:495}],182:[function(t,n,o){const s=o;s.der=t(&quot;./der&quot;),s.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:181,&quot;./pem&quot;:183}],183:[function(t,n,o){const s=t(&quot;inherits&quot;),a=t(&quot;./der&quot;);function u(l){a.call(this,l),this.enc=&quot;pem&quot;}s(u,a),n.exports=u,u.prototype.encode=function(l,i){const c=a.prototype.encode.call(this,l).toString(&quot;base64&quot;),h=[&quot;-----BEGIN &quot;+i.label+&quot;-----&quot;];for(let f=0;f&lt;c.length;f+=64)h.push(c.slice(f,f+64));return h.push(&quot;-----END &quot;+i.label+&quot;-----&quot;),h.join(`
`)}},{&quot;./der&quot;:181,inherits:440}],184:[function(t,n,o){(function(s,a){function u(O,I){if(!O)throw new Error(I||&quot;Assertion failed&quot;)}function l(O,I){O.super_=I;var C=function(){};C.prototype=I.prototype,O.prototype=new C,O.prototype.constructor=O}function i(O,I,C){if(i.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&amp;&amp;(I!==&quot;le&quot;&amp;&amp;I!==&quot;be&quot;||(C=I,I=10),this._init(O||0,I||10,C||&quot;be&quot;))}var c;typeof s==&quot;object&quot;?s.exports=i:(void 0).BN=i,i.BN=i,i.wordSize=26;try{c=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function h(O,I){var C=O.charCodeAt(I);return C&gt;=65&amp;&amp;C&lt;=70?C-55:C&gt;=97&amp;&amp;C&lt;=102?C-87:C-48&amp;15}function f(O,I,C){var j=h(O,C);return C-1&gt;=I&amp;&amp;(j|=h(O,C-1)&lt;&lt;4),j}function d(O,I,C,j){for(var k=0,S=Math.min(O.length,C),N=I;N&lt;S;N++){var T=O.charCodeAt(N)-48;k*=j,k+=T&gt;=49?T-49+10:T&gt;=17?T-17+10:T}return k}i.isBN=function(O){return O instanceof i||O!==null&amp;&amp;typeof O==&quot;object&quot;&amp;&amp;O.constructor.wordSize===i.wordSize&amp;&amp;Array.isArray(O.words)},i.max=function(O,I){return O.cmp(I)&gt;0?O:I},i.min=function(O,I){return O.cmp(I)&lt;0?O:I},i.prototype._init=function(O,I,C){if(typeof O==&quot;number&quot;)return this._initNumber(O,I,C);if(typeof O==&quot;object&quot;)return this._initArray(O,I,C);I===&quot;hex&quot;&amp;&amp;(I=16),u(I===(0|I)&amp;&amp;I&gt;=2&amp;&amp;I&lt;=36);var j=0;(O=O.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(j++,this.negative=1),j&lt;O.length&amp;&amp;(I===16?this._parseHex(O,j,C):(this._parseBase(O,I,j),C===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),I,C)))},i.prototype._initNumber=function(O,I,C){O&lt;0&amp;&amp;(this.negative=1,O=-O),O&lt;67108864?(this.words=[67108863&amp;O],this.length=1):O&lt;4503599627370496?(this.words=[67108863&amp;O,O/67108864&amp;67108863],this.length=2):(u(O&lt;9007199254740992),this.words=[67108863&amp;O,O/67108864&amp;67108863,1],this.length=3),C===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),I,C)},i.prototype._initArray=function(O,I,C){if(u(typeof O.length==&quot;number&quot;),O.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(O.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(C===&quot;be&quot;)for(j=O.length-1,k=0;j&gt;=0;j-=3)S=O[j]|O[j-1]&lt;&lt;8|O[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(C===&quot;le&quot;)for(j=0,k=0;j&lt;O.length;j+=3)S=O[j]|O[j+1]&lt;&lt;8|O[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()},i.prototype._parseHex=function(O,I,C){this.length=Math.ceil((O.length-I)/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(C===&quot;be&quot;)for(j=O.length-1;j&gt;=I;j-=2)k=f(O,I,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=(O.length-I)%2==0?I+1:I;j&lt;O.length;j+=2)k=f(O,I,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()},i.prototype._parseBase=function(O,I,C){this.words=[0],this.length=1;for(var j=0,k=1;k&lt;=67108863;k*=I)j++;j--,k=k/I|0;for(var S=O.length-C,N=S%j,T=Math.min(S,S-N)+C,R=0,B=C;B&lt;T;B+=j)R=d(O,B,B+j,I),this.imuln(k),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R);if(N!==0){var Y=1;for(R=d(O,B,O.length,I),B=0;B&lt;N;B++)Y*=I;this.imuln(Y),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R)}this.strip()},i.prototype.copy=function(O){O.words=new Array(this.length);for(var I=0;I&lt;this.length;I++)O.words[I]=this.words[I];O.length=this.length,O.negative=this.negative,O.red=this.red},i.prototype.clone=function(){var O=new i(null);return this.copy(O),O},i.prototype._expand=function(O){for(;this.length&lt;O;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},i.prototype.inspect=function(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;};var v=[&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],p=[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 b(O,I,C){C.negative=I.negative^O.negative;var j=O.length+I.length|0;C.length=j,j=j-1|0;var k=0|O.words[0],S=0|I.words[0],N=k*S,T=67108863&amp;N,R=N/67108864|0;C.words[0]=T;for(var B=1;B&lt;j;B++){for(var Y=R&gt;&gt;&gt;26,Z=67108863&amp;R,ne=Math.min(B,I.length-1),U=Math.max(0,B-O.length+1);U&lt;=ne;U++){var ee=B-U|0;Y+=(N=(k=0|O.words[ee])*(S=0|I.words[U])+Z)/67108864|0,Z=67108863&amp;N}C.words[B]=0|Z,R=0|Y}return R!==0?C.words[B]=0|R:C.length--,C.strip()}i.prototype.toString=function(O,I){var C;if(I=0|I||1,(O=O||10)===16||O===&quot;hex&quot;){C=&quot;&quot;;for(var j=0,k=0,S=0;S&lt;this.length;S++){var N=this.words[S],T=(16777215&amp;(N&lt;&lt;j|k)).toString(16);C=(k=N&gt;&gt;&gt;24-j&amp;16777215)!==0||S!==this.length-1?v[6-T.length]+T+C:T+C,(j+=2)&gt;=26&amp;&amp;(j-=26,S--)}for(k!==0&amp;&amp;(C=k.toString(16)+C);C.length%I!=0;)C=&quot;0&quot;+C;return this.negative!==0&amp;&amp;(C=&quot;-&quot;+C),C}if(O===(0|O)&amp;&amp;O&gt;=2&amp;&amp;O&lt;=36){var R=y[O],B=p[O];C=&quot;&quot;;var Y=this.clone();for(Y.negative=0;!Y.isZero();){var Z=Y.modn(B).toString(O);C=(Y=Y.idivn(B)).isZero()?Z+C:v[R-Z.length]+Z+C}for(this.isZero()&amp;&amp;(C=&quot;0&quot;+C);C.length%I!=0;)C=&quot;0&quot;+C;return this.negative!==0&amp;&amp;(C=&quot;-&quot;+C),C}u(!1,&quot;Base should be between 2 and 36&quot;)},i.prototype.toNumber=function(){var O=this.words[0];return this.length===2?O+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?O+=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?-O:O},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(O,I){return u(c!==void 0),this.toArrayLike(c,O,I)},i.prototype.toArray=function(O,I){return this.toArrayLike(Array,O,I)},i.prototype.toArrayLike=function(O,I,C){var j=this.byteLength(),k=C||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,T=I===&quot;le&quot;,R=new O(k),B=this.clone();if(T){for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[N]=S;for(;N&lt;k;N++)R[N]=0}else{for(N=0;N&lt;k-j;N++)R[N]=0;for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[k-N-1]=S}return R},Math.clz32?i.prototype._countBits=function(O){return 32-Math.clz32(O)}:i.prototype._countBits=function(O){var I=O,C=0;return I&gt;=4096&amp;&amp;(C+=13,I&gt;&gt;&gt;=13),I&gt;=64&amp;&amp;(C+=7,I&gt;&gt;&gt;=7),I&gt;=8&amp;&amp;(C+=4,I&gt;&gt;&gt;=4),I&gt;=2&amp;&amp;(C+=2,I&gt;&gt;&gt;=2),C+I},i.prototype._zeroBits=function(O){if(O===0)return 26;var I=O,C=0;return(8191&amp;I)==0&amp;&amp;(C+=13,I&gt;&gt;&gt;=13),(127&amp;I)==0&amp;&amp;(C+=7,I&gt;&gt;&gt;=7),(15&amp;I)==0&amp;&amp;(C+=4,I&gt;&gt;&gt;=4),(3&amp;I)==0&amp;&amp;(C+=2,I&gt;&gt;&gt;=2),(1&amp;I)==0&amp;&amp;C++,C},i.prototype.bitLength=function(){var O=this.words[this.length-1],I=this._countBits(O);return 26*(this.length-1)+I},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var O=0,I=0;I&lt;this.length;I++){var C=this._zeroBits(this.words[I]);if(O+=C,C!==26)break}return O},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(O){return this.negative!==0?this.abs().inotn(O).iaddn(1):this.clone()},i.prototype.fromTwos=function(O){return this.testn(O-1)?this.notn(O).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(O){for(;this.length&lt;O.length;)this.words[this.length++]=0;for(var I=0;I&lt;O.length;I++)this.words[I]=this.words[I]|O.words[I];return this.strip()},i.prototype.ior=function(O){return u((this.negative|O.negative)==0),this.iuor(O)},i.prototype.or=function(O){return this.length&gt;O.length?this.clone().ior(O):O.clone().ior(this)},i.prototype.uor=function(O){return this.length&gt;O.length?this.clone().iuor(O):O.clone().iuor(this)},i.prototype.iuand=function(O){var I;I=this.length&gt;O.length?O:this;for(var C=0;C&lt;I.length;C++)this.words[C]=this.words[C]&amp;O.words[C];return this.length=I.length,this.strip()},i.prototype.iand=function(O){return u((this.negative|O.negative)==0),this.iuand(O)},i.prototype.and=function(O){return this.length&gt;O.length?this.clone().iand(O):O.clone().iand(this)},i.prototype.uand=function(O){return this.length&gt;O.length?this.clone().iuand(O):O.clone().iuand(this)},i.prototype.iuxor=function(O){var I,C;this.length&gt;O.length?(I=this,C=O):(I=O,C=this);for(var j=0;j&lt;C.length;j++)this.words[j]=I.words[j]^C.words[j];if(this!==I)for(;j&lt;I.length;j++)this.words[j]=I.words[j];return this.length=I.length,this.strip()},i.prototype.ixor=function(O){return u((this.negative|O.negative)==0),this.iuxor(O)},i.prototype.xor=function(O){return this.length&gt;O.length?this.clone().ixor(O):O.clone().ixor(this)},i.prototype.uxor=function(O){return this.length&gt;O.length?this.clone().iuxor(O):O.clone().iuxor(this)},i.prototype.inotn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=0|Math.ceil(O/26),C=O%26;this._expand(I),C&gt;0&amp;&amp;I--;for(var j=0;j&lt;I;j++)this.words[j]=67108863&amp;~this.words[j];return C&gt;0&amp;&amp;(this.words[j]=~this.words[j]&amp;67108863&gt;&gt;26-C),this.strip()},i.prototype.notn=function(O){return this.clone().inotn(O)},i.prototype.setn=function(O,I){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var C=O/26|0,j=O%26;return this._expand(C+1),this.words[C]=I?this.words[C]|1&lt;&lt;j:this.words[C]&amp;~(1&lt;&lt;j),this.strip()},i.prototype.iadd=function(O){var I,C,j;if(this.negative!==0&amp;&amp;O.negative===0)return this.negative=0,I=this.isub(O),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;O.negative!==0)return O.negative=0,I=this.isub(O),O.negative=1,I._normSign();this.length&gt;O.length?(C=this,j=O):(C=O,j=this);for(var k=0,S=0;S&lt;j.length;S++)I=(0|C.words[S])+(0|j.words[S])+k,this.words[S]=67108863&amp;I,k=I&gt;&gt;&gt;26;for(;k!==0&amp;&amp;S&lt;C.length;S++)I=(0|C.words[S])+k,this.words[S]=67108863&amp;I,k=I&gt;&gt;&gt;26;if(this.length=C.length,k!==0)this.words[this.length]=k,this.length++;else if(C!==this)for(;S&lt;C.length;S++)this.words[S]=C.words[S];return this},i.prototype.add=function(O){var I;return O.negative!==0&amp;&amp;this.negative===0?(O.negative=0,I=this.sub(O),O.negative^=1,I):O.negative===0&amp;&amp;this.negative!==0?(this.negative=0,I=O.sub(this),this.negative=1,I):this.length&gt;O.length?this.clone().iadd(O):O.clone().iadd(this)},i.prototype.isub=function(O){if(O.negative!==0){O.negative=0;var I=this.iadd(O);return O.negative=1,I._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(O),this.negative=1,this._normSign();var C,j,k=this.cmp(O);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;k&gt;0?(C=this,j=O):(C=O,j=this);for(var S=0,N=0;N&lt;j.length;N++)S=(I=(0|C.words[N])-(0|j.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;I;for(;S!==0&amp;&amp;N&lt;C.length;N++)S=(I=(0|C.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;I;if(S===0&amp;&amp;N&lt;C.length&amp;&amp;C!==this)for(;N&lt;C.length;N++)this.words[N]=C.words[N];return this.length=Math.max(this.length,N),C!==this&amp;&amp;(this.negative=1),this.strip()},i.prototype.sub=function(O){return this.clone().isub(O)};var x=function(O,I,C){var j,k,S,N=O.words,T=I.words,R=C.words,B=0,Y=0|N[0],Z=8191&amp;Y,ne=Y&gt;&gt;&gt;13,U=0|N[1],ee=8191&amp;U,F=U&gt;&gt;&gt;13,P=0|N[2],X=8191&amp;P,re=P&gt;&gt;&gt;13,Q=0|N[3],te=8191&amp;Q,ae=Q&gt;&gt;&gt;13,ce=0|N[4],he=8191&amp;ce,se=ce&gt;&gt;&gt;13,de=0|N[5],ie=8191&amp;de,me=de&gt;&gt;&gt;13,ve=0|N[6],ge=8191&amp;ve,le=ve&gt;&gt;&gt;13,_e=0|N[7],Se=8191&amp;_e,Oe=_e&gt;&gt;&gt;13,Te=0|N[8],Ie=8191&amp;Te,Ve=Te&gt;&gt;&gt;13,Ye=0|N[9],Ze=8191&amp;Ye,ct=Ye&gt;&gt;&gt;13,Ge=0|T[0],Be=8191&amp;Ge,Xe=Ge&gt;&gt;&gt;13,rt=0|T[1],Je=8191&amp;rt,Mt=rt&gt;&gt;&gt;13,Wt=0|T[2],et=8191&amp;Wt,Tt=Wt&gt;&gt;&gt;13,ut=0|T[3],_t=8191&amp;ut,Yt=ut&gt;&gt;&gt;13,Ut=0|T[4],nt=8191&amp;Ut,Pt=Ut&gt;&gt;&gt;13,Kt=0|T[5],wt=8191&amp;Kt,zt=Kt&gt;&gt;&gt;13,Dt=0|T[6],bt=8191&amp;Dt,ye=Dt&gt;&gt;&gt;13,je=0|T[7],Me=8191&amp;je,Ue=je&gt;&gt;&gt;13,mt=0|T[8],qe=8191&amp;mt,jt=mt&gt;&gt;&gt;13,vt=0|T[9],it=8191&amp;vt,kt=vt&gt;&gt;&gt;13;C.negative=O.negative^I.negative,C.length=19;var Ce=(B+(j=Math.imul(Z,Be))|0)+((8191&amp;(k=(k=Math.imul(Z,Xe))+Math.imul(ne,Be)|0))&lt;&lt;13)|0;B=((S=Math.imul(ne,Xe))+(k&gt;&gt;&gt;13)|0)+(Ce&gt;&gt;&gt;26)|0,Ce&amp;=67108863,j=Math.imul(ee,Be),k=(k=Math.imul(ee,Xe))+Math.imul(F,Be)|0,S=Math.imul(F,Xe);var dt=(B+(j=j+Math.imul(Z,Je)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Mt)|0)+Math.imul(ne,Je)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Mt)|0)+(k&gt;&gt;&gt;13)|0)+(dt&gt;&gt;&gt;26)|0,dt&amp;=67108863,j=Math.imul(X,Be),k=(k=Math.imul(X,Xe))+Math.imul(re,Be)|0,S=Math.imul(re,Xe),j=j+Math.imul(ee,Je)|0,k=(k=k+Math.imul(ee,Mt)|0)+Math.imul(F,Je)|0,S=S+Math.imul(F,Mt)|0;var Lt=(B+(j=j+Math.imul(Z,et)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Tt)|0)+Math.imul(ne,et)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Tt)|0)+(k&gt;&gt;&gt;13)|0)+(Lt&gt;&gt;&gt;26)|0,Lt&amp;=67108863,j=Math.imul(te,Be),k=(k=Math.imul(te,Xe))+Math.imul(ae,Be)|0,S=Math.imul(ae,Xe),j=j+Math.imul(X,Je)|0,k=(k=k+Math.imul(X,Mt)|0)+Math.imul(re,Je)|0,S=S+Math.imul(re,Mt)|0,j=j+Math.imul(ee,et)|0,k=(k=k+Math.imul(ee,Tt)|0)+Math.imul(F,et)|0,S=S+Math.imul(F,Tt)|0;var It=(B+(j=j+Math.imul(Z,_t)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Yt)|0)+Math.imul(ne,_t)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Yt)|0)+(k&gt;&gt;&gt;13)|0)+(It&gt;&gt;&gt;26)|0,It&amp;=67108863,j=Math.imul(he,Be),k=(k=Math.imul(he,Xe))+Math.imul(se,Be)|0,S=Math.imul(se,Xe),j=j+Math.imul(te,Je)|0,k=(k=k+Math.imul(te,Mt)|0)+Math.imul(ae,Je)|0,S=S+Math.imul(ae,Mt)|0,j=j+Math.imul(X,et)|0,k=(k=k+Math.imul(X,Tt)|0)+Math.imul(re,et)|0,S=S+Math.imul(re,Tt)|0,j=j+Math.imul(ee,_t)|0,k=(k=k+Math.imul(ee,Yt)|0)+Math.imul(F,_t)|0,S=S+Math.imul(F,Yt)|0;var nr=(B+(j=j+Math.imul(Z,nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Pt)|0)+Math.imul(ne,nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Pt)|0)+(k&gt;&gt;&gt;13)|0)+(nr&gt;&gt;&gt;26)|0,nr&amp;=67108863,j=Math.imul(ie,Be),k=(k=Math.imul(ie,Xe))+Math.imul(me,Be)|0,S=Math.imul(me,Xe),j=j+Math.imul(he,Je)|0,k=(k=k+Math.imul(he,Mt)|0)+Math.imul(se,Je)|0,S=S+Math.imul(se,Mt)|0,j=j+Math.imul(te,et)|0,k=(k=k+Math.imul(te,Tt)|0)+Math.imul(ae,et)|0,S=S+Math.imul(ae,Tt)|0,j=j+Math.imul(X,_t)|0,k=(k=k+Math.imul(X,Yt)|0)+Math.imul(re,_t)|0,S=S+Math.imul(re,Yt)|0,j=j+Math.imul(ee,nt)|0,k=(k=k+Math.imul(ee,Pt)|0)+Math.imul(F,nt)|0,S=S+Math.imul(F,Pt)|0;var cr=(B+(j=j+Math.imul(Z,wt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,zt)|0)+Math.imul(ne,wt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,zt)|0)+(k&gt;&gt;&gt;13)|0)+(cr&gt;&gt;&gt;26)|0,cr&amp;=67108863,j=Math.imul(ge,Be),k=(k=Math.imul(ge,Xe))+Math.imul(le,Be)|0,S=Math.imul(le,Xe),j=j+Math.imul(ie,Je)|0,k=(k=k+Math.imul(ie,Mt)|0)+Math.imul(me,Je)|0,S=S+Math.imul(me,Mt)|0,j=j+Math.imul(he,et)|0,k=(k=k+Math.imul(he,Tt)|0)+Math.imul(se,et)|0,S=S+Math.imul(se,Tt)|0,j=j+Math.imul(te,_t)|0,k=(k=k+Math.imul(te,Yt)|0)+Math.imul(ae,_t)|0,S=S+Math.imul(ae,Yt)|0,j=j+Math.imul(X,nt)|0,k=(k=k+Math.imul(X,Pt)|0)+Math.imul(re,nt)|0,S=S+Math.imul(re,Pt)|0,j=j+Math.imul(ee,wt)|0,k=(k=k+Math.imul(ee,zt)|0)+Math.imul(F,wt)|0,S=S+Math.imul(F,zt)|0;var qr=(B+(j=j+Math.imul(Z,bt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,ye)|0)+Math.imul(ne,bt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,ye)|0)+(k&gt;&gt;&gt;13)|0)+(qr&gt;&gt;&gt;26)|0,qr&amp;=67108863,j=Math.imul(Se,Be),k=(k=Math.imul(Se,Xe))+Math.imul(Oe,Be)|0,S=Math.imul(Oe,Xe),j=j+Math.imul(ge,Je)|0,k=(k=k+Math.imul(ge,Mt)|0)+Math.imul(le,Je)|0,S=S+Math.imul(le,Mt)|0,j=j+Math.imul(ie,et)|0,k=(k=k+Math.imul(ie,Tt)|0)+Math.imul(me,et)|0,S=S+Math.imul(me,Tt)|0,j=j+Math.imul(he,_t)|0,k=(k=k+Math.imul(he,Yt)|0)+Math.imul(se,_t)|0,S=S+Math.imul(se,Yt)|0,j=j+Math.imul(te,nt)|0,k=(k=k+Math.imul(te,Pt)|0)+Math.imul(ae,nt)|0,S=S+Math.imul(ae,Pt)|0,j=j+Math.imul(X,wt)|0,k=(k=k+Math.imul(X,zt)|0)+Math.imul(re,wt)|0,S=S+Math.imul(re,zt)|0,j=j+Math.imul(ee,bt)|0,k=(k=k+Math.imul(ee,ye)|0)+Math.imul(F,bt)|0,S=S+Math.imul(F,ye)|0;var fe=(B+(j=j+Math.imul(Z,Me)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ue)|0)+Math.imul(ne,Me)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Ue)|0)+(k&gt;&gt;&gt;13)|0)+(fe&gt;&gt;&gt;26)|0,fe&amp;=67108863,j=Math.imul(Ie,Be),k=(k=Math.imul(Ie,Xe))+Math.imul(Ve,Be)|0,S=Math.imul(Ve,Xe),j=j+Math.imul(Se,Je)|0,k=(k=k+Math.imul(Se,Mt)|0)+Math.imul(Oe,Je)|0,S=S+Math.imul(Oe,Mt)|0,j=j+Math.imul(ge,et)|0,k=(k=k+Math.imul(ge,Tt)|0)+Math.imul(le,et)|0,S=S+Math.imul(le,Tt)|0,j=j+Math.imul(ie,_t)|0,k=(k=k+Math.imul(ie,Yt)|0)+Math.imul(me,_t)|0,S=S+Math.imul(me,Yt)|0,j=j+Math.imul(he,nt)|0,k=(k=k+Math.imul(he,Pt)|0)+Math.imul(se,nt)|0,S=S+Math.imul(se,Pt)|0,j=j+Math.imul(te,wt)|0,k=(k=k+Math.imul(te,zt)|0)+Math.imul(ae,wt)|0,S=S+Math.imul(ae,zt)|0,j=j+Math.imul(X,bt)|0,k=(k=k+Math.imul(X,ye)|0)+Math.imul(re,bt)|0,S=S+Math.imul(re,ye)|0,j=j+Math.imul(ee,Me)|0,k=(k=k+Math.imul(ee,Ue)|0)+Math.imul(F,Me)|0,S=S+Math.imul(F,Ue)|0;var we=(B+(j=j+Math.imul(Z,qe)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,jt)|0)+Math.imul(ne,qe)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,jt)|0)+(k&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,j=Math.imul(Ze,Be),k=(k=Math.imul(Ze,Xe))+Math.imul(ct,Be)|0,S=Math.imul(ct,Xe),j=j+Math.imul(Ie,Je)|0,k=(k=k+Math.imul(Ie,Mt)|0)+Math.imul(Ve,Je)|0,S=S+Math.imul(Ve,Mt)|0,j=j+Math.imul(Se,et)|0,k=(k=k+Math.imul(Se,Tt)|0)+Math.imul(Oe,et)|0,S=S+Math.imul(Oe,Tt)|0,j=j+Math.imul(ge,_t)|0,k=(k=k+Math.imul(ge,Yt)|0)+Math.imul(le,_t)|0,S=S+Math.imul(le,Yt)|0,j=j+Math.imul(ie,nt)|0,k=(k=k+Math.imul(ie,Pt)|0)+Math.imul(me,nt)|0,S=S+Math.imul(me,Pt)|0,j=j+Math.imul(he,wt)|0,k=(k=k+Math.imul(he,zt)|0)+Math.imul(se,wt)|0,S=S+Math.imul(se,zt)|0,j=j+Math.imul(te,bt)|0,k=(k=k+Math.imul(te,ye)|0)+Math.imul(ae,bt)|0,S=S+Math.imul(ae,ye)|0,j=j+Math.imul(X,Me)|0,k=(k=k+Math.imul(X,Ue)|0)+Math.imul(re,Me)|0,S=S+Math.imul(re,Ue)|0,j=j+Math.imul(ee,qe)|0,k=(k=k+Math.imul(ee,jt)|0)+Math.imul(F,qe)|0,S=S+Math.imul(F,jt)|0;var Pe=(B+(j=j+Math.imul(Z,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,kt)|0)+Math.imul(ne,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Pe&gt;&gt;&gt;26)|0,Pe&amp;=67108863,j=Math.imul(Ze,Je),k=(k=Math.imul(Ze,Mt))+Math.imul(ct,Je)|0,S=Math.imul(ct,Mt),j=j+Math.imul(Ie,et)|0,k=(k=k+Math.imul(Ie,Tt)|0)+Math.imul(Ve,et)|0,S=S+Math.imul(Ve,Tt)|0,j=j+Math.imul(Se,_t)|0,k=(k=k+Math.imul(Se,Yt)|0)+Math.imul(Oe,_t)|0,S=S+Math.imul(Oe,Yt)|0,j=j+Math.imul(ge,nt)|0,k=(k=k+Math.imul(ge,Pt)|0)+Math.imul(le,nt)|0,S=S+Math.imul(le,Pt)|0,j=j+Math.imul(ie,wt)|0,k=(k=k+Math.imul(ie,zt)|0)+Math.imul(me,wt)|0,S=S+Math.imul(me,zt)|0,j=j+Math.imul(he,bt)|0,k=(k=k+Math.imul(he,ye)|0)+Math.imul(se,bt)|0,S=S+Math.imul(se,ye)|0,j=j+Math.imul(te,Me)|0,k=(k=k+Math.imul(te,Ue)|0)+Math.imul(ae,Me)|0,S=S+Math.imul(ae,Ue)|0,j=j+Math.imul(X,qe)|0,k=(k=k+Math.imul(X,jt)|0)+Math.imul(re,qe)|0,S=S+Math.imul(re,jt)|0;var Re=(B+(j=j+Math.imul(ee,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ee,kt)|0)+Math.imul(F,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(F,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,j=Math.imul(Ze,et),k=(k=Math.imul(Ze,Tt))+Math.imul(ct,et)|0,S=Math.imul(ct,Tt),j=j+Math.imul(Ie,_t)|0,k=(k=k+Math.imul(Ie,Yt)|0)+Math.imul(Ve,_t)|0,S=S+Math.imul(Ve,Yt)|0,j=j+Math.imul(Se,nt)|0,k=(k=k+Math.imul(Se,Pt)|0)+Math.imul(Oe,nt)|0,S=S+Math.imul(Oe,Pt)|0,j=j+Math.imul(ge,wt)|0,k=(k=k+Math.imul(ge,zt)|0)+Math.imul(le,wt)|0,S=S+Math.imul(le,zt)|0,j=j+Math.imul(ie,bt)|0,k=(k=k+Math.imul(ie,ye)|0)+Math.imul(me,bt)|0,S=S+Math.imul(me,ye)|0,j=j+Math.imul(he,Me)|0,k=(k=k+Math.imul(he,Ue)|0)+Math.imul(se,Me)|0,S=S+Math.imul(se,Ue)|0,j=j+Math.imul(te,qe)|0,k=(k=k+Math.imul(te,jt)|0)+Math.imul(ae,qe)|0,S=S+Math.imul(ae,jt)|0;var tt=(B+(j=j+Math.imul(X,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(X,kt)|0)+Math.imul(re,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(re,kt)|0)+(k&gt;&gt;&gt;13)|0)+(tt&gt;&gt;&gt;26)|0,tt&amp;=67108863,j=Math.imul(Ze,_t),k=(k=Math.imul(Ze,Yt))+Math.imul(ct,_t)|0,S=Math.imul(ct,Yt),j=j+Math.imul(Ie,nt)|0,k=(k=k+Math.imul(Ie,Pt)|0)+Math.imul(Ve,nt)|0,S=S+Math.imul(Ve,Pt)|0,j=j+Math.imul(Se,wt)|0,k=(k=k+Math.imul(Se,zt)|0)+Math.imul(Oe,wt)|0,S=S+Math.imul(Oe,zt)|0,j=j+Math.imul(ge,bt)|0,k=(k=k+Math.imul(ge,ye)|0)+Math.imul(le,bt)|0,S=S+Math.imul(le,ye)|0,j=j+Math.imul(ie,Me)|0,k=(k=k+Math.imul(ie,Ue)|0)+Math.imul(me,Me)|0,S=S+Math.imul(me,Ue)|0,j=j+Math.imul(he,qe)|0,k=(k=k+Math.imul(he,jt)|0)+Math.imul(se,qe)|0,S=S+Math.imul(se,jt)|0;var $e=(B+(j=j+Math.imul(te,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(te,kt)|0)+Math.imul(ae,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ae,kt)|0)+(k&gt;&gt;&gt;13)|0)+($e&gt;&gt;&gt;26)|0,$e&amp;=67108863,j=Math.imul(Ze,nt),k=(k=Math.imul(Ze,Pt))+Math.imul(ct,nt)|0,S=Math.imul(ct,Pt),j=j+Math.imul(Ie,wt)|0,k=(k=k+Math.imul(Ie,zt)|0)+Math.imul(Ve,wt)|0,S=S+Math.imul(Ve,zt)|0,j=j+Math.imul(Se,bt)|0,k=(k=k+Math.imul(Se,ye)|0)+Math.imul(Oe,bt)|0,S=S+Math.imul(Oe,ye)|0,j=j+Math.imul(ge,Me)|0,k=(k=k+Math.imul(ge,Ue)|0)+Math.imul(le,Me)|0,S=S+Math.imul(le,Ue)|0,j=j+Math.imul(ie,qe)|0,k=(k=k+Math.imul(ie,jt)|0)+Math.imul(me,qe)|0,S=S+Math.imul(me,jt)|0;var He=(B+(j=j+Math.imul(he,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(he,kt)|0)+Math.imul(se,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(se,kt)|0)+(k&gt;&gt;&gt;13)|0)+(He&gt;&gt;&gt;26)|0,He&amp;=67108863,j=Math.imul(Ze,wt),k=(k=Math.imul(Ze,zt))+Math.imul(ct,wt)|0,S=Math.imul(ct,zt),j=j+Math.imul(Ie,bt)|0,k=(k=k+Math.imul(Ie,ye)|0)+Math.imul(Ve,bt)|0,S=S+Math.imul(Ve,ye)|0,j=j+Math.imul(Se,Me)|0,k=(k=k+Math.imul(Se,Ue)|0)+Math.imul(Oe,Me)|0,S=S+Math.imul(Oe,Ue)|0,j=j+Math.imul(ge,qe)|0,k=(k=k+Math.imul(ge,jt)|0)+Math.imul(le,qe)|0,S=S+Math.imul(le,jt)|0;var Ft=(B+(j=j+Math.imul(ie,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ie,kt)|0)+Math.imul(me,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(me,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Ft&gt;&gt;&gt;26)|0,Ft&amp;=67108863,j=Math.imul(Ze,bt),k=(k=Math.imul(Ze,ye))+Math.imul(ct,bt)|0,S=Math.imul(ct,ye),j=j+Math.imul(Ie,Me)|0,k=(k=k+Math.imul(Ie,Ue)|0)+Math.imul(Ve,Me)|0,S=S+Math.imul(Ve,Ue)|0,j=j+Math.imul(Se,qe)|0,k=(k=k+Math.imul(Se,jt)|0)+Math.imul(Oe,qe)|0,S=S+Math.imul(Oe,jt)|0;var At=(B+(j=j+Math.imul(ge,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ge,kt)|0)+Math.imul(le,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(le,kt)|0)+(k&gt;&gt;&gt;13)|0)+(At&gt;&gt;&gt;26)|0,At&amp;=67108863,j=Math.imul(Ze,Me),k=(k=Math.imul(Ze,Ue))+Math.imul(ct,Me)|0,S=Math.imul(ct,Ue),j=j+Math.imul(Ie,qe)|0,k=(k=k+Math.imul(Ie,jt)|0)+Math.imul(Ve,qe)|0,S=S+Math.imul(Ve,jt)|0;var St=(B+(j=j+Math.imul(Se,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Se,kt)|0)+Math.imul(Oe,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Oe,kt)|0)+(k&gt;&gt;&gt;13)|0)+(St&gt;&gt;&gt;26)|0,St&amp;=67108863,j=Math.imul(Ze,qe),k=(k=Math.imul(Ze,jt))+Math.imul(ct,qe)|0,S=Math.imul(ct,jt);var ft=(B+(j=j+Math.imul(Ie,it)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Ie,kt)|0)+Math.imul(Ve,it)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Ve,kt)|0)+(k&gt;&gt;&gt;13)|0)+(ft&gt;&gt;&gt;26)|0,ft&amp;=67108863;var Et=(B+(j=Math.imul(Ze,it))|0)+((8191&amp;(k=(k=Math.imul(Ze,kt))+Math.imul(ct,it)|0))&lt;&lt;13)|0;return B=((S=Math.imul(ct,kt))+(k&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,R[0]=Ce,R[1]=dt,R[2]=Lt,R[3]=It,R[4]=nr,R[5]=cr,R[6]=qr,R[7]=fe,R[8]=we,R[9]=Pe,R[10]=Re,R[11]=tt,R[12]=$e,R[13]=He,R[14]=Ft,R[15]=At,R[16]=St,R[17]=ft,R[18]=Et,B!==0&amp;&amp;(R[19]=B,C.length++),C};function _(O,I,C){return new E().mulp(O,I,C)}function E(O,I){this.x=O,this.y=I}Math.imul||(x=b),i.prototype.mulTo=function(O,I){var C=this.length+O.length;return this.length===10&amp;&amp;O.length===10?x(this,O,I):C&lt;63?b(this,O,I):C&lt;1024?(function(j,k,S){S.negative=k.negative^j.negative,S.length=j.length+k.length;for(var N=0,T=0,R=0;R&lt;S.length-1;R++){var B=T;T=0;for(var Y=67108863&amp;N,Z=Math.min(R,k.length-1),ne=Math.max(0,R-j.length+1);ne&lt;=Z;ne++){var U=R-ne,ee=(0|j.words[U])*(0|k.words[ne]),F=67108863&amp;ee;Y=67108863&amp;(F=F+Y|0),T+=(B=(B=B+(ee/67108864|0)|0)+(F&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,B&amp;=67108863}S.words[R]=Y,N=B,B=T}return N!==0?S.words[R]=N:S.length--,S.strip()})(this,O,I):_(this,O,I)},E.prototype.makeRBT=function(O){for(var I=new Array(O),C=i.prototype._countBits(O)-1,j=0;j&lt;O;j++)I[j]=this.revBin(j,C,O);return I},E.prototype.revBin=function(O,I,C){if(O===0||O===C-1)return O;for(var j=0,k=0;k&lt;I;k++)j|=(1&amp;O)&lt;&lt;I-k-1,O&gt;&gt;=1;return j},E.prototype.permute=function(O,I,C,j,k,S){for(var N=0;N&lt;S;N++)j[N]=I[O[N]],k[N]=C[O[N]]},E.prototype.transform=function(O,I,C,j,k,S){this.permute(S,O,I,C,j,k);for(var N=1;N&lt;k;N&lt;&lt;=1)for(var T=N&lt;&lt;1,R=Math.cos(2*Math.PI/T),B=Math.sin(2*Math.PI/T),Y=0;Y&lt;k;Y+=T)for(var Z=R,ne=B,U=0;U&lt;N;U++){var ee=C[Y+U],F=j[Y+U],P=C[Y+U+N],X=j[Y+U+N],re=Z*P-ne*X;X=Z*X+ne*P,P=re,C[Y+U]=ee+P,j[Y+U]=F+X,C[Y+U+N]=ee-P,j[Y+U+N]=F-X,U!==T&amp;&amp;(re=R*Z-B*ne,ne=R*ne+B*Z,Z=re)}},E.prototype.guessLen13b=function(O,I){var C=1|Math.max(I,O),j=1&amp;C,k=0;for(C=C/2|0;C;C&gt;&gt;&gt;=1)k++;return 1&lt;&lt;k+1+j},E.prototype.conjugate=function(O,I,C){if(!(C&lt;=1))for(var j=0;j&lt;C/2;j++){var k=O[j];O[j]=O[C-j-1],O[C-j-1]=k,k=I[j],I[j]=-I[C-j-1],I[C-j-1]=-k}},E.prototype.normalize13b=function(O,I){for(var C=0,j=0;j&lt;I/2;j++){var k=8192*Math.round(O[2*j+1]/I)+Math.round(O[2*j]/I)+C;O[j]=67108863&amp;k,C=k&lt;67108864?0:k/67108864|0}return O},E.prototype.convert13b=function(O,I,C,j){for(var k=0,S=0;S&lt;I;S++)k+=0|O[S],C[2*S]=8191&amp;k,k&gt;&gt;&gt;=13,C[2*S+1]=8191&amp;k,k&gt;&gt;&gt;=13;for(S=2*I;S&lt;j;++S)C[S]=0;u(k===0),u((-8192&amp;k)==0)},E.prototype.stub=function(O){for(var I=new Array(O),C=0;C&lt;O;C++)I[C]=0;return I},E.prototype.mulp=function(O,I,C){var j=2*this.guessLen13b(O.length,I.length),k=this.makeRBT(j),S=this.stub(j),N=new Array(j),T=new Array(j),R=new Array(j),B=new Array(j),Y=new Array(j),Z=new Array(j),ne=C.words;ne.length=j,this.convert13b(O.words,O.length,N,j),this.convert13b(I.words,I.length,B,j),this.transform(N,S,T,R,j,k),this.transform(B,S,Y,Z,j,k);for(var U=0;U&lt;j;U++){var ee=T[U]*Y[U]-R[U]*Z[U];R[U]=T[U]*Z[U]+R[U]*Y[U],T[U]=ee}return this.conjugate(T,R,j),this.transform(T,R,ne,S,j,k),this.conjugate(ne,S,j),this.normalize13b(ne,j),C.negative=O.negative^I.negative,C.length=O.length+I.length,C.strip()},i.prototype.mul=function(O){var I=new i(null);return I.words=new Array(this.length+O.length),this.mulTo(O,I)},i.prototype.mulf=function(O){var I=new i(null);return I.words=new Array(this.length+O.length),_(this,O,I)},i.prototype.imul=function(O){return this.clone().mulTo(O,this)},i.prototype.imuln=function(O){u(typeof O==&quot;number&quot;),u(O&lt;67108864);for(var I=0,C=0;C&lt;this.length;C++){var j=(0|this.words[C])*O,k=(67108863&amp;j)+(67108863&amp;I);I&gt;&gt;=26,I+=j/67108864|0,I+=k&gt;&gt;&gt;26,this.words[C]=67108863&amp;k}return I!==0&amp;&amp;(this.words[C]=I,this.length++),this},i.prototype.muln=function(O){return this.clone().imuln(O)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(O){var I=(function(S){for(var N=new Array(S.bitLength()),T=0;T&lt;N.length;T++){var R=T/26|0,B=T%26;N[T]=(S.words[R]&amp;1&lt;&lt;B)&gt;&gt;&gt;B}return N})(O);if(I.length===0)return new i(1);for(var C=this,j=0;j&lt;I.length&amp;&amp;I[j]===0;j++,C=C.sqr());if(++j&lt;I.length)for(var k=C.sqr();j&lt;I.length;j++,k=k.sqr())I[j]!==0&amp;&amp;(C=C.mul(k));return C},i.prototype.iushln=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I,C=O%26,j=(O-C)/26,k=67108863&gt;&gt;&gt;26-C&lt;&lt;26-C;if(C!==0){var S=0;for(I=0;I&lt;this.length;I++){var N=this.words[I]&amp;k,T=(0|this.words[I])-N&lt;&lt;C;this.words[I]=T|S,S=N&gt;&gt;&gt;26-C}S&amp;&amp;(this.words[I]=S,this.length++)}if(j!==0){for(I=this.length-1;I&gt;=0;I--)this.words[I+j]=this.words[I];for(I=0;I&lt;j;I++)this.words[I]=0;this.length+=j}return this.strip()},i.prototype.ishln=function(O){return u(this.negative===0),this.iushln(O)},i.prototype.iushrn=function(O,I,C){var j;u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0),j=I?(I-I%26)/26:0;var k=O%26,S=Math.min((O-k)/26,this.length),N=67108863^67108863&gt;&gt;&gt;k&lt;&lt;k,T=C;if(j-=S,j=Math.max(0,j),T){for(var R=0;R&lt;S;R++)T.words[R]=this.words[R];T.length=S}if(S!==0)if(this.length&gt;S)for(this.length-=S,R=0;R&lt;this.length;R++)this.words[R]=this.words[R+S];else this.words[0]=0,this.length=1;var B=0;for(R=this.length-1;R&gt;=0&amp;&amp;(B!==0||R&gt;=j);R--){var Y=0|this.words[R];this.words[R]=B&lt;&lt;26-k|Y&gt;&gt;&gt;k,B=Y&amp;N}return T&amp;&amp;B!==0&amp;&amp;(T.words[T.length++]=B),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(O,I,C){return u(this.negative===0),this.iushrn(O,I,C)},i.prototype.shln=function(O){return this.clone().ishln(O)},i.prototype.ushln=function(O){return this.clone().iushln(O)},i.prototype.shrn=function(O){return this.clone().ishrn(O)},i.prototype.ushrn=function(O){return this.clone().iushrn(O)},i.prototype.testn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=O%26,C=(O-I)/26,j=1&lt;&lt;I;return!(this.length&lt;=C)&amp;&amp;!!(this.words[C]&amp;j)},i.prototype.imaskn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=O%26,C=(O-I)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=C)return this;if(I!==0&amp;&amp;C++,this.length=Math.min(C,this.length),I!==0){var j=67108863^67108863&gt;&gt;&gt;I&lt;&lt;I;this.words[this.length-1]&amp;=j}return this.strip()},i.prototype.maskn=function(O){return this.clone().imaskn(O)},i.prototype.iaddn=function(O){return u(typeof O==&quot;number&quot;),u(O&lt;67108864),O&lt;0?this.isubn(-O):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;O?(this.words[0]=O-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(O),this.negative=1,this):this._iaddn(O)},i.prototype._iaddn=function(O){this.words[0]+=O;for(var I=0;I&lt;this.length&amp;&amp;this.words[I]&gt;=67108864;I++)this.words[I]-=67108864,I===this.length-1?this.words[I+1]=1:this.words[I+1]++;return this.length=Math.max(this.length,I+1),this},i.prototype.isubn=function(O){if(u(typeof O==&quot;number&quot;),u(O&lt;67108864),O&lt;0)return this.iaddn(-O);if(this.negative!==0)return this.negative=0,this.iaddn(O),this.negative=1,this;if(this.words[0]-=O,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var I=0;I&lt;this.length&amp;&amp;this.words[I]&lt;0;I++)this.words[I]+=67108864,this.words[I+1]-=1;return this.strip()},i.prototype.addn=function(O){return this.clone().iaddn(O)},i.prototype.subn=function(O){return this.clone().isubn(O)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(O,I,C){var j,k,S=O.length+C;this._expand(S);var N=0;for(j=0;j&lt;O.length;j++){k=(0|this.words[j+C])+N;var T=(0|O.words[j])*I;N=((k-=67108863&amp;T)&gt;&gt;26)-(T/67108864|0),this.words[j+C]=67108863&amp;k}for(;j&lt;this.length-C;j++)N=(k=(0|this.words[j+C])+N)&gt;&gt;26,this.words[j+C]=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()},i.prototype._wordDiv=function(O,I){var C=(this.length,O.length),j=this.clone(),k=O,S=0|k.words[k.length-1];(C=26-this._countBits(S))!==0&amp;&amp;(k=k.ushln(C),j.iushln(C),S=0|k.words[k.length-1]);var N,T=j.length-k.length;if(I!==&quot;mod&quot;){(N=new i(null)).length=T+1,N.words=new Array(N.length);for(var R=0;R&lt;N.length;R++)N.words[R]=0}var B=j.clone()._ishlnsubmul(k,1,T);B.negative===0&amp;&amp;(j=B,N&amp;&amp;(N.words[T]=1));for(var Y=T-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(),I!==&quot;div&quot;&amp;&amp;C!==0&amp;&amp;j.iushrn(C),{div:N||null,mod:j}},i.prototype.divmod=function(O,I,C){return u(!O.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:this.negative!==0&amp;&amp;O.negative===0?(S=this.neg().divmod(O,I),I!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),I!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),C&amp;&amp;k.negative!==0&amp;&amp;k.iadd(O)),{div:j,mod:k}):this.negative===0&amp;&amp;O.negative!==0?(S=this.divmod(O.neg(),I),I!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),{div:j,mod:S.mod}):(this.negative&amp;O.negative)!=0?(S=this.neg().divmod(O.neg(),I),I!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),C&amp;&amp;k.negative!==0&amp;&amp;k.isub(O)),{div:S.div,mod:k}):O.length&gt;this.length||this.cmp(O)&lt;0?{div:new i(0),mod:this}:O.length===1?I===&quot;div&quot;?{div:this.divn(O.words[0]),mod:null}:I===&quot;mod&quot;?{div:null,mod:new i(this.modn(O.words[0]))}:{div:this.divn(O.words[0]),mod:new i(this.modn(O.words[0]))}:this._wordDiv(O,I);var j,k,S},i.prototype.div=function(O){return this.divmod(O,&quot;div&quot;,!1).div},i.prototype.mod=function(O){return this.divmod(O,&quot;mod&quot;,!1).mod},i.prototype.umod=function(O){return this.divmod(O,&quot;mod&quot;,!0).mod},i.prototype.divRound=function(O){var I=this.divmod(O);if(I.mod.isZero())return I.div;var C=I.div.negative!==0?I.mod.isub(O):I.mod,j=O.ushrn(1),k=O.andln(1),S=C.cmp(j);return S&lt;0||k===1&amp;&amp;S===0?I.div:I.div.negative!==0?I.div.isubn(1):I.div.iaddn(1)},i.prototype.modn=function(O){u(O&lt;=67108863);for(var I=(1&lt;&lt;26)%O,C=0,j=this.length-1;j&gt;=0;j--)C=(I*C+(0|this.words[j]))%O;return C},i.prototype.idivn=function(O){u(O&lt;=67108863);for(var I=0,C=this.length-1;C&gt;=0;C--){var j=(0|this.words[C])+67108864*I;this.words[C]=j/O|0,I=j%O}return this.strip()},i.prototype.divn=function(O){return this.clone().idivn(O)},i.prototype.egcd=function(O){u(O.negative===0),u(!O.isZero());var I=this,C=O.clone();I=I.negative!==0?I.umod(O):I.clone();for(var j=new i(1),k=new i(0),S=new i(0),N=new i(1),T=0;I.isEven()&amp;&amp;C.isEven();)I.iushrn(1),C.iushrn(1),++T;for(var R=C.clone(),B=I.clone();!I.isZero();){for(var Y=0,Z=1;(I.words[0]&amp;Z)==0&amp;&amp;Y&lt;26;++Y,Z&lt;&lt;=1);if(Y&gt;0)for(I.iushrn(Y);Y-- &gt;0;)(j.isOdd()||k.isOdd())&amp;&amp;(j.iadd(R),k.isub(B)),j.iushrn(1),k.iushrn(1);for(var ne=0,U=1;(C.words[0]&amp;U)==0&amp;&amp;ne&lt;26;++ne,U&lt;&lt;=1);if(ne&gt;0)for(C.iushrn(ne);ne-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(R),N.isub(B)),S.iushrn(1),N.iushrn(1);I.cmp(C)&gt;=0?(I.isub(C),j.isub(S),k.isub(N)):(C.isub(I),S.isub(j),N.isub(k))}return{a:S,b:N,gcd:C.iushln(T)}},i.prototype._invmp=function(O){u(O.negative===0),u(!O.isZero());var I=this,C=O.clone();I=I.negative!==0?I.umod(O):I.clone();for(var j,k=new i(1),S=new i(0),N=C.clone();I.cmpn(1)&gt;0&amp;&amp;C.cmpn(1)&gt;0;){for(var T=0,R=1;(I.words[0]&amp;R)==0&amp;&amp;T&lt;26;++T,R&lt;&lt;=1);if(T&gt;0)for(I.iushrn(T);T-- &gt;0;)k.isOdd()&amp;&amp;k.iadd(N),k.iushrn(1);for(var B=0,Y=1;(C.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(C.iushrn(B);B-- &gt;0;)S.isOdd()&amp;&amp;S.iadd(N),S.iushrn(1);I.cmp(C)&gt;=0?(I.isub(C),k.isub(S)):(C.isub(I),S.isub(k))}return(j=I.cmpn(1)===0?k:S).cmpn(0)&lt;0&amp;&amp;j.iadd(O),j},i.prototype.gcd=function(O){if(this.isZero())return O.abs();if(O.isZero())return this.abs();var I=this.clone(),C=O.clone();I.negative=0,C.negative=0;for(var j=0;I.isEven()&amp;&amp;C.isEven();j++)I.iushrn(1),C.iushrn(1);for(;;){for(;I.isEven();)I.iushrn(1);for(;C.isEven();)C.iushrn(1);var k=I.cmp(C);if(k&lt;0){var S=I;I=C,C=S}else if(k===0||C.cmpn(1)===0)break;I.isub(C)}return C.iushln(j)},i.prototype.invm=function(O){return this.egcd(O).a.umod(O)},i.prototype.isEven=function(){return(1&amp;this.words[0])==0},i.prototype.isOdd=function(){return(1&amp;this.words[0])==1},i.prototype.andln=function(O){return this.words[0]&amp;O},i.prototype.bincn=function(O){u(typeof O==&quot;number&quot;);var I=O%26,C=(O-I)/26,j=1&lt;&lt;I;if(this.length&lt;=C)return this._expand(C+1),this.words[C]|=j,this;for(var k=j,S=C;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},i.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},i.prototype.cmpn=function(O){var I,C=O&lt;0;if(this.negative!==0&amp;&amp;!C)return-1;if(this.negative===0&amp;&amp;C)return 1;if(this.strip(),this.length&gt;1)I=1;else{C&amp;&amp;(O=-O),u(O&lt;=67108863,&quot;Number is too big&quot;);var j=0|this.words[0];I=j===O?0:j&lt;O?-1:1}return this.negative!==0?0|-I:I},i.prototype.cmp=function(O){if(this.negative!==0&amp;&amp;O.negative===0)return-1;if(this.negative===0&amp;&amp;O.negative!==0)return 1;var I=this.ucmp(O);return this.negative!==0?0|-I:I},i.prototype.ucmp=function(O){if(this.length&gt;O.length)return 1;if(this.length&lt;O.length)return-1;for(var I=0,C=this.length-1;C&gt;=0;C--){var j=0|this.words[C],k=0|O.words[C];if(j!==k){j&lt;k?I=-1:j&gt;k&amp;&amp;(I=1);break}}return I},i.prototype.gtn=function(O){return this.cmpn(O)===1},i.prototype.gt=function(O){return this.cmp(O)===1},i.prototype.gten=function(O){return this.cmpn(O)&gt;=0},i.prototype.gte=function(O){return this.cmp(O)&gt;=0},i.prototype.ltn=function(O){return this.cmpn(O)===-1},i.prototype.lt=function(O){return this.cmp(O)===-1},i.prototype.lten=function(O){return this.cmpn(O)&lt;=0},i.prototype.lte=function(O){return this.cmp(O)&lt;=0},i.prototype.eqn=function(O){return this.cmpn(O)===0},i.prototype.eq=function(O){return this.cmp(O)===0},i.red=function(O){return new K(O)},i.prototype.toRed=function(O){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),O.convertTo(this)._forceRed(O)},i.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},i.prototype._forceRed=function(O){return this.red=O,this},i.prototype.forceRed=function(O){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(O)},i.prototype.redAdd=function(O){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,O)},i.prototype.redIAdd=function(O){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,O)},i.prototype.redSub=function(O){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,O)},i.prototype.redISub=function(O){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,O)},i.prototype.redShl=function(O){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,O)},i.prototype.redMul=function(O){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,O),this.red.mul(this,O)},i.prototype.redIMul=function(O){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,O),this.red.imul(this,O)},i.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(O){return u(this.red&amp;&amp;!O.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,O)};var M={k256:null,p224:null,p192:null,p25519:null};function D(O,I){this.name=O,this.p=new i(I,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function W(){D.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function L(){D.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function V(){D.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function H(){D.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function K(O){if(typeof O==&quot;string&quot;){var I=i._prime(O);this.m=I.p,this.prime=I}else u(O.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=O,this.prime=null}function z(O){K.call(this,O),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new i(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)}D.prototype._tmp=function(){var O=new i(null);return O.words=new Array(Math.ceil(this.n/13)),O},D.prototype.ireduce=function(O){var I,C=O;do this.split(C,this.tmp),I=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength();while(I&gt;this.n);var j=I&lt;this.n?-1:C.ucmp(this.p);return j===0?(C.words[0]=0,C.length=1):j&gt;0?C.isub(this.p):C.strip!==void 0?C.strip():C._strip(),C},D.prototype.split=function(O,I){O.iushrn(this.n,0,I)},D.prototype.imulK=function(O){return O.imul(this.k)},l(W,D),W.prototype.split=function(O,I){for(var C=Math.min(O.length,9),j=0;j&lt;C;j++)I.words[j]=O.words[j];if(I.length=C,O.length&lt;=9)return O.words[0]=0,void(O.length=1);var k=O.words[9];for(I.words[I.length++]=4194303&amp;k,j=10;j&lt;O.length;j++){var S=0|O.words[j];O.words[j-10]=(4194303&amp;S)&lt;&lt;4|k&gt;&gt;&gt;22,k=S}k&gt;&gt;&gt;=22,O.words[j-10]=k,k===0&amp;&amp;O.length&gt;10?O.length-=10:O.length-=9},W.prototype.imulK=function(O){O.words[O.length]=0,O.words[O.length+1]=0,O.length+=2;for(var I=0,C=0;C&lt;O.length;C++){var j=0|O.words[C];I+=977*j,O.words[C]=67108863&amp;I,I=64*j+(I/67108864|0)}return O.words[O.length-1]===0&amp;&amp;(O.length--,O.words[O.length-1]===0&amp;&amp;O.length--),O},l(L,D),l(V,D),l(H,D),H.prototype.imulK=function(O){for(var I=0,C=0;C&lt;O.length;C++){var j=19*(0|O.words[C])+I,k=67108863&amp;j;j&gt;&gt;&gt;=26,O.words[C]=k,I=j}return I!==0&amp;&amp;(O.words[O.length++]=I),O},i._prime=function(O){if(M[O])return M[O];var I;if(O===&quot;k256&quot;)I=new W;else if(O===&quot;p224&quot;)I=new L;else if(O===&quot;p192&quot;)I=new V;else{if(O!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+O);I=new H}return M[O]=I,I},K.prototype._verify1=function(O){u(O.negative===0,&quot;red works only with positives&quot;),u(O.red,&quot;red works only with red numbers&quot;)},K.prototype._verify2=function(O,I){u((O.negative|I.negative)==0,&quot;red works only with positives&quot;),u(O.red&amp;&amp;O.red===I.red,&quot;red works only with red numbers&quot;)},K.prototype.imod=function(O){return this.prime?this.prime.ireduce(O)._forceRed(this):O.umod(this.m)._forceRed(this)},K.prototype.neg=function(O){return O.isZero()?O.clone():this.m.sub(O)._forceRed(this)},K.prototype.add=function(O,I){this._verify2(O,I);var C=O.add(I);return C.cmp(this.m)&gt;=0&amp;&amp;C.isub(this.m),C._forceRed(this)},K.prototype.iadd=function(O,I){this._verify2(O,I);var C=O.iadd(I);return C.cmp(this.m)&gt;=0&amp;&amp;C.isub(this.m),C},K.prototype.sub=function(O,I){this._verify2(O,I);var C=O.sub(I);return C.cmpn(0)&lt;0&amp;&amp;C.iadd(this.m),C._forceRed(this)},K.prototype.isub=function(O,I){this._verify2(O,I);var C=O.isub(I);return C.cmpn(0)&lt;0&amp;&amp;C.iadd(this.m),C},K.prototype.shl=function(O,I){return this._verify1(O),this.imod(O.ushln(I))},K.prototype.imul=function(O,I){return this._verify2(O,I),this.imod(O.imul(I))},K.prototype.mul=function(O,I){return this._verify2(O,I),this.imod(O.mul(I))},K.prototype.isqr=function(O){return this.imul(O,O.clone())},K.prototype.sqr=function(O){return this.mul(O,O)},K.prototype.sqrt=function(O){if(O.isZero())return O.clone();var I=this.m.andln(3);if(u(I%2==1),I===3){var C=this.m.add(new i(1)).iushrn(2);return this.pow(O,C)}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 i(1).toRed(this),N=S.redNeg(),T=this.m.subn(1).iushrn(1),R=this.m.bitLength();for(R=new i(2*R*R).toRed(this);this.pow(R,T).cmp(N)!==0;)R.redIAdd(N);for(var B=this.pow(R,j),Y=this.pow(O,j.addn(1).iushrn(1)),Z=this.pow(O,j),ne=k;Z.cmp(S)!==0;){for(var U=Z,ee=0;U.cmp(S)!==0;ee++)U=U.redSqr();u(ee&lt;ne);var F=this.pow(B,new i(1).iushln(ne-ee-1));Y=Y.redMul(F),B=F.redSqr(),Z=Z.redMul(B),ne=ee}return Y},K.prototype.invm=function(O){var I=O._invmp(this.m);return I.negative!==0?(I.negative=0,this.imod(I).redNeg()):this.imod(I)},K.prototype.pow=function(O,I){if(I.isZero())return new i(1).toRed(this);if(I.cmpn(1)===0)return O.clone();var C=new Array(16);C[0]=new i(1).toRed(this),C[1]=O;for(var j=2;j&lt;C.length;j++)C[j]=this.mul(C[j-1],O);var k=C[0],S=0,N=0,T=I.bitLength()%26;for(T===0&amp;&amp;(T=26),j=I.length-1;j&gt;=0;j--){for(var R=I.words[j],B=T-1;B&gt;=0;B--){var Y=R&gt;&gt;B&amp;1;k!==C[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,C[S]),N=0,S=0)):N=0}T=26}return k},K.prototype.convertTo=function(O){var I=O.umod(this.m);return I===O?I.clone():I},K.prototype.convertFrom=function(O){var I=O.clone();return I.red=null,I},i.mont=function(O){return new z(O)},l(z,K),z.prototype.convertTo=function(O){return this.imod(O.ushln(this.shift))},z.prototype.convertFrom=function(O){var I=this.imod(O.mul(this.rinv));return I.red=null,I},z.prototype.imul=function(O,I){if(O.isZero()||I.isZero())return O.words[0]=0,O.length=1,O;var C=O.imul(I),j=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=C.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)},z.prototype.mul=function(O,I){if(O.isZero()||I.isZero())return new i(0)._forceRed(this);var C=O.mul(I),j=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=C.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)},z.prototype.invm=function(O){return this.imod(O._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],185:[function(t,n,o){o.byteLength=function(d){var v=h(d),y=v[0],p=v[1];return 3*(y+p)/4-p},o.toByteArray=function(d){var v,y,p=h(d),b=p[0],x=p[1],_=new u((function(D,W,L){return 3*(W+L)/4-L})(0,b,x)),E=0,M=x&gt;0?b-4:b;for(y=0;y&lt;M;y+=4)v=a[d.charCodeAt(y)]&lt;&lt;18|a[d.charCodeAt(y+1)]&lt;&lt;12|a[d.charCodeAt(y+2)]&lt;&lt;6|a[d.charCodeAt(y+3)],_[E++]=v&gt;&gt;16&amp;255,_[E++]=v&gt;&gt;8&amp;255,_[E++]=255&amp;v;return x===2&amp;&amp;(v=a[d.charCodeAt(y)]&lt;&lt;2|a[d.charCodeAt(y+1)]&gt;&gt;4,_[E++]=255&amp;v),x===1&amp;&amp;(v=a[d.charCodeAt(y)]&lt;&lt;10|a[d.charCodeAt(y+1)]&lt;&lt;4|a[d.charCodeAt(y+2)]&gt;&gt;2,_[E++]=v&gt;&gt;8&amp;255,_[E++]=255&amp;v),_},o.fromByteArray=function(d){for(var v,y=d.length,p=y%3,b=[],x=0,_=y-p;x&lt;_;x+=16383)b.push(f(d,x,x+16383&gt;_?_:x+16383));return p===1?(v=d[y-1],b.push(s[v&gt;&gt;2]+s[v&lt;&lt;4&amp;63]+&quot;==&quot;)):p===2&amp;&amp;(v=(d[y-2]&lt;&lt;8)+d[y-1],b.push(s[v&gt;&gt;10]+s[v&gt;&gt;4&amp;63]+s[v&lt;&lt;2&amp;63]+&quot;=&quot;)),b.join(&quot;&quot;)};for(var s=[],a=[],u=typeof Uint8Array&lt;&quot;u&quot;?Uint8Array:Array,l=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;,i=0,c=l.length;i&lt;c;++i)s[i]=l[i],a[l.charCodeAt(i)]=i;function h(d){var v=d.length;if(v%4&gt;0)throw new Error(&quot;Invalid string. Length must be a multiple of 4&quot;);var y=d.indexOf(&quot;=&quot;);return y===-1&amp;&amp;(y=v),[y,y===v?0:4-y%4]}function f(d,v,y){for(var p,b,x=[],_=v;_&lt;y;_+=3)p=(d[_]&lt;&lt;16&amp;16711680)+(d[_+1]&lt;&lt;8&amp;65280)+(255&amp;d[_+2]),x.push(s[(b=p)&gt;&gt;18&amp;63]+s[b&gt;&gt;12&amp;63]+s[b&gt;&gt;6&amp;63]+s[63&amp;b]);return x.join(&quot;&quot;)}a[45]=62,a[95]=63},{}],186:[function(t,n,o){(function(s,a){function u(C,j){if(!C)throw new Error(j||&quot;Assertion failed&quot;)}function l(C,j){C.super_=j;var k=function(){};k.prototype=j.prototype,C.prototype=new k,C.prototype.constructor=C}function i(C,j,k){if(i.isBN(C))return C;this.negative=0,this.words=null,this.length=0,this.red=null,C!==null&amp;&amp;(j!==&quot;le&quot;&amp;&amp;j!==&quot;be&quot;||(k=j,j=10),this._init(C||0,j||10,k||&quot;be&quot;))}var c;typeof s==&quot;object&quot;?s.exports=i:(void 0).BN=i,i.BN=i,i.wordSize=26;try{c=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function h(C,j){var k=C.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;+C)}function f(C,j,k){var S=h(C,k);return k-1&gt;=j&amp;&amp;(S|=h(C,k-1)&lt;&lt;4),S}function d(C,j,k,S){for(var N=0,T=0,R=Math.min(C.length,k),B=j;B&lt;R;B++){var Y=C.charCodeAt(B)-48;N*=S,T=Y&gt;=49?Y-49+10:Y&gt;=17?Y-17+10:Y,u(Y&gt;=0&amp;&amp;T&lt;S,&quot;Invalid character&quot;),N+=T}return N}function v(C,j){C.words=j.words,C.length=j.length,C.negative=j.negative,C.red=j.red}if(i.isBN=function(C){return C instanceof i||C!==null&amp;&amp;typeof C==&quot;object&quot;&amp;&amp;C.constructor.wordSize===i.wordSize&amp;&amp;Array.isArray(C.words)},i.max=function(C,j){return C.cmp(j)&gt;0?C:j},i.min=function(C,j){return C.cmp(j)&lt;0?C:j},i.prototype._init=function(C,j,k){if(typeof C==&quot;number&quot;)return this._initNumber(C,j,k);if(typeof C==&quot;object&quot;)return this._initArray(C,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;(C=C.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(S++,this.negative=1),S&lt;C.length&amp;&amp;(j===16?this._parseHex(C,S,k):(this._parseBase(C,j,S),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)))},i.prototype._initNumber=function(C,j,k){C&lt;0&amp;&amp;(this.negative=1,C=-C),C&lt;67108864?(this.words=[67108863&amp;C],this.length=1):C&lt;4503599627370496?(this.words=[67108863&amp;C,C/67108864&amp;67108863],this.length=2):(u(C&lt;9007199254740992),this.words=[67108863&amp;C,C/67108864&amp;67108863,1],this.length=3),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)},i.prototype._initArray=function(C,j,k){if(u(typeof C.length==&quot;number&quot;),C.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(C.length/3),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,T,R=0;if(k===&quot;be&quot;)for(S=C.length-1,N=0;S&gt;=0;S-=3)T=C[S]|C[S-1]&lt;&lt;8|C[S-2]&lt;&lt;16,this.words[N]|=T&lt;&lt;R&amp;67108863,this.words[N+1]=T&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);else if(k===&quot;le&quot;)for(S=0,N=0;S&lt;C.length;S+=3)T=C[S]|C[S+1]&lt;&lt;8|C[S+2]&lt;&lt;16,this.words[N]|=T&lt;&lt;R&amp;67108863,this.words[N+1]=T&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);return this._strip()},i.prototype._parseHex=function(C,j,k){this.length=Math.ceil((C.length-j)/6),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,T=0,R=0;if(k===&quot;be&quot;)for(S=C.length-1;S&gt;=j;S-=2)N=f(C,j,S)&lt;&lt;T,this.words[R]|=67108863&amp;N,T&gt;=18?(T-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):T+=8;else for(S=(C.length-j)%2==0?j+1:j;S&lt;C.length;S+=2)N=f(C,j,S)&lt;&lt;T,this.words[R]|=67108863&amp;N,T&gt;=18?(T-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):T+=8;this._strip()},i.prototype._parseBase=function(C,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 T=C.length-k,R=T%S,B=Math.min(T,T-R)+k,Y=0,Z=k;Z&lt;B;Z+=S)Y=d(C,Z,Z+S,j),this.imuln(N),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y);if(R!==0){var ne=1;for(Y=d(C,Z,C.length,j),Z=0;Z&lt;R;Z++)ne*=j;this.imuln(ne),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y)}this._strip()},i.prototype.copy=function(C){C.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)C.words[j]=this.words[j];C.length=this.length,C.negative=this.negative,C.red=this.red},i.prototype._move=function(C){v(C,this)},i.prototype.clone=function(){var C=new i(null);return this.copy(C),C},i.prototype._expand=function(C){for(;this.length&lt;C;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},i.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{i.prototype[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=y}catch{i.prototype.inspect=y}else i.prototype.inspect=y;function y(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;}var p=[&quot;&quot;,&quot;0&quot;,&quot;00&quot;,&quot;000&quot;,&quot;0000&quot;,&quot;00000&quot;,&quot;000000&quot;,&quot;0000000&quot;,&quot;00000000&quot;,&quot;000000000&quot;,&quot;0000000000&quot;,&quot;00000000000&quot;,&quot;000000000000&quot;,&quot;0000000000000&quot;,&quot;00000000000000&quot;,&quot;000000000000000&quot;,&quot;0000000000000000&quot;,&quot;00000000000000000&quot;,&quot;000000000000000000&quot;,&quot;0000000000000000000&quot;,&quot;00000000000000000000&quot;,&quot;000000000000000000000&quot;,&quot;0000000000000000000000&quot;,&quot;00000000000000000000000&quot;,&quot;000000000000000000000000&quot;,&quot;0000000000000000000000000&quot;],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],x=[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];i.prototype.toString=function(C,j){var k;if(j=0|j||1,(C=C||10)===16||C===&quot;hex&quot;){k=&quot;&quot;;for(var S=0,N=0,T=0;T&lt;this.length;T++){var R=this.words[T],B=(16777215&amp;(R&lt;&lt;S|N)).toString(16);N=R&gt;&gt;&gt;24-S&amp;16777215,(S+=2)&gt;=26&amp;&amp;(S-=26,T--),k=N!==0||T!==this.length-1?p[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(C===(0|C)&amp;&amp;C&gt;=2&amp;&amp;C&lt;=36){var Y=b[C],Z=x[C];k=&quot;&quot;;var ne=this.clone();for(ne.negative=0;!ne.isZero();){var U=ne.modrn(Z).toString(C);k=(ne=ne.idivn(Z)).isZero()?U+k:p[Y-U.length]+U+k}for(this.isZero()&amp;&amp;(k=&quot;0&quot;+k);k.length%j!=0;)k=&quot;0&quot;+k;return this.negative!==0&amp;&amp;(k=&quot;-&quot;+k),k}u(!1,&quot;Base should be between 2 and 36&quot;)},i.prototype.toNumber=function(){var C=this.words[0];return this.length===2?C+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?C+=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?-C:C},i.prototype.toJSON=function(){return this.toString(16,2)},c&amp;&amp;(i.prototype.toBuffer=function(C,j){return this.toArrayLike(c,C,j)}),i.prototype.toArray=function(C,j){return this.toArrayLike(Array,C,j)};function _(C,j,k){k.negative=j.negative^C.negative;var S=C.length+j.length|0;k.length=S,S=S-1|0;var N=0|C.words[0],T=0|j.words[0],R=N*T,B=67108863&amp;R,Y=R/67108864|0;k.words[0]=B;for(var Z=1;Z&lt;S;Z++){for(var ne=Y&gt;&gt;&gt;26,U=67108863&amp;Y,ee=Math.min(Z,j.length-1),F=Math.max(0,Z-C.length+1);F&lt;=ee;F++){var P=Z-F|0;ne+=(R=(N=0|C.words[P])*(T=0|j.words[F])+U)/67108864|0,U=67108863&amp;R}k.words[Z]=0|U,Y=0|ne}return Y!==0?k.words[Z]=0|Y:k.length--,k._strip()}i.prototype.toArrayLike=function(C,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 T=(function(R,B){return R.allocUnsafe?R.allocUnsafe(B):new R(B)})(C,N);return this[&quot;_toArrayLike&quot;+(j===&quot;le&quot;?&quot;LE&quot;:&quot;BE&quot;)](T,S),T},i.prototype._toArrayLikeLE=function(C,j){for(var k=0,S=0,N=0,T=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;T|S;C[k++]=255&amp;R,k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;8&amp;255),k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;16&amp;255),T===6?(k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;24&amp;255),S=0,T=0):(S=R&gt;&gt;&gt;24,T+=2)}if(k&lt;C.length)for(C[k++]=S;k&lt;C.length;)C[k++]=0},i.prototype._toArrayLikeBE=function(C,j){for(var k=C.length-1,S=0,N=0,T=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;T|S;C[k--]=255&amp;R,k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;8&amp;255),k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;16&amp;255),T===6?(k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;24&amp;255),S=0,T=0):(S=R&gt;&gt;&gt;24,T+=2)}if(k&gt;=0)for(C[k--]=S;k&gt;=0;)C[k--]=0},Math.clz32?i.prototype._countBits=function(C){return 32-Math.clz32(C)}:i.prototype._countBits=function(C){var j=C,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},i.prototype._zeroBits=function(C){if(C===0)return 26;var j=C,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},i.prototype.bitLength=function(){var C=this.words[this.length-1],j=this._countBits(C);return 26*(this.length-1)+j},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var C=0,j=0;j&lt;this.length;j++){var k=this._zeroBits(this.words[j]);if(C+=k,k!==26)break}return C},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(C){return this.negative!==0?this.abs().inotn(C).iaddn(1):this.clone()},i.prototype.fromTwos=function(C){return this.testn(C-1)?this.notn(C).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(C){for(;this.length&lt;C.length;)this.words[this.length++]=0;for(var j=0;j&lt;C.length;j++)this.words[j]=this.words[j]|C.words[j];return this._strip()},i.prototype.ior=function(C){return u((this.negative|C.negative)==0),this.iuor(C)},i.prototype.or=function(C){return this.length&gt;C.length?this.clone().ior(C):C.clone().ior(this)},i.prototype.uor=function(C){return this.length&gt;C.length?this.clone().iuor(C):C.clone().iuor(this)},i.prototype.iuand=function(C){var j;j=this.length&gt;C.length?C:this;for(var k=0;k&lt;j.length;k++)this.words[k]=this.words[k]&amp;C.words[k];return this.length=j.length,this._strip()},i.prototype.iand=function(C){return u((this.negative|C.negative)==0),this.iuand(C)},i.prototype.and=function(C){return this.length&gt;C.length?this.clone().iand(C):C.clone().iand(this)},i.prototype.uand=function(C){return this.length&gt;C.length?this.clone().iuand(C):C.clone().iuand(this)},i.prototype.iuxor=function(C){var j,k;this.length&gt;C.length?(j=this,k=C):(j=C,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()},i.prototype.ixor=function(C){return u((this.negative|C.negative)==0),this.iuxor(C)},i.prototype.xor=function(C){return this.length&gt;C.length?this.clone().ixor(C):C.clone().ixor(this)},i.prototype.uxor=function(C){return this.length&gt;C.length?this.clone().iuxor(C):C.clone().iuxor(this)},i.prototype.inotn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=0|Math.ceil(C/26),k=C%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()},i.prototype.notn=function(C){return this.clone().inotn(C)},i.prototype.setn=function(C,j){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var k=C/26|0,S=C%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()},i.prototype.iadd=function(C){var j,k,S;if(this.negative!==0&amp;&amp;C.negative===0)return this.negative=0,j=this.isub(C),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;C.negative!==0)return C.negative=0,j=this.isub(C),C.negative=1,j._normSign();this.length&gt;C.length?(k=this,S=C):(k=C,S=this);for(var N=0,T=0;T&lt;S.length;T++)j=(0|k.words[T])+(0|S.words[T])+N,this.words[T]=67108863&amp;j,N=j&gt;&gt;&gt;26;for(;N!==0&amp;&amp;T&lt;k.length;T++)j=(0|k.words[T])+N,this.words[T]=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(;T&lt;k.length;T++)this.words[T]=k.words[T];return this},i.prototype.add=function(C){var j;return C.negative!==0&amp;&amp;this.negative===0?(C.negative=0,j=this.sub(C),C.negative^=1,j):C.negative===0&amp;&amp;this.negative!==0?(this.negative=0,j=C.sub(this),this.negative=1,j):this.length&gt;C.length?this.clone().iadd(C):C.clone().iadd(this)},i.prototype.isub=function(C){if(C.negative!==0){C.negative=0;var j=this.iadd(C);return C.negative=1,j._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(C),this.negative=1,this._normSign();var k,S,N=this.cmp(C);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;N&gt;0?(k=this,S=C):(k=C,S=this);for(var T=0,R=0;R&lt;S.length;R++)T=(j=(0|k.words[R])-(0|S.words[R])+T)&gt;&gt;26,this.words[R]=67108863&amp;j;for(;T!==0&amp;&amp;R&lt;k.length;R++)T=(j=(0|k.words[R])+T)&gt;&gt;26,this.words[R]=67108863&amp;j;if(T===0&amp;&amp;R&lt;k.length&amp;&amp;k!==this)for(;R&lt;k.length;R++)this.words[R]=k.words[R];return this.length=Math.max(this.length,R),k!==this&amp;&amp;(this.negative=1),this._strip()},i.prototype.sub=function(C){return this.clone().isub(C)};var E=function(C,j,k){var S,N,T,R=C.words,B=j.words,Y=k.words,Z=0,ne=0|R[0],U=8191&amp;ne,ee=ne&gt;&gt;&gt;13,F=0|R[1],P=8191&amp;F,X=F&gt;&gt;&gt;13,re=0|R[2],Q=8191&amp;re,te=re&gt;&gt;&gt;13,ae=0|R[3],ce=8191&amp;ae,he=ae&gt;&gt;&gt;13,se=0|R[4],de=8191&amp;se,ie=se&gt;&gt;&gt;13,me=0|R[5],ve=8191&amp;me,ge=me&gt;&gt;&gt;13,le=0|R[6],_e=8191&amp;le,Se=le&gt;&gt;&gt;13,Oe=0|R[7],Te=8191&amp;Oe,Ie=Oe&gt;&gt;&gt;13,Ve=0|R[8],Ye=8191&amp;Ve,Ze=Ve&gt;&gt;&gt;13,ct=0|R[9],Ge=8191&amp;ct,Be=ct&gt;&gt;&gt;13,Xe=0|B[0],rt=8191&amp;Xe,Je=Xe&gt;&gt;&gt;13,Mt=0|B[1],Wt=8191&amp;Mt,et=Mt&gt;&gt;&gt;13,Tt=0|B[2],ut=8191&amp;Tt,_t=Tt&gt;&gt;&gt;13,Yt=0|B[3],Ut=8191&amp;Yt,nt=Yt&gt;&gt;&gt;13,Pt=0|B[4],Kt=8191&amp;Pt,wt=Pt&gt;&gt;&gt;13,zt=0|B[5],Dt=8191&amp;zt,bt=zt&gt;&gt;&gt;13,ye=0|B[6],je=8191&amp;ye,Me=ye&gt;&gt;&gt;13,Ue=0|B[7],mt=8191&amp;Ue,qe=Ue&gt;&gt;&gt;13,jt=0|B[8],vt=8191&amp;jt,it=jt&gt;&gt;&gt;13,kt=0|B[9],Ce=8191&amp;kt,dt=kt&gt;&gt;&gt;13;k.negative=C.negative^j.negative,k.length=19;var Lt=(Z+(S=Math.imul(U,rt))|0)+((8191&amp;(N=(N=Math.imul(U,Je))+Math.imul(ee,rt)|0))&lt;&lt;13)|0;Z=((T=Math.imul(ee,Je))+(N&gt;&gt;&gt;13)|0)+(Lt&gt;&gt;&gt;26)|0,Lt&amp;=67108863,S=Math.imul(P,rt),N=(N=Math.imul(P,Je))+Math.imul(X,rt)|0,T=Math.imul(X,Je);var It=(Z+(S=S+Math.imul(U,Wt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,et)|0)+Math.imul(ee,Wt)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,et)|0)+(N&gt;&gt;&gt;13)|0)+(It&gt;&gt;&gt;26)|0,It&amp;=67108863,S=Math.imul(Q,rt),N=(N=Math.imul(Q,Je))+Math.imul(te,rt)|0,T=Math.imul(te,Je),S=S+Math.imul(P,Wt)|0,N=(N=N+Math.imul(P,et)|0)+Math.imul(X,Wt)|0,T=T+Math.imul(X,et)|0;var nr=(Z+(S=S+Math.imul(U,ut)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,_t)|0)+Math.imul(ee,ut)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,_t)|0)+(N&gt;&gt;&gt;13)|0)+(nr&gt;&gt;&gt;26)|0,nr&amp;=67108863,S=Math.imul(ce,rt),N=(N=Math.imul(ce,Je))+Math.imul(he,rt)|0,T=Math.imul(he,Je),S=S+Math.imul(Q,Wt)|0,N=(N=N+Math.imul(Q,et)|0)+Math.imul(te,Wt)|0,T=T+Math.imul(te,et)|0,S=S+Math.imul(P,ut)|0,N=(N=N+Math.imul(P,_t)|0)+Math.imul(X,ut)|0,T=T+Math.imul(X,_t)|0;var cr=(Z+(S=S+Math.imul(U,Ut)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,nt)|0)+Math.imul(ee,Ut)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,nt)|0)+(N&gt;&gt;&gt;13)|0)+(cr&gt;&gt;&gt;26)|0,cr&amp;=67108863,S=Math.imul(de,rt),N=(N=Math.imul(de,Je))+Math.imul(ie,rt)|0,T=Math.imul(ie,Je),S=S+Math.imul(ce,Wt)|0,N=(N=N+Math.imul(ce,et)|0)+Math.imul(he,Wt)|0,T=T+Math.imul(he,et)|0,S=S+Math.imul(Q,ut)|0,N=(N=N+Math.imul(Q,_t)|0)+Math.imul(te,ut)|0,T=T+Math.imul(te,_t)|0,S=S+Math.imul(P,Ut)|0,N=(N=N+Math.imul(P,nt)|0)+Math.imul(X,Ut)|0,T=T+Math.imul(X,nt)|0;var qr=(Z+(S=S+Math.imul(U,Kt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,wt)|0)+Math.imul(ee,Kt)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,wt)|0)+(N&gt;&gt;&gt;13)|0)+(qr&gt;&gt;&gt;26)|0,qr&amp;=67108863,S=Math.imul(ve,rt),N=(N=Math.imul(ve,Je))+Math.imul(ge,rt)|0,T=Math.imul(ge,Je),S=S+Math.imul(de,Wt)|0,N=(N=N+Math.imul(de,et)|0)+Math.imul(ie,Wt)|0,T=T+Math.imul(ie,et)|0,S=S+Math.imul(ce,ut)|0,N=(N=N+Math.imul(ce,_t)|0)+Math.imul(he,ut)|0,T=T+Math.imul(he,_t)|0,S=S+Math.imul(Q,Ut)|0,N=(N=N+Math.imul(Q,nt)|0)+Math.imul(te,Ut)|0,T=T+Math.imul(te,nt)|0,S=S+Math.imul(P,Kt)|0,N=(N=N+Math.imul(P,wt)|0)+Math.imul(X,Kt)|0,T=T+Math.imul(X,wt)|0;var fe=(Z+(S=S+Math.imul(U,Dt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,bt)|0)+Math.imul(ee,Dt)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,bt)|0)+(N&gt;&gt;&gt;13)|0)+(fe&gt;&gt;&gt;26)|0,fe&amp;=67108863,S=Math.imul(_e,rt),N=(N=Math.imul(_e,Je))+Math.imul(Se,rt)|0,T=Math.imul(Se,Je),S=S+Math.imul(ve,Wt)|0,N=(N=N+Math.imul(ve,et)|0)+Math.imul(ge,Wt)|0,T=T+Math.imul(ge,et)|0,S=S+Math.imul(de,ut)|0,N=(N=N+Math.imul(de,_t)|0)+Math.imul(ie,ut)|0,T=T+Math.imul(ie,_t)|0,S=S+Math.imul(ce,Ut)|0,N=(N=N+Math.imul(ce,nt)|0)+Math.imul(he,Ut)|0,T=T+Math.imul(he,nt)|0,S=S+Math.imul(Q,Kt)|0,N=(N=N+Math.imul(Q,wt)|0)+Math.imul(te,Kt)|0,T=T+Math.imul(te,wt)|0,S=S+Math.imul(P,Dt)|0,N=(N=N+Math.imul(P,bt)|0)+Math.imul(X,Dt)|0,T=T+Math.imul(X,bt)|0;var we=(Z+(S=S+Math.imul(U,je)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,Me)|0)+Math.imul(ee,je)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,Me)|0)+(N&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,S=Math.imul(Te,rt),N=(N=Math.imul(Te,Je))+Math.imul(Ie,rt)|0,T=Math.imul(Ie,Je),S=S+Math.imul(_e,Wt)|0,N=(N=N+Math.imul(_e,et)|0)+Math.imul(Se,Wt)|0,T=T+Math.imul(Se,et)|0,S=S+Math.imul(ve,ut)|0,N=(N=N+Math.imul(ve,_t)|0)+Math.imul(ge,ut)|0,T=T+Math.imul(ge,_t)|0,S=S+Math.imul(de,Ut)|0,N=(N=N+Math.imul(de,nt)|0)+Math.imul(ie,Ut)|0,T=T+Math.imul(ie,nt)|0,S=S+Math.imul(ce,Kt)|0,N=(N=N+Math.imul(ce,wt)|0)+Math.imul(he,Kt)|0,T=T+Math.imul(he,wt)|0,S=S+Math.imul(Q,Dt)|0,N=(N=N+Math.imul(Q,bt)|0)+Math.imul(te,Dt)|0,T=T+Math.imul(te,bt)|0,S=S+Math.imul(P,je)|0,N=(N=N+Math.imul(P,Me)|0)+Math.imul(X,je)|0,T=T+Math.imul(X,Me)|0;var Pe=(Z+(S=S+Math.imul(U,mt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,qe)|0)+Math.imul(ee,mt)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,qe)|0)+(N&gt;&gt;&gt;13)|0)+(Pe&gt;&gt;&gt;26)|0,Pe&amp;=67108863,S=Math.imul(Ye,rt),N=(N=Math.imul(Ye,Je))+Math.imul(Ze,rt)|0,T=Math.imul(Ze,Je),S=S+Math.imul(Te,Wt)|0,N=(N=N+Math.imul(Te,et)|0)+Math.imul(Ie,Wt)|0,T=T+Math.imul(Ie,et)|0,S=S+Math.imul(_e,ut)|0,N=(N=N+Math.imul(_e,_t)|0)+Math.imul(Se,ut)|0,T=T+Math.imul(Se,_t)|0,S=S+Math.imul(ve,Ut)|0,N=(N=N+Math.imul(ve,nt)|0)+Math.imul(ge,Ut)|0,T=T+Math.imul(ge,nt)|0,S=S+Math.imul(de,Kt)|0,N=(N=N+Math.imul(de,wt)|0)+Math.imul(ie,Kt)|0,T=T+Math.imul(ie,wt)|0,S=S+Math.imul(ce,Dt)|0,N=(N=N+Math.imul(ce,bt)|0)+Math.imul(he,Dt)|0,T=T+Math.imul(he,bt)|0,S=S+Math.imul(Q,je)|0,N=(N=N+Math.imul(Q,Me)|0)+Math.imul(te,je)|0,T=T+Math.imul(te,Me)|0,S=S+Math.imul(P,mt)|0,N=(N=N+Math.imul(P,qe)|0)+Math.imul(X,mt)|0,T=T+Math.imul(X,qe)|0;var Re=(Z+(S=S+Math.imul(U,vt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,it)|0)+Math.imul(ee,vt)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,it)|0)+(N&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,S=Math.imul(Ge,rt),N=(N=Math.imul(Ge,Je))+Math.imul(Be,rt)|0,T=Math.imul(Be,Je),S=S+Math.imul(Ye,Wt)|0,N=(N=N+Math.imul(Ye,et)|0)+Math.imul(Ze,Wt)|0,T=T+Math.imul(Ze,et)|0,S=S+Math.imul(Te,ut)|0,N=(N=N+Math.imul(Te,_t)|0)+Math.imul(Ie,ut)|0,T=T+Math.imul(Ie,_t)|0,S=S+Math.imul(_e,Ut)|0,N=(N=N+Math.imul(_e,nt)|0)+Math.imul(Se,Ut)|0,T=T+Math.imul(Se,nt)|0,S=S+Math.imul(ve,Kt)|0,N=(N=N+Math.imul(ve,wt)|0)+Math.imul(ge,Kt)|0,T=T+Math.imul(ge,wt)|0,S=S+Math.imul(de,Dt)|0,N=(N=N+Math.imul(de,bt)|0)+Math.imul(ie,Dt)|0,T=T+Math.imul(ie,bt)|0,S=S+Math.imul(ce,je)|0,N=(N=N+Math.imul(ce,Me)|0)+Math.imul(he,je)|0,T=T+Math.imul(he,Me)|0,S=S+Math.imul(Q,mt)|0,N=(N=N+Math.imul(Q,qe)|0)+Math.imul(te,mt)|0,T=T+Math.imul(te,qe)|0,S=S+Math.imul(P,vt)|0,N=(N=N+Math.imul(P,it)|0)+Math.imul(X,vt)|0,T=T+Math.imul(X,it)|0;var tt=(Z+(S=S+Math.imul(U,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,dt)|0)+Math.imul(ee,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ee,dt)|0)+(N&gt;&gt;&gt;13)|0)+(tt&gt;&gt;&gt;26)|0,tt&amp;=67108863,S=Math.imul(Ge,Wt),N=(N=Math.imul(Ge,et))+Math.imul(Be,Wt)|0,T=Math.imul(Be,et),S=S+Math.imul(Ye,ut)|0,N=(N=N+Math.imul(Ye,_t)|0)+Math.imul(Ze,ut)|0,T=T+Math.imul(Ze,_t)|0,S=S+Math.imul(Te,Ut)|0,N=(N=N+Math.imul(Te,nt)|0)+Math.imul(Ie,Ut)|0,T=T+Math.imul(Ie,nt)|0,S=S+Math.imul(_e,Kt)|0,N=(N=N+Math.imul(_e,wt)|0)+Math.imul(Se,Kt)|0,T=T+Math.imul(Se,wt)|0,S=S+Math.imul(ve,Dt)|0,N=(N=N+Math.imul(ve,bt)|0)+Math.imul(ge,Dt)|0,T=T+Math.imul(ge,bt)|0,S=S+Math.imul(de,je)|0,N=(N=N+Math.imul(de,Me)|0)+Math.imul(ie,je)|0,T=T+Math.imul(ie,Me)|0,S=S+Math.imul(ce,mt)|0,N=(N=N+Math.imul(ce,qe)|0)+Math.imul(he,mt)|0,T=T+Math.imul(he,qe)|0,S=S+Math.imul(Q,vt)|0,N=(N=N+Math.imul(Q,it)|0)+Math.imul(te,vt)|0,T=T+Math.imul(te,it)|0;var $e=(Z+(S=S+Math.imul(P,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(P,dt)|0)+Math.imul(X,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(X,dt)|0)+(N&gt;&gt;&gt;13)|0)+($e&gt;&gt;&gt;26)|0,$e&amp;=67108863,S=Math.imul(Ge,ut),N=(N=Math.imul(Ge,_t))+Math.imul(Be,ut)|0,T=Math.imul(Be,_t),S=S+Math.imul(Ye,Ut)|0,N=(N=N+Math.imul(Ye,nt)|0)+Math.imul(Ze,Ut)|0,T=T+Math.imul(Ze,nt)|0,S=S+Math.imul(Te,Kt)|0,N=(N=N+Math.imul(Te,wt)|0)+Math.imul(Ie,Kt)|0,T=T+Math.imul(Ie,wt)|0,S=S+Math.imul(_e,Dt)|0,N=(N=N+Math.imul(_e,bt)|0)+Math.imul(Se,Dt)|0,T=T+Math.imul(Se,bt)|0,S=S+Math.imul(ve,je)|0,N=(N=N+Math.imul(ve,Me)|0)+Math.imul(ge,je)|0,T=T+Math.imul(ge,Me)|0,S=S+Math.imul(de,mt)|0,N=(N=N+Math.imul(de,qe)|0)+Math.imul(ie,mt)|0,T=T+Math.imul(ie,qe)|0,S=S+Math.imul(ce,vt)|0,N=(N=N+Math.imul(ce,it)|0)+Math.imul(he,vt)|0,T=T+Math.imul(he,it)|0;var He=(Z+(S=S+Math.imul(Q,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Q,dt)|0)+Math.imul(te,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(te,dt)|0)+(N&gt;&gt;&gt;13)|0)+(He&gt;&gt;&gt;26)|0,He&amp;=67108863,S=Math.imul(Ge,Ut),N=(N=Math.imul(Ge,nt))+Math.imul(Be,Ut)|0,T=Math.imul(Be,nt),S=S+Math.imul(Ye,Kt)|0,N=(N=N+Math.imul(Ye,wt)|0)+Math.imul(Ze,Kt)|0,T=T+Math.imul(Ze,wt)|0,S=S+Math.imul(Te,Dt)|0,N=(N=N+Math.imul(Te,bt)|0)+Math.imul(Ie,Dt)|0,T=T+Math.imul(Ie,bt)|0,S=S+Math.imul(_e,je)|0,N=(N=N+Math.imul(_e,Me)|0)+Math.imul(Se,je)|0,T=T+Math.imul(Se,Me)|0,S=S+Math.imul(ve,mt)|0,N=(N=N+Math.imul(ve,qe)|0)+Math.imul(ge,mt)|0,T=T+Math.imul(ge,qe)|0,S=S+Math.imul(de,vt)|0,N=(N=N+Math.imul(de,it)|0)+Math.imul(ie,vt)|0,T=T+Math.imul(ie,it)|0;var Ft=(Z+(S=S+Math.imul(ce,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ce,dt)|0)+Math.imul(he,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(he,dt)|0)+(N&gt;&gt;&gt;13)|0)+(Ft&gt;&gt;&gt;26)|0,Ft&amp;=67108863,S=Math.imul(Ge,Kt),N=(N=Math.imul(Ge,wt))+Math.imul(Be,Kt)|0,T=Math.imul(Be,wt),S=S+Math.imul(Ye,Dt)|0,N=(N=N+Math.imul(Ye,bt)|0)+Math.imul(Ze,Dt)|0,T=T+Math.imul(Ze,bt)|0,S=S+Math.imul(Te,je)|0,N=(N=N+Math.imul(Te,Me)|0)+Math.imul(Ie,je)|0,T=T+Math.imul(Ie,Me)|0,S=S+Math.imul(_e,mt)|0,N=(N=N+Math.imul(_e,qe)|0)+Math.imul(Se,mt)|0,T=T+Math.imul(Se,qe)|0,S=S+Math.imul(ve,vt)|0,N=(N=N+Math.imul(ve,it)|0)+Math.imul(ge,vt)|0,T=T+Math.imul(ge,it)|0;var At=(Z+(S=S+Math.imul(de,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(de,dt)|0)+Math.imul(ie,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ie,dt)|0)+(N&gt;&gt;&gt;13)|0)+(At&gt;&gt;&gt;26)|0,At&amp;=67108863,S=Math.imul(Ge,Dt),N=(N=Math.imul(Ge,bt))+Math.imul(Be,Dt)|0,T=Math.imul(Be,bt),S=S+Math.imul(Ye,je)|0,N=(N=N+Math.imul(Ye,Me)|0)+Math.imul(Ze,je)|0,T=T+Math.imul(Ze,Me)|0,S=S+Math.imul(Te,mt)|0,N=(N=N+Math.imul(Te,qe)|0)+Math.imul(Ie,mt)|0,T=T+Math.imul(Ie,qe)|0,S=S+Math.imul(_e,vt)|0,N=(N=N+Math.imul(_e,it)|0)+Math.imul(Se,vt)|0,T=T+Math.imul(Se,it)|0;var St=(Z+(S=S+Math.imul(ve,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ve,dt)|0)+Math.imul(ge,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(ge,dt)|0)+(N&gt;&gt;&gt;13)|0)+(St&gt;&gt;&gt;26)|0,St&amp;=67108863,S=Math.imul(Ge,je),N=(N=Math.imul(Ge,Me))+Math.imul(Be,je)|0,T=Math.imul(Be,Me),S=S+Math.imul(Ye,mt)|0,N=(N=N+Math.imul(Ye,qe)|0)+Math.imul(Ze,mt)|0,T=T+Math.imul(Ze,qe)|0,S=S+Math.imul(Te,vt)|0,N=(N=N+Math.imul(Te,it)|0)+Math.imul(Ie,vt)|0,T=T+Math.imul(Ie,it)|0;var ft=(Z+(S=S+Math.imul(_e,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(_e,dt)|0)+Math.imul(Se,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(Se,dt)|0)+(N&gt;&gt;&gt;13)|0)+(ft&gt;&gt;&gt;26)|0,ft&amp;=67108863,S=Math.imul(Ge,mt),N=(N=Math.imul(Ge,qe))+Math.imul(Be,mt)|0,T=Math.imul(Be,qe),S=S+Math.imul(Ye,vt)|0,N=(N=N+Math.imul(Ye,it)|0)+Math.imul(Ze,vt)|0,T=T+Math.imul(Ze,it)|0;var Et=(Z+(S=S+Math.imul(Te,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Te,dt)|0)+Math.imul(Ie,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(Ie,dt)|0)+(N&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,S=Math.imul(Ge,vt),N=(N=Math.imul(Ge,it))+Math.imul(Be,vt)|0,T=Math.imul(Be,it);var Vt=(Z+(S=S+Math.imul(Ye,Ce)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Ye,dt)|0)+Math.imul(Ze,Ce)|0))&lt;&lt;13)|0;Z=((T=T+Math.imul(Ze,dt)|0)+(N&gt;&gt;&gt;13)|0)+(Vt&gt;&gt;&gt;26)|0,Vt&amp;=67108863;var Zt=(Z+(S=Math.imul(Ge,Ce))|0)+((8191&amp;(N=(N=Math.imul(Ge,dt))+Math.imul(Be,Ce)|0))&lt;&lt;13)|0;return Z=((T=Math.imul(Be,dt))+(N&gt;&gt;&gt;13)|0)+(Zt&gt;&gt;&gt;26)|0,Zt&amp;=67108863,Y[0]=Lt,Y[1]=It,Y[2]=nr,Y[3]=cr,Y[4]=qr,Y[5]=fe,Y[6]=we,Y[7]=Pe,Y[8]=Re,Y[9]=tt,Y[10]=$e,Y[11]=He,Y[12]=Ft,Y[13]=At,Y[14]=St,Y[15]=ft,Y[16]=Et,Y[17]=Vt,Y[18]=Zt,Z!==0&amp;&amp;(Y[19]=Z,k.length++),k};function M(C,j,k){k.negative=j.negative^C.negative,k.length=C.length+j.length;for(var S=0,N=0,T=0;T&lt;k.length-1;T++){var R=N;N=0;for(var B=67108863&amp;S,Y=Math.min(T,j.length-1),Z=Math.max(0,T-C.length+1);Z&lt;=Y;Z++){var ne=T-Z,U=(0|C.words[ne])*(0|j.words[Z]),ee=67108863&amp;U;B=67108863&amp;(ee=ee+B|0),N+=(R=(R=R+(U/67108864|0)|0)+(ee&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,R&amp;=67108863}k.words[T]=B,S=R,R=N}return S!==0?k.words[T]=S:k.length--,k._strip()}function D(C,j,k){return M(C,j,k)}Math.imul||(E=_),i.prototype.mulTo=function(C,j){var k=this.length+C.length;return this.length===10&amp;&amp;C.length===10?E(this,C,j):k&lt;63?_(this,C,j):k&lt;1024?M(this,C,j):D(this,C,j)},i.prototype.mul=function(C){var j=new i(null);return j.words=new Array(this.length+C.length),this.mulTo(C,j)},i.prototype.mulf=function(C){var j=new i(null);return j.words=new Array(this.length+C.length),D(this,C,j)},i.prototype.imul=function(C){return this.clone().mulTo(C,this)},i.prototype.imuln=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(typeof C==&quot;number&quot;),u(C&lt;67108864);for(var k=0,S=0;S&lt;this.length;S++){var N=(0|this.words[S])*C,T=(67108863&amp;N)+(67108863&amp;k);k&gt;&gt;=26,k+=N/67108864|0,k+=T&gt;&gt;&gt;26,this.words[S]=67108863&amp;T}return k!==0&amp;&amp;(this.words[S]=k,this.length++),j?this.ineg():this},i.prototype.muln=function(C){return this.clone().imuln(C)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(C){var j=(function(T){for(var R=new Array(T.bitLength()),B=0;B&lt;R.length;B++){var Y=B/26|0,Z=B%26;R[B]=T.words[Y]&gt;&gt;&gt;Z&amp;1}return R})(C);if(j.length===0)return new i(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},i.prototype.iushln=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j,k=C%26,S=(C-k)/26,N=67108863&gt;&gt;&gt;26-k&lt;&lt;26-k;if(k!==0){var T=0;for(j=0;j&lt;this.length;j++){var R=this.words[j]&amp;N,B=(0|this.words[j])-R&lt;&lt;k;this.words[j]=B|T,T=R&gt;&gt;&gt;26-k}T&amp;&amp;(this.words[j]=T,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()},i.prototype.ishln=function(C){return u(this.negative===0),this.iushln(C)},i.prototype.iushrn=function(C,j,k){var S;u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0),S=j?(j-j%26)/26:0;var N=C%26,T=Math.min((C-N)/26,this.length),R=67108863^67108863&gt;&gt;&gt;N&lt;&lt;N,B=k;if(S-=T,S=Math.max(0,S),B){for(var Y=0;Y&lt;T;Y++)B.words[Y]=this.words[Y];B.length=T}if(T!==0)if(this.length&gt;T)for(this.length-=T,Y=0;Y&lt;this.length;Y++)this.words[Y]=this.words[Y+T];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;R}return B&amp;&amp;Z!==0&amp;&amp;(B.words[B.length++]=Z),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(C,j,k){return u(this.negative===0),this.iushrn(C,j,k)},i.prototype.shln=function(C){return this.clone().ishln(C)},i.prototype.ushln=function(C){return this.clone().iushln(C)},i.prototype.shrn=function(C){return this.clone().ishrn(C)},i.prototype.ushrn=function(C){return this.clone().iushrn(C)},i.prototype.testn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=C%26,k=(C-j)/26,S=1&lt;&lt;j;return!(this.length&lt;=k)&amp;&amp;!!(this.words[k]&amp;S)},i.prototype.imaskn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=C%26,k=(C-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()},i.prototype.maskn=function(C){return this.clone().imaskn(C)},i.prototype.iaddn=function(C){return u(typeof C==&quot;number&quot;),u(C&lt;67108864),C&lt;0?this.isubn(-C):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;=C?(this.words[0]=C-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(C),this.negative=1,this):this._iaddn(C)},i.prototype._iaddn=function(C){this.words[0]+=C;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},i.prototype.isubn=function(C){if(u(typeof C==&quot;number&quot;),u(C&lt;67108864),C&lt;0)return this.iaddn(-C);if(this.negative!==0)return this.negative=0,this.iaddn(C),this.negative=1,this;if(this.words[0]-=C,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()},i.prototype.addn=function(C){return this.clone().iaddn(C)},i.prototype.subn=function(C){return this.clone().isubn(C)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(C,j,k){var S,N,T=C.length+k;this._expand(T);var R=0;for(S=0;S&lt;C.length;S++){N=(0|this.words[S+k])+R;var B=(0|C.words[S])*j;R=((N-=67108863&amp;B)&gt;&gt;26)-(B/67108864|0),this.words[S+k]=67108863&amp;N}for(;S&lt;this.length-k;S++)R=(N=(0|this.words[S+k])+R)&gt;&gt;26,this.words[S+k]=67108863&amp;N;if(R===0)return this._strip();for(u(R===-1),R=0,S=0;S&lt;this.length;S++)R=(N=-(0|this.words[S])+R)&gt;&gt;26,this.words[S]=67108863&amp;N;return this.negative=1,this._strip()},i.prototype._wordDiv=function(C,j){var k=(this.length,C.length),S=this.clone(),N=C,T=0|N.words[N.length-1];(k=26-this._countBits(T))!==0&amp;&amp;(N=N.ushln(k),S.iushln(k),T=0|N.words[N.length-1]);var R,B=S.length-N.length;if(j!==&quot;mod&quot;){(R=new i(null)).length=B+1,R.words=new Array(R.length);for(var Y=0;Y&lt;R.length;Y++)R.words[Y]=0}var Z=S.clone()._ishlnsubmul(N,1,B);Z.negative===0&amp;&amp;(S=Z,R&amp;&amp;(R.words[B]=1));for(var ne=B-1;ne&gt;=0;ne--){var U=67108864*(0|S.words[N.length+ne])+(0|S.words[N.length+ne-1]);for(U=Math.min(U/T|0,67108863),S._ishlnsubmul(N,U,ne);S.negative!==0;)U--,S.negative=0,S._ishlnsubmul(N,1,ne),S.isZero()||(S.negative^=1);R&amp;&amp;(R.words[ne]=U)}return R&amp;&amp;R._strip(),S._strip(),j!==&quot;div&quot;&amp;&amp;k!==0&amp;&amp;S.iushrn(k),{div:R||null,mod:S}},i.prototype.divmod=function(C,j,k){return u(!C.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:this.negative!==0&amp;&amp;C.negative===0?(T=this.neg().divmod(C,j),j!==&quot;mod&quot;&amp;&amp;(S=T.div.neg()),j!==&quot;div&quot;&amp;&amp;(N=T.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.iadd(C)),{div:S,mod:N}):this.negative===0&amp;&amp;C.negative!==0?(T=this.divmod(C.neg(),j),j!==&quot;mod&quot;&amp;&amp;(S=T.div.neg()),{div:S,mod:T.mod}):(this.negative&amp;C.negative)!=0?(T=this.neg().divmod(C.neg(),j),j!==&quot;div&quot;&amp;&amp;(N=T.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.isub(C)),{div:T.div,mod:N}):C.length&gt;this.length||this.cmp(C)&lt;0?{div:new i(0),mod:this}:C.length===1?j===&quot;div&quot;?{div:this.divn(C.words[0]),mod:null}:j===&quot;mod&quot;?{div:null,mod:new i(this.modrn(C.words[0]))}:{div:this.divn(C.words[0]),mod:new i(this.modrn(C.words[0]))}:this._wordDiv(C,j);var S,N,T},i.prototype.div=function(C){return this.divmod(C,&quot;div&quot;,!1).div},i.prototype.mod=function(C){return this.divmod(C,&quot;mod&quot;,!1).mod},i.prototype.umod=function(C){return this.divmod(C,&quot;mod&quot;,!0).mod},i.prototype.divRound=function(C){var j=this.divmod(C);if(j.mod.isZero())return j.div;var k=j.div.negative!==0?j.mod.isub(C):j.mod,S=C.ushrn(1),N=C.andln(1),T=k.cmp(S);return T&lt;0||N===1&amp;&amp;T===0?j.div:j.div.negative!==0?j.div.isubn(1):j.div.iaddn(1)},i.prototype.modrn=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(C&lt;=67108863);for(var k=(1&lt;&lt;26)%C,S=0,N=this.length-1;N&gt;=0;N--)S=(k*S+(0|this.words[N]))%C;return j?-S:S},i.prototype.modn=function(C){return this.modrn(C)},i.prototype.idivn=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(C&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/C|0,k=N%C}return this._strip(),j?this.ineg():this},i.prototype.divn=function(C){return this.clone().idivn(C)},i.prototype.egcd=function(C){u(C.negative===0),u(!C.isZero());var j=this,k=C.clone();j=j.negative!==0?j.umod(C):j.clone();for(var S=new i(1),N=new i(0),T=new i(0),R=new i(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,U=1;(j.words[0]&amp;U)==0&amp;&amp;ne&lt;26;++ne,U&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,F=1;(k.words[0]&amp;F)==0&amp;&amp;ee&lt;26;++ee,F&lt;&lt;=1);if(ee&gt;0)for(k.iushrn(ee);ee-- &gt;0;)(T.isOdd()||R.isOdd())&amp;&amp;(T.iadd(Y),R.isub(Z)),T.iushrn(1),R.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),S.isub(T),N.isub(R)):(k.isub(j),T.isub(S),R.isub(N))}return{a:T,b:R,gcd:k.iushln(B)}},i.prototype._invmp=function(C){u(C.negative===0),u(!C.isZero());var j=this,k=C.clone();j=j.negative!==0?j.umod(C):j.clone();for(var S,N=new i(1),T=new i(0),R=k.clone();j.cmpn(1)&gt;0&amp;&amp;k.cmpn(1)&gt;0;){for(var B=0,Y=1;(j.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(j.iushrn(B);B-- &gt;0;)N.isOdd()&amp;&amp;N.iadd(R),N.iushrn(1);for(var Z=0,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;)T.isOdd()&amp;&amp;T.iadd(R),T.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),N.isub(T)):(k.isub(j),T.isub(N))}return(S=j.cmpn(1)===0?N:T).cmpn(0)&lt;0&amp;&amp;S.iadd(C),S},i.prototype.gcd=function(C){if(this.isZero())return C.abs();if(C.isZero())return this.abs();var j=this.clone(),k=C.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 T=j;j=k,k=T}else if(N===0||k.cmpn(1)===0)break;j.isub(k)}return k.iushln(S)},i.prototype.invm=function(C){return this.egcd(C).a.umod(C)},i.prototype.isEven=function(){return(1&amp;this.words[0])==0},i.prototype.isOdd=function(){return(1&amp;this.words[0])==1},i.prototype.andln=function(C){return this.words[0]&amp;C},i.prototype.bincn=function(C){u(typeof C==&quot;number&quot;);var j=C%26,k=(C-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,T=k;N!==0&amp;&amp;T&lt;this.length;T++){var R=0|this.words[T];N=(R+=N)&gt;&gt;&gt;26,R&amp;=67108863,this.words[T]=R}return N!==0&amp;&amp;(this.words[T]=N,this.length++),this},i.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},i.prototype.cmpn=function(C){var j,k=C&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;(C=-C),u(C&lt;=67108863,&quot;Number is too big&quot;);var S=0|this.words[0];j=S===C?0:S&lt;C?-1:1}return this.negative!==0?0|-j:j},i.prototype.cmp=function(C){if(this.negative!==0&amp;&amp;C.negative===0)return-1;if(this.negative===0&amp;&amp;C.negative!==0)return 1;var j=this.ucmp(C);return this.negative!==0?0|-j:j},i.prototype.ucmp=function(C){if(this.length&gt;C.length)return 1;if(this.length&lt;C.length)return-1;for(var j=0,k=this.length-1;k&gt;=0;k--){var S=0|this.words[k],N=0|C.words[k];if(S!==N){S&lt;N?j=-1:S&gt;N&amp;&amp;(j=1);break}}return j},i.prototype.gtn=function(C){return this.cmpn(C)===1},i.prototype.gt=function(C){return this.cmp(C)===1},i.prototype.gten=function(C){return this.cmpn(C)&gt;=0},i.prototype.gte=function(C){return this.cmp(C)&gt;=0},i.prototype.ltn=function(C){return this.cmpn(C)===-1},i.prototype.lt=function(C){return this.cmp(C)===-1},i.prototype.lten=function(C){return this.cmpn(C)&lt;=0},i.prototype.lte=function(C){return this.cmp(C)&lt;=0},i.prototype.eqn=function(C){return this.cmpn(C)===0},i.prototype.eq=function(C){return this.cmp(C)===0},i.red=function(C){return new O(C)},i.prototype.toRed=function(C){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),C.convertTo(this)._forceRed(C)},i.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},i.prototype._forceRed=function(C){return this.red=C,this},i.prototype.forceRed=function(C){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(C)},i.prototype.redAdd=function(C){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,C)},i.prototype.redIAdd=function(C){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,C)},i.prototype.redSub=function(C){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,C)},i.prototype.redISub=function(C){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,C)},i.prototype.redShl=function(C){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,C)},i.prototype.redMul=function(C){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,C),this.red.mul(this,C)},i.prototype.redIMul=function(C){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,C),this.red.imul(this,C)},i.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(C){return u(this.red&amp;&amp;!C.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,C)};var W={k256:null,p224:null,p192:null,p25519:null};function L(C,j){this.name=C,this.p=new i(j,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function V(){L.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function H(){L.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function K(){L.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function z(){L.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function O(C){if(typeof C==&quot;string&quot;){var j=i._prime(C);this.m=j.p,this.prime=j}else u(C.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=C,this.prime=null}function I(C){O.call(this,C),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new i(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)}L.prototype._tmp=function(){var C=new i(null);return C.words=new Array(Math.ceil(this.n/13)),C},L.prototype.ireduce=function(C){var j,k=C;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},L.prototype.split=function(C,j){C.iushrn(this.n,0,j)},L.prototype.imulK=function(C){return C.imul(this.k)},l(V,L),V.prototype.split=function(C,j){for(var k=Math.min(C.length,9),S=0;S&lt;k;S++)j.words[S]=C.words[S];if(j.length=k,C.length&lt;=9)return C.words[0]=0,void(C.length=1);var N=C.words[9];for(j.words[j.length++]=4194303&amp;N,S=10;S&lt;C.length;S++){var T=0|C.words[S];C.words[S-10]=(4194303&amp;T)&lt;&lt;4|N&gt;&gt;&gt;22,N=T}N&gt;&gt;&gt;=22,C.words[S-10]=N,N===0&amp;&amp;C.length&gt;10?C.length-=10:C.length-=9},V.prototype.imulK=function(C){C.words[C.length]=0,C.words[C.length+1]=0,C.length+=2;for(var j=0,k=0;k&lt;C.length;k++){var S=0|C.words[k];j+=977*S,C.words[k]=67108863&amp;j,j=64*S+(j/67108864|0)}return C.words[C.length-1]===0&amp;&amp;(C.length--,C.words[C.length-1]===0&amp;&amp;C.length--),C},l(H,L),l(K,L),l(z,L),z.prototype.imulK=function(C){for(var j=0,k=0;k&lt;C.length;k++){var S=19*(0|C.words[k])+j,N=67108863&amp;S;S&gt;&gt;&gt;=26,C.words[k]=N,j=S}return j!==0&amp;&amp;(C.words[C.length++]=j),C},i._prime=function(C){if(W[C])return W[C];var j;if(C===&quot;k256&quot;)j=new V;else if(C===&quot;p224&quot;)j=new H;else if(C===&quot;p192&quot;)j=new K;else{if(C!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+C);j=new z}return W[C]=j,j},O.prototype._verify1=function(C){u(C.negative===0,&quot;red works only with positives&quot;),u(C.red,&quot;red works only with red numbers&quot;)},O.prototype._verify2=function(C,j){u((C.negative|j.negative)==0,&quot;red works only with positives&quot;),u(C.red&amp;&amp;C.red===j.red,&quot;red works only with red numbers&quot;)},O.prototype.imod=function(C){return this.prime?this.prime.ireduce(C)._forceRed(this):(v(C,C.umod(this.m)._forceRed(this)),C)},O.prototype.neg=function(C){return C.isZero()?C.clone():this.m.sub(C)._forceRed(this)},O.prototype.add=function(C,j){this._verify2(C,j);var k=C.add(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k._forceRed(this)},O.prototype.iadd=function(C,j){this._verify2(C,j);var k=C.iadd(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k},O.prototype.sub=function(C,j){this._verify2(C,j);var k=C.sub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k._forceRed(this)},O.prototype.isub=function(C,j){this._verify2(C,j);var k=C.isub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k},O.prototype.shl=function(C,j){return this._verify1(C),this.imod(C.ushln(j))},O.prototype.imul=function(C,j){return this._verify2(C,j),this.imod(C.imul(j))},O.prototype.mul=function(C,j){return this._verify2(C,j),this.imod(C.mul(j))},O.prototype.isqr=function(C){return this.imul(C,C.clone())},O.prototype.sqr=function(C){return this.mul(C,C)},O.prototype.sqrt=function(C){if(C.isZero())return C.clone();var j=this.m.andln(3);if(u(j%2==1),j===3){var k=this.m.add(new i(1)).iushrn(2);return this.pow(C,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 T=new i(1).toRed(this),R=T.redNeg(),B=this.m.subn(1).iushrn(1),Y=this.m.bitLength();for(Y=new i(2*Y*Y).toRed(this);this.pow(Y,B).cmp(R)!==0;)Y.redIAdd(R);for(var Z=this.pow(Y,S),ne=this.pow(C,S.addn(1).iushrn(1)),U=this.pow(C,S),ee=N;U.cmp(T)!==0;){for(var F=U,P=0;F.cmp(T)!==0;P++)F=F.redSqr();u(P&lt;ee);var X=this.pow(Z,new i(1).iushln(ee-P-1));ne=ne.redMul(X),Z=X.redSqr(),U=U.redMul(Z),ee=P}return ne},O.prototype.invm=function(C){var j=C._invmp(this.m);return j.negative!==0?(j.negative=0,this.imod(j).redNeg()):this.imod(j)},O.prototype.pow=function(C,j){if(j.isZero())return new i(1).toRed(this);if(j.cmpn(1)===0)return C.clone();var k=new Array(16);k[0]=new i(1).toRed(this),k[1]=C;for(var S=2;S&lt;k.length;S++)k[S]=this.mul(k[S-1],C);var N=k[0],T=0,R=0,B=j.bitLength()%26;for(B===0&amp;&amp;(B=26),S=j.length-1;S&gt;=0;S--){for(var Y=j.words[S],Z=B-1;Z&gt;=0;Z--){var ne=Y&gt;&gt;Z&amp;1;N!==k[0]&amp;&amp;(N=this.sqr(N)),ne!==0||T!==0?(T&lt;&lt;=1,T|=ne,(++R===4||S===0&amp;&amp;Z===0)&amp;&amp;(N=this.mul(N,k[T]),R=0,T=0)):R=0}B=26}return N},O.prototype.convertTo=function(C){var j=C.umod(this.m);return j===C?j.clone():j},O.prototype.convertFrom=function(C){var j=C.clone();return j.red=null,j},i.mont=function(C){return new I(C)},l(I,O),I.prototype.convertTo=function(C){return this.imod(C.ushln(this.shift))},I.prototype.convertFrom=function(C){var j=this.imod(C.mul(this.rinv));return j.red=null,j},I.prototype.imul=function(C,j){if(C.isZero()||j.isZero())return C.words[0]=0,C.length=1,C;var k=C.imul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),T=N;return N.cmp(this.m)&gt;=0?T=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(T=N.iadd(this.m)),T._forceRed(this)},I.prototype.mul=function(C,j){if(C.isZero()||j.isZero())return new i(0)._forceRed(this);var k=C.mul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),T=N;return N.cmp(this.m)&gt;=0?T=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(T=N.iadd(this.m)),T._forceRed(this)},I.prototype.invm=function(C){return this.imod(C._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],187:[function(t,n,o){var s;function a(l){this.rand=l}if(n.exports=function(l){return s||(s=new a(null)),s.generate(l)},n.exports.Rand=a,a.prototype.generate=function(l){return this._rand(l)},a.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var i=new Uint8Array(l),c=0;c&lt;i.length;c++)i[c]=this.rand.getByte();return i},typeof self==&quot;object&quot;)self.crypto&amp;&amp;self.crypto.getRandomValues?a.prototype._rand=function(l){var i=new Uint8Array(l);return self.crypto.getRandomValues(i),i}:self.msCrypto&amp;&amp;self.msCrypto.getRandomValues?a.prototype._rand=function(l){var i=new Uint8Array(l);return self.msCrypto.getRandomValues(i),i}:typeof window==&quot;object&quot;&amp;&amp;(a.prototype._rand=function(){throw new Error(&quot;Not implemented yet&quot;)});else try{var u=t(&quot;crypto&quot;);if(typeof u.randomBytes!=&quot;function&quot;)throw new Error(&quot;Not supported&quot;);a.prototype._rand=function(l){return u.randomBytes(l)}}catch{}},{crypto:188}],188:[function(t,n,o){},{}],189:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer;function a(f){s.isBuffer(f)||(f=s.from(f));for(var d=f.length/4|0,v=new Array(d),y=0;y&lt;d;y++)v[y]=f.readUInt32BE(4*y);return v}function u(f){for(;0&lt;f.length;f++)f[0]=0}function l(f,d,v,y,p){for(var b,x,_,E,M=v[0],D=v[1],W=v[2],L=v[3],V=f[0]^d[0],H=f[1]^d[1],K=f[2]^d[2],z=f[3]^d[3],O=4,I=1;I&lt;p;I++)b=M[V&gt;&gt;&gt;24]^D[H&gt;&gt;&gt;16&amp;255]^W[K&gt;&gt;&gt;8&amp;255]^L[255&amp;z]^d[O++],x=M[H&gt;&gt;&gt;24]^D[K&gt;&gt;&gt;16&amp;255]^W[z&gt;&gt;&gt;8&amp;255]^L[255&amp;V]^d[O++],_=M[K&gt;&gt;&gt;24]^D[z&gt;&gt;&gt;16&amp;255]^W[V&gt;&gt;&gt;8&amp;255]^L[255&amp;H]^d[O++],E=M[z&gt;&gt;&gt;24]^D[V&gt;&gt;&gt;16&amp;255]^W[H&gt;&gt;&gt;8&amp;255]^L[255&amp;K]^d[O++],V=b,H=x,K=_,z=E;return b=(y[V&gt;&gt;&gt;24]&lt;&lt;24|y[H&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[K&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;z])^d[O++],x=(y[H&gt;&gt;&gt;24]&lt;&lt;24|y[K&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[z&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;V])^d[O++],_=(y[K&gt;&gt;&gt;24]&lt;&lt;24|y[z&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[V&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;H])^d[O++],E=(y[z&gt;&gt;&gt;24]&lt;&lt;24|y[V&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[H&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;K])^d[O++],[b&gt;&gt;&gt;=0,x&gt;&gt;&gt;=0,_&gt;&gt;&gt;=0,E&gt;&gt;&gt;=0]}var i=[0,1,2,4,8,16,32,64,128,27,54],c=(function(){for(var f=new Array(256),d=0;d&lt;256;d++)f[d]=d&lt;128?d&lt;&lt;1:d&lt;&lt;1^283;for(var v=[],y=[],p=[[],[],[],[]],b=[[],[],[],[]],x=0,_=0,E=0;E&lt;256;++E){var M=_^_&lt;&lt;1^_&lt;&lt;2^_&lt;&lt;3^_&lt;&lt;4;M=M&gt;&gt;&gt;8^255&amp;M^99,v[x]=M,y[M]=x;var D=f[x],W=f[D],L=f[W],V=257*f[M]^16843008*M;p[0][x]=V&lt;&lt;24|V&gt;&gt;&gt;8,p[1][x]=V&lt;&lt;16|V&gt;&gt;&gt;16,p[2][x]=V&lt;&lt;8|V&gt;&gt;&gt;24,p[3][x]=V,V=16843009*L^65537*W^257*D^16843008*x,b[0][M]=V&lt;&lt;24|V&gt;&gt;&gt;8,b[1][M]=V&lt;&lt;16|V&gt;&gt;&gt;16,b[2][M]=V&lt;&lt;8|V&gt;&gt;&gt;24,b[3][M]=V,x===0?x=_=1:(x=D^f[f[f[L^D]]],_^=f[f[_]])}return{SBOX:v,INV_SBOX:y,SUB_MIX:p,INV_SUB_MIX:b}})();function h(f){this._key=a(f),this._reset()}h.blockSize=16,h.keySize=32,h.prototype.blockSize=h.blockSize,h.prototype.keySize=h.keySize,h.prototype._reset=function(){for(var f=this._key,d=f.length,v=d+6,y=4*(v+1),p=[],b=0;b&lt;d;b++)p[b]=f[b];for(b=d;b&lt;y;b++){var x=p[b-1];b%d==0?(x=x&lt;&lt;8|x&gt;&gt;&gt;24,x=c.SBOX[x&gt;&gt;&gt;24]&lt;&lt;24|c.SBOX[x&gt;&gt;&gt;16&amp;255]&lt;&lt;16|c.SBOX[x&gt;&gt;&gt;8&amp;255]&lt;&lt;8|c.SBOX[255&amp;x],x^=i[b/d|0]&lt;&lt;24):d&gt;6&amp;&amp;b%d==4&amp;&amp;(x=c.SBOX[x&gt;&gt;&gt;24]&lt;&lt;24|c.SBOX[x&gt;&gt;&gt;16&amp;255]&lt;&lt;16|c.SBOX[x&gt;&gt;&gt;8&amp;255]&lt;&lt;8|c.SBOX[255&amp;x]),p[b]=p[b-d]^x}for(var _=[],E=0;E&lt;y;E++){var M=y-E,D=p[M-(E%4?0:4)];_[E]=E&lt;4||M&lt;=4?D:c.INV_SUB_MIX[0][c.SBOX[D&gt;&gt;&gt;24]]^c.INV_SUB_MIX[1][c.SBOX[D&gt;&gt;&gt;16&amp;255]]^c.INV_SUB_MIX[2][c.SBOX[D&gt;&gt;&gt;8&amp;255]]^c.INV_SUB_MIX[3][c.SBOX[255&amp;D]]}this._nRounds=v,this._keySchedule=p,this._invKeySchedule=_},h.prototype.encryptBlockRaw=function(f){return l(f=a(f),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},h.prototype.encryptBlock=function(f){var d=this.encryptBlockRaw(f),v=s.allocUnsafe(16);return v.writeUInt32BE(d[0],0),v.writeUInt32BE(d[1],4),v.writeUInt32BE(d[2],8),v.writeUInt32BE(d[3],12),v},h.prototype.decryptBlock=function(f){var d=(f=a(f))[1];f[1]=f[3],f[3]=d;var v=l(f,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),y=s.allocUnsafe(16);return y.writeUInt32BE(v[0],0),y.writeUInt32BE(v[3],4),y.writeUInt32BE(v[2],8),y.writeUInt32BE(v[1],12),y},h.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},n.exports.AES=h},{&quot;safe-buffer&quot;:494}],190:[function(t,n,o){var s=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=t(&quot;inherits&quot;),i=t(&quot;./ghash&quot;),c=t(&quot;buffer-xor&quot;),h=t(&quot;./incr32&quot;);function f(d,v,y,p){u.call(this);var b=a.alloc(4,0);this._cipher=new s.AES(v);var x=this._cipher.encryptBlock(b);this._ghash=new i(x),y=(function(_,E,M){if(E.length===12)return _._finID=a.concat([E,a.from([0,0,0,1])]),a.concat([E,a.from([0,0,0,2])]);var D=new i(M),W=E.length,L=W%16;D.update(E),L&amp;&amp;(L=16-L,D.update(a.alloc(L,0))),D.update(a.alloc(8,0));var V=8*W,H=a.alloc(8);H.writeUIntBE(V,0,8),D.update(H),_._finID=D.state;var K=a.from(_._finID);return h(K),K})(this,y,x),this._prev=a.from(y),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=p,this._alen=0,this._len=0,this._mode=d,this._authTag=null,this._called=!1}l(f,u),f.prototype._update=function(d){if(!this._called&amp;&amp;this._alen){var v=16-this._alen%16;v&lt;16&amp;&amp;(v=a.alloc(v,0),this._ghash.update(v))}this._called=!0;var y=this._mode.encrypt(this,d);return this._decrypt?this._ghash.update(d):this._ghash.update(y),this._len+=d.length,y},f.prototype._final=function(){if(this._decrypt&amp;&amp;!this._authTag)throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);var d=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&amp;&amp;(function(v,y){var p=0;v.length!==y.length&amp;&amp;p++;for(var b=Math.min(v.length,y.length),x=0;x&lt;b;++x)p+=v[x]^y[x];return p})(d,this._authTag))throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);this._authTag=d,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!a.isBuffer(this._authTag))throw new Error(&quot;Attempting to get auth tag in unsupported state&quot;);return this._authTag},f.prototype.setAuthTag=function(d){if(!this._decrypt)throw new Error(&quot;Attempting to set auth tag in unsupported state&quot;);this._authTag=d},f.prototype.setAAD=function(d){if(this._called)throw new Error(&quot;Attempting to set AAD in unsupported state&quot;);this._ghash.update(d),this._alen+=d.length},n.exports=f},{&quot;./aes&quot;:189,&quot;./ghash&quot;:194,&quot;./incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],191:[function(t,n,o){var s=t(&quot;./encrypter&quot;),a=t(&quot;./decrypter&quot;),u=t(&quot;./modes/list.json&quot;);o.createCipher=o.Cipher=s.createCipher,o.createCipheriv=o.Cipheriv=s.createCipheriv,o.createDecipher=o.Decipher=a.createDecipher,o.createDecipheriv=o.Decipheriv=a.createDecipheriv,o.listCiphers=o.getCiphers=function(){return Object.keys(u)}},{&quot;./decrypter&quot;:192,&quot;./encrypter&quot;:193,&quot;./modes/list.json&quot;:203}],192:[function(t,n,o){var s=t(&quot;./authCipher&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;./modes&quot;),l=t(&quot;./streamCipher&quot;),i=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),h=t(&quot;evp_bytestokey&quot;);function f(y,p,b){i.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(p),this._prev=a.from(b),this._mode=y,this._autopadding=!0}function d(){this.cache=a.allocUnsafe(0)}function v(y,p,b){var x=u[y.toLowerCase()];if(!x)throw new TypeError(&quot;invalid suite type&quot;);if(typeof b==&quot;string&quot;&amp;&amp;(b=a.from(b)),x.mode!==&quot;GCM&quot;&amp;&amp;b.length!==x.iv)throw new TypeError(&quot;invalid iv length &quot;+b.length);if(typeof p==&quot;string&quot;&amp;&amp;(p=a.from(p)),p.length!==x.key/8)throw new TypeError(&quot;invalid key length &quot;+p.length);return x.type===&quot;stream&quot;?new l(x.module,p,b,!0):x.type===&quot;auth&quot;?new s(x.module,p,b,!0):new f(x.module,p,b)}t(&quot;inherits&quot;)(f,i),f.prototype._update=function(y){var p,b;this._cache.add(y);for(var x=[];p=this._cache.get(this._autopadding);)b=this._mode.decrypt(this,p),x.push(b);return a.concat(x)},f.prototype._final=function(){var y=this._cache.flush();if(this._autopadding)return(function(p){var b=p[15];if(b&lt;1||b&gt;16)throw new Error(&quot;unable to decrypt data&quot;);for(var x=-1;++x&lt;b;)if(p[x+(16-b)]!==b)throw new Error(&quot;unable to decrypt data&quot;);if(b!==16)return p.slice(0,16-b)})(this._mode.decrypt(this,y));if(y)throw new Error(&quot;data not multiple of block length&quot;)},f.prototype.setAutoPadding=function(y){return this._autopadding=!!y,this},d.prototype.add=function(y){this.cache=a.concat([this.cache,y])},d.prototype.get=function(y){var p;if(y){if(this.cache.length&gt;16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p}else if(this.cache.length&gt;=16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},o.createDecipher=function(y,p){var b=u[y.toLowerCase()];if(!b)throw new TypeError(&quot;invalid suite type&quot;);var x=h(p,!1,b.key,b.iv);return v(y,x.key,x.iv)},o.createDecipheriv=v},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],193:[function(t,n,o){var s=t(&quot;./modes&quot;),a=t(&quot;./authCipher&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=t(&quot;./streamCipher&quot;),i=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),h=t(&quot;evp_bytestokey&quot;);function f(p,b,x){i.call(this),this._cache=new v,this._cipher=new c.AES(b),this._prev=u.from(x),this._mode=p,this._autopadding=!0}t(&quot;inherits&quot;)(f,i),f.prototype._update=function(p){var b,x;this._cache.add(p);for(var _=[];b=this._cache.get();)x=this._mode.encrypt(this,b),_.push(x);return u.concat(_)};var d=u.alloc(16,16);function v(){this.cache=u.allocUnsafe(0)}function y(p,b,x){var _=s[p.toLowerCase()];if(!_)throw new TypeError(&quot;invalid suite type&quot;);if(typeof b==&quot;string&quot;&amp;&amp;(b=u.from(b)),b.length!==_.key/8)throw new TypeError(&quot;invalid key length &quot;+b.length);if(typeof x==&quot;string&quot;&amp;&amp;(x=u.from(x)),_.mode!==&quot;GCM&quot;&amp;&amp;x.length!==_.iv)throw new TypeError(&quot;invalid iv length &quot;+x.length);return _.type===&quot;stream&quot;?new l(_.module,b,x):_.type===&quot;auth&quot;?new a(_.module,b,x):new f(_.module,b,x)}f.prototype._final=function(){var p=this._cache.flush();if(this._autopadding)return p=this._mode.encrypt(this,p),this._cipher.scrub(),p;if(!p.equals(d))throw this._cipher.scrub(),new Error(&quot;data not multiple of block length&quot;)},f.prototype.setAutoPadding=function(p){return this._autopadding=!!p,this},v.prototype.add=function(p){this.cache=u.concat([this.cache,p])},v.prototype.get=function(){if(this.cache.length&gt;15){var p=this.cache.slice(0,16);return this.cache=this.cache.slice(16),p}return null},v.prototype.flush=function(){for(var p=16-this.cache.length,b=u.allocUnsafe(p),x=-1;++x&lt;p;)b.writeUInt8(p,x);return u.concat([this.cache,b])},o.createCipheriv=y,o.createCipher=function(p,b){var x=s[p.toLowerCase()];if(!x)throw new TypeError(&quot;invalid suite type&quot;);var _=h(b,!1,x.key,x.iv);return y(p,_.key,_.iv)}},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],194:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=s.alloc(16,0);function u(i){var c=s.allocUnsafe(16);return c.writeUInt32BE(i[0]&gt;&gt;&gt;0,0),c.writeUInt32BE(i[1]&gt;&gt;&gt;0,4),c.writeUInt32BE(i[2]&gt;&gt;&gt;0,8),c.writeUInt32BE(i[3]&gt;&gt;&gt;0,12),c}function l(i){this.h=i,this.state=s.alloc(16,0),this.cache=s.allocUnsafe(0)}l.prototype.ghash=function(i){for(var c=-1;++c&lt;i.length;)this.state[c]^=i[c];this._multiply()},l.prototype._multiply=function(){for(var i,c,h,f=[(i=this.h).readUInt32BE(0),i.readUInt32BE(4),i.readUInt32BE(8),i.readUInt32BE(12)],d=[0,0,0,0],v=-1;++v&lt;128;){for((this.state[~~(v/8)]&amp;1&lt;&lt;7-v%8)!=0&amp;&amp;(d[0]^=f[0],d[1]^=f[1],d[2]^=f[2],d[3]^=f[3]),h=(1&amp;f[3])!=0,c=3;c&gt;0;c--)f[c]=f[c]&gt;&gt;&gt;1|(1&amp;f[c-1])&lt;&lt;31;f[0]=f[0]&gt;&gt;&gt;1,h&amp;&amp;(f[0]=f[0]^225&lt;&lt;24)}this.state=u(d)},l.prototype.update=function(i){var c;for(this.cache=s.concat([this.cache,i]);this.cache.length&gt;=16;)c=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(c)},l.prototype.final=function(i,c){return this.cache.length&amp;&amp;this.ghash(s.concat([this.cache,a],16)),this.ghash(u([0,i,0,c])),this.state},n.exports=l},{&quot;safe-buffer&quot;:494}],195:[function(t,n,o){n.exports=function(s){for(var a,u=s.length;u--;){if((a=s.readUInt8(u))!==255){a++,s.writeUInt8(a,u);break}s.writeUInt8(0,u)}}},{}],196:[function(t,n,o){var s=t(&quot;buffer-xor&quot;);o.encrypt=function(a,u){var l=s(u,a._prev);return a._prev=a._cipher.encryptBlock(l),a._prev},o.decrypt=function(a,u){var l=a._prev;a._prev=u;var i=a._cipher.decryptBlock(u);return s(i,l)}},{&quot;buffer-xor&quot;:219}],197:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;buffer-xor&quot;);function u(l,i,c){var h=i.length,f=a(i,l._cache);return l._cache=l._cache.slice(h),l._prev=s.concat([l._prev,c?i:f]),f}o.encrypt=function(l,i,c){for(var h,f=s.allocUnsafe(0);i.length;){if(l._cache.length===0&amp;&amp;(l._cache=l._cipher.encryptBlock(l._prev),l._prev=s.allocUnsafe(0)),!(l._cache.length&lt;=i.length)){f=s.concat([f,u(l,i,c)]);break}h=l._cache.length,f=s.concat([f,u(l,i.slice(0,h),c)]),i=i.slice(h)}return f}},{&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],198:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer;function a(l,i,c){for(var h,f,d=-1,v=0;++d&lt;8;)h=i&amp;1&lt;&lt;7-d?128:0,v+=(128&amp;(f=l._cipher.encryptBlock(l._prev)[0]^h))&gt;&gt;d%8,l._prev=u(l._prev,c?h:f);return v}function u(l,i){var c=l.length,h=-1,f=s.allocUnsafe(l.length);for(l=s.concat([l,s.from([i])]);++h&lt;c;)f[h]=l[h]&lt;&lt;1|l[h+1]&gt;&gt;7;return f}o.encrypt=function(l,i,c){for(var h=i.length,f=s.allocUnsafe(h),d=-1;++d&lt;h;)f[d]=a(l,i[d],c);return f}},{&quot;safe-buffer&quot;:494}],199:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer;function a(u,l,i){var c=u._cipher.encryptBlock(u._prev)[0]^l;return u._prev=s.concat([u._prev.slice(1),s.from([i?l:c])]),c}o.encrypt=function(u,l,i){for(var c=l.length,h=s.allocUnsafe(c),f=-1;++f&lt;c;)h[f]=a(u,l[f],i);return h}},{&quot;safe-buffer&quot;:494}],200:[function(t,n,o){var s=t(&quot;buffer-xor&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;../incr32&quot;);function l(i){var c=i._cipher.encryptBlockRaw(i._prev);return u(i._prev),c}o.encrypt=function(i,c){var h=Math.ceil(c.length/16),f=i._cache.length;i._cache=a.concat([i._cache,a.allocUnsafe(16*h)]);for(var d=0;d&lt;h;d++){var v=l(i),y=f+16*d;i._cache.writeUInt32BE(v[0],y+0),i._cache.writeUInt32BE(v[1],y+4),i._cache.writeUInt32BE(v[2],y+8),i._cache.writeUInt32BE(v[3],y+12)}var p=i._cache.slice(0,c.length);return i._cache=i._cache.slice(c.length),s(c,p)}},{&quot;../incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],201:[function(t,n,o){o.encrypt=function(s,a){return s._cipher.encryptBlock(a)},o.decrypt=function(s,a){return s._cipher.decryptBlock(a)}},{}],202:[function(t,n,o){var s={ECB:t(&quot;./ecb&quot;),CBC:t(&quot;./cbc&quot;),CFB:t(&quot;./cfb&quot;),CFB8:t(&quot;./cfb8&quot;),CFB1:t(&quot;./cfb1&quot;),OFB:t(&quot;./ofb&quot;),CTR:t(&quot;./ctr&quot;),GCM:t(&quot;./ctr&quot;)},a=t(&quot;./list.json&quot;);for(var u in a)a[u].module=s[a[u].mode];n.exports=a},{&quot;./cbc&quot;:196,&quot;./cfb&quot;:197,&quot;./cfb1&quot;:198,&quot;./cfb8&quot;:199,&quot;./ctr&quot;:200,&quot;./ecb&quot;:201,&quot;./list.json&quot;:203,&quot;./ofb&quot;:204}],203:[function(t,n,o){n.exports={&quot;aes-128-ecb&quot;:{cipher:&quot;AES&quot;,key:128,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-192-ecb&quot;:{cipher:&quot;AES&quot;,key:192,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-256-ecb&quot;:{cipher:&quot;AES&quot;,key:256,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-128-cbc&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-192-cbc&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-256-cbc&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes128:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes192:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes256:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-128-cfb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb8&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb8&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb8&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb1&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb1&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb1&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-128-ofb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-192-ofb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-256-ofb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-128-ctr&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-192-ctr&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-256-ctr&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-128-gcm&quot;:{cipher:&quot;AES&quot;,key:128,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-192-gcm&quot;:{cipher:&quot;AES&quot;,key:192,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-256-gcm&quot;:{cipher:&quot;AES&quot;,key:256,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;}}},{}],204:[function(t,n,o){(function(s){(function(){var a=t(&quot;buffer-xor&quot;);function u(l){return l._prev=l._cipher.encryptBlock(l._prev),l._prev}o.encrypt=function(l,i){for(;l._cache.length&lt;i.length;)l._cache=s.concat([l._cache,u(l)]);var c=l._cache.slice(0,i.length);return l._cache=l._cache.slice(i.length),a(i,c)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,&quot;buffer-xor&quot;:219}],205:[function(t,n,o){var s=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;);function l(i,c,h,f){u.call(this),this._cipher=new s.AES(c),this._prev=a.from(h),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=f,this._mode=i}t(&quot;inherits&quot;)(l,u),l.prototype._update=function(i){return this._mode.encrypt(this,i,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},n.exports=l},{&quot;./aes&quot;:189,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],206:[function(t,n,o){var s=t(&quot;browserify-des&quot;),a=t(&quot;browserify-aes/browser&quot;),u=t(&quot;browserify-aes/modes&quot;),l=t(&quot;browserify-des/modes&quot;),i=t(&quot;evp_bytestokey&quot;);function c(f,d,v){if(f=f.toLowerCase(),u[f])return a.createCipheriv(f,d,v);if(l[f])return new s({key:d,iv:v,mode:f});throw new TypeError(&quot;invalid suite type&quot;)}function h(f,d,v){if(f=f.toLowerCase(),u[f])return a.createDecipheriv(f,d,v);if(l[f])return new s({key:d,iv:v,mode:f,decrypt:!0});throw new TypeError(&quot;invalid suite type&quot;)}o.createCipher=o.Cipher=function(f,d){var v,y;if(f=f.toLowerCase(),u[f])v=u[f].key,y=u[f].iv;else{if(!l[f])throw new TypeError(&quot;invalid suite type&quot;);v=8*l[f].key,y=l[f].iv}var p=i(d,!1,v,y);return c(f,p.key,p.iv)},o.createCipheriv=o.Cipheriv=c,o.createDecipher=o.Decipher=function(f,d){var v,y;if(f=f.toLowerCase(),u[f])v=u[f].key,y=u[f].iv;else{if(!l[f])throw new TypeError(&quot;invalid suite type&quot;);v=8*l[f].key,y=l[f].iv}var p=i(d,!1,v,y);return h(f,p.key,p.iv)},o.createDecipheriv=o.Decipheriv=h,o.listCiphers=o.getCiphers=function(){return Object.keys(l).concat(a.getCiphers())}},{&quot;browserify-aes/browser&quot;:191,&quot;browserify-aes/modes&quot;:202,&quot;browserify-des&quot;:207,&quot;browserify-des/modes&quot;:208,evp_bytestokey:423}],207:[function(t,n,o){var s=t(&quot;cipher-base&quot;),a=t(&quot;des.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;safe-buffer&quot;).Buffer,i={&quot;des-ede3-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede3&quot;:a.EDE,&quot;des-ede-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede&quot;:a.EDE,&quot;des-cbc&quot;:a.CBC.instantiate(a.DES),&quot;des-ecb&quot;:a.DES};function c(h){s.call(this);var f,d=h.mode.toLowerCase(),v=i[d];f=h.decrypt?&quot;decrypt&quot;:&quot;encrypt&quot;;var y=h.key;l.isBuffer(y)||(y=l.from(y)),d!==&quot;des-ede&quot;&amp;&amp;d!==&quot;des-ede-cbc&quot;||(y=l.concat([y,y.slice(0,8)]));var p=h.iv;l.isBuffer(p)||(p=l.from(p)),this._des=v.create({key:y,iv:p,type:f})}i.des=i[&quot;des-cbc&quot;],i.des3=i[&quot;des-ede3-cbc&quot;],n.exports=c,u(c,s),c.prototype._update=function(h){return l.from(this._des.update(h))},c.prototype._final=function(){return l.from(this._des.final())}},{&quot;cipher-base&quot;:221,&quot;des.js&quot;:394,inherits:440,&quot;safe-buffer&quot;:494}],208:[function(t,n,o){o[&quot;des-ecb&quot;]={key:8,iv:0},o[&quot;des-cbc&quot;]=o.des={key:8,iv:8},o[&quot;des-ede3-cbc&quot;]=o.des3={key:24,iv:8},o[&quot;des-ede3&quot;]={key:24,iv:0},o[&quot;des-ede-cbc&quot;]={key:16,iv:8},o[&quot;des-ede&quot;]={key:16,iv:0}},{}],209:[function(t,n,o){(function(s){(function(){var a=t(&quot;bn.js&quot;),u=t(&quot;randombytes&quot;);function l(c){var h,f=c.modulus.byteLength();do h=new a(u(f));while(h.cmp(c.modulus)&gt;=0||!h.umod(c.prime1)||!h.umod(c.prime2));return h}function i(c,h){var f=(function(W){var L=l(W);return{blinder:L.toRed(a.mont(W.modulus)).redPow(new a(W.publicExponent)).fromRed(),unblinder:L.invm(W.modulus)}})(h),d=h.modulus.byteLength(),v=new a(c).mul(f.blinder).umod(h.modulus),y=v.toRed(a.mont(h.prime1)),p=v.toRed(a.mont(h.prime2)),b=h.coefficient,x=h.prime1,_=h.prime2,E=y.redPow(h.exponent1).fromRed(),M=p.redPow(h.exponent2).fromRed(),D=E.isub(M).imul(b).umod(x).imul(_);return M.iadd(D).imul(f.unblinder).umod(h.modulus).toArrayLike(s,&quot;be&quot;,d)}i.getr=l,n.exports=i}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:186,buffer:220,randombytes:475}],210:[function(t,n,o){n.exports=t(&quot;./browser/algorithms.json&quot;)},{&quot;./browser/algorithms.json&quot;:211}],211:[function(t,n,o){n.exports={sha224WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},&quot;RSA-SHA224&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},sha256WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},&quot;RSA-SHA256&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},sha384WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},&quot;RSA-SHA384&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},sha512WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA512&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA1&quot;:{sign:&quot;rsa&quot;,hash:&quot;sha1&quot;,id:&quot;3021300906052b0e03021a05000414&quot;},&quot;ecdsa-with-SHA1&quot;:{sign:&quot;ecdsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},sha256:{sign:&quot;ecdsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},sha224:{sign:&quot;ecdsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},sha384:{sign:&quot;ecdsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},sha512:{sign:&quot;ecdsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-SHA1&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},DSA:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-RIPEMD160&quot;:{sign:&quot;dsa&quot;,hash:&quot;rmd160&quot;,id:&quot;&quot;},ripemd160WithRSA:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},&quot;RSA-RIPEMD160&quot;:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},md5WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;},&quot;RSA-MD5&quot;:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;}}},{}],212:[function(t,n,o){n.exports={&quot;1.3.132.0.10&quot;:&quot;secp256k1&quot;,&quot;1.3.132.0.33&quot;:&quot;p224&quot;,&quot;1.2.840.10045.3.1.1&quot;:&quot;p192&quot;,&quot;1.2.840.10045.3.1.7&quot;:&quot;p256&quot;,&quot;1.3.132.0.34&quot;:&quot;p384&quot;,&quot;1.3.132.0.35&quot;:&quot;p521&quot;}},{}],213:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hash&quot;),u=t(&quot;readable-stream&quot;),l=t(&quot;inherits&quot;),i=t(&quot;./sign&quot;),c=t(&quot;./verify&quot;),h=t(&quot;./algorithms.json&quot;);function f(p){u.Writable.call(this);var b=h[p];if(!b)throw new Error(&quot;Unknown message digest&quot;);this._hashType=b.hash,this._hash=a(b.hash),this._tag=b.id,this._signType=b.sign}function d(p){u.Writable.call(this);var b=h[p];if(!b)throw new Error(&quot;Unknown message digest&quot;);this._hash=a(b.hash),this._tag=b.id,this._signType=b.sign}function v(p){return new f(p)}function y(p){return new d(p)}Object.keys(h).forEach((function(p){h[p].id=s.from(h[p].id,&quot;hex&quot;),h[p.toLowerCase()]=h[p]})),l(f,u.Writable),f.prototype._write=function(p,b,x){this._hash.update(p),x()},f.prototype.update=function(p,b){return typeof p==&quot;string&quot;&amp;&amp;(p=s.from(p,b)),this._hash.update(p),this},f.prototype.sign=function(p,b){this.end();var x=this._hash.digest(),_=i(x,p,this._hashType,this._signType,this._tag);return b?_.toString(b):_},l(d,u.Writable),d.prototype._write=function(p,b,x){this._hash.update(p),x()},d.prototype.update=function(p,b){return typeof p==&quot;string&quot;&amp;&amp;(p=s.from(p,b)),this._hash.update(p),this},d.prototype.verify=function(p,b,x){typeof b==&quot;string&quot;&amp;&amp;(b=s.from(b,x)),this.end();var _=this._hash.digest();return c(b,_,p,this._signType,this._tag)},n.exports={Sign:v,Verify:y,createSign:v,createVerify:y}},{&quot;./algorithms.json&quot;:211,&quot;./sign&quot;:214,&quot;./verify&quot;:215,&quot;create-hash&quot;:386,inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],214:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hmac&quot;),u=t(&quot;browserify-rsa&quot;),l=t(&quot;elliptic&quot;).ec,i=t(&quot;bn.js&quot;),c=t(&quot;parse-asn1&quot;),h=t(&quot;./curves.json&quot;);function f(p,b,x,_){if((p=s.from(p.toArray())).length&lt;b.byteLength()){var E=s.alloc(b.byteLength()-p.length);p=s.concat([E,p])}var M=x.length,D=(function(V,H){V=(V=d(V,H)).mod(H);var K=s.from(V.toArray());if(K.length&lt;H.byteLength()){var z=s.alloc(H.byteLength()-K.length);K=s.concat([z,K])}return K})(x,b),W=s.alloc(M);W.fill(1);var L=s.alloc(M);return L=a(_,L).update(W).update(s.from([0])).update(p).update(D).digest(),W=a(_,L).update(W).digest(),{k:L=a(_,L).update(W).update(s.from([1])).update(p).update(D).digest(),v:W=a(_,L).update(W).digest()}}function d(p,b){var x=new i(p),_=(p.length&lt;&lt;3)-b.bitLength();return _&gt;0&amp;&amp;x.ishrn(_),x}function v(p,b,x){var _,E;do{for(_=s.alloc(0);8*_.length&lt;p.bitLength();)b.v=a(x,b.k).update(b.v).digest(),_=s.concat([_,b.v]);E=d(_,p),b.k=a(x,b.k).update(b.v).update(s.from([0])).digest(),b.v=a(x,b.k).update(b.v).digest()}while(E.cmp(p)!==-1);return E}function y(p,b,x,_){return p.toRed(i.mont(x)).redPow(b).fromRed().mod(_)}n.exports=function(p,b,x,_,E){var M=c(b);if(M.curve){if(_!==&quot;ecdsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(V,H){var K=h[H.curve.join(&quot;.&quot;)];if(!K)throw new Error(&quot;unknown curve &quot;+H.curve.join(&quot;.&quot;));var z=new l(K).keyFromPrivate(H.privateKey).sign(V);return s.from(z.toDER())})(p,M)}if(M.type===&quot;dsa&quot;){if(_!==&quot;dsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(V,H,K){for(var z,O=H.params.priv_key,I=H.params.p,C=H.params.q,j=H.params.g,k=new i(0),S=d(V,C).mod(C),N=!1,T=f(O,C,V,K);N===!1;)z=v(C,T,K),k=y(j,z,I,C),(N=z.invm(C).imul(S.add(O.mul(k))).mod(C)).cmpn(0)===0&amp;&amp;(N=!1,k=new i(0));return(function(R,B){R=R.toArray(),B=B.toArray(),128&amp;R[0]&amp;&amp;(R=[0].concat(R)),128&amp;B[0]&amp;&amp;(B=[0].concat(B));var Y=[48,R.length+B.length+4,2,R.length];return Y=Y.concat(R,[2,B.length],B),s.from(Y)})(k,N)})(p,M,x)}if(_!==&quot;rsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);p=s.concat([E,p]);for(var D=M.modulus.byteLength(),W=[0,1];p.length+W.length+1&lt;D;)W.push(255);W.push(0);for(var L=-1;++L&lt;p.length;)W.push(p[L]);return u(W,M)},n.exports.getKey=f,n.exports.makeKey=v},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,&quot;browserify-rsa&quot;:209,&quot;create-hmac&quot;:388,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],215:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;bn.js&quot;),u=t(&quot;elliptic&quot;).ec,l=t(&quot;parse-asn1&quot;),i=t(&quot;./curves.json&quot;);function c(h,f){if(h.cmpn(0)&lt;=0)throw new Error(&quot;invalid sig&quot;);if(h.cmp(f)&gt;=f)throw new Error(&quot;invalid sig&quot;)}n.exports=function(h,f,d,v,y){var p=l(d);if(p.type===&quot;ec&quot;){if(v!==&quot;ecdsa&quot;&amp;&amp;v!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(W,L,V){var H=i[V.data.algorithm.curve.join(&quot;.&quot;)];if(!H)throw new Error(&quot;unknown curve &quot;+V.data.algorithm.curve.join(&quot;.&quot;));var K=new u(H),z=V.data.subjectPrivateKey.data;return K.verify(L,W,z)})(h,f,p)}if(p.type===&quot;dsa&quot;){if(v!==&quot;dsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(W,L,V){var H=V.data.p,K=V.data.q,z=V.data.g,O=V.data.pub_key,I=l.signature.decode(W,&quot;der&quot;),C=I.s,j=I.r;c(C,K),c(j,K);var k=a.mont(H),S=C.invm(K);return z.toRed(k).redPow(new a(L).mul(S).mod(K)).fromRed().mul(O.toRed(k).redPow(j.mul(S).mod(K)).fromRed()).mod(H).mod(K).cmp(j)===0})(h,f,p)}if(v!==&quot;rsa&quot;&amp;&amp;v!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);f=s.concat([y,f]);for(var b=p.modulus.byteLength(),x=[1],_=0;f.length+x.length+2&lt;b;)x.push(255),_++;x.push(0);for(var E=-1;++E&lt;f.length;)x.push(f[E]);x=s.from(x);var M=a.mont(p.modulus);h=(h=new a(h).toRed(M)).redPow(new a(p.publicExponent)),h=s.from(h.fromRed().toArray());var D=_&lt;8?1:0;for(b=Math.min(h.length,x.length),h.length!==x.length&amp;&amp;(D=1),E=-1;++E&lt;b;)D|=h[E]^x[E];return D===0}},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],216:[function(t,n,o){},{}],217:[function(t,n,o){var s=t(&quot;buffer&quot;),a=s.Buffer;function u(i,c){for(var h in i)c[h]=i[h]}function l(i,c,h){return a(i,c,h)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=s:(u(s,o),o.Buffer=l),u(a,l),l.from=function(i,c,h){if(typeof i==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(i,c,h)},l.alloc=function(i,c,h){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var f=a(i);return c!==void 0?typeof h==&quot;string&quot;?f.fill(c,h):f.fill(c):f.fill(0),f},l.allocUnsafe=function(i){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(i)},l.allocUnsafeSlow=function(i){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return s.SlowBuffer(i)}},{buffer:220}],218:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=s.isEncoding||function(p){switch((p=&quot;&quot;+p)&amp;&amp;p.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(p){var b;switch(this.encoding=(function(x){var _=(function(E){if(!E)return&quot;utf8&quot;;for(var M;;)switch(E){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 E;default:if(M)return;E=(&quot;&quot;+E).toLowerCase(),M=!0}})(x);if(typeof _!=&quot;string&quot;&amp;&amp;(s.isEncoding===a||!a(x)))throw new Error(&quot;Unknown encoding: &quot;+x);return _||x})(p),this.encoding){case&quot;utf16le&quot;:this.text=c,this.end=h,b=4;break;case&quot;utf8&quot;:this.fillLast=i,b=4;break;case&quot;base64&quot;:this.text=f,this.end=d,b=3;break;default:return this.write=v,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(b)}function l(p){return p&lt;=127?0:p&gt;&gt;5==6?2:p&gt;&gt;4==14?3:p&gt;&gt;3==30?4:p&gt;&gt;6==2?-1:-2}function i(p){var b=this.lastTotal-this.lastNeed,x=(function(_,E,M){if((192&amp;E[0])!=128)return _.lastNeed=0,&quot;�&quot;;if(_.lastNeed&gt;1&amp;&amp;E.length&gt;1){if((192&amp;E[1])!=128)return _.lastNeed=1,&quot;�&quot;;if(_.lastNeed&gt;2&amp;&amp;E.length&gt;2&amp;&amp;(192&amp;E[2])!=128)return _.lastNeed=2,&quot;�&quot;}})(this,p);return x!==void 0?x:this.lastNeed&lt;=p.length?(p.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(p.copy(this.lastChar,b,0,p.length),void(this.lastNeed-=p.length))}function c(p,b){if((p.length-b)%2==0){var x=p.toString(&quot;utf16le&quot;,b);if(x){var _=x.charCodeAt(x.length-1);if(_&gt;=55296&amp;&amp;_&lt;=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString(&quot;utf16le&quot;,b,p.length-1)}function h(p){var b=p&amp;&amp;p.length?this.write(p):&quot;&quot;;if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return b+this.lastChar.toString(&quot;utf16le&quot;,0,x)}return b}function f(p,b){var x=(p.length-b)%3;return x===0?p.toString(&quot;base64&quot;,b):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString(&quot;base64&quot;,b,p.length-x))}function d(p){var b=p&amp;&amp;p.length?this.write(p):&quot;&quot;;return this.lastNeed?b+this.lastChar.toString(&quot;base64&quot;,0,3-this.lastNeed):b}function v(p){return p.toString(this.encoding)}function y(p){return p&amp;&amp;p.length?this.write(p):&quot;&quot;}o.StringDecoder=u,u.prototype.write=function(p){if(p.length===0)return&quot;&quot;;var b,x;if(this.lastNeed){if((b=this.fillLast(p))===void 0)return&quot;&quot;;x=this.lastNeed,this.lastNeed=0}else x=0;return x&lt;p.length?b?b+this.text(p,x):this.text(p,x):b||&quot;&quot;},u.prototype.end=function(p){var b=p&amp;&amp;p.length?this.write(p):&quot;&quot;;return this.lastNeed?b+&quot;�&quot;:b},u.prototype.text=function(p,b){var x=(function(E,M,D){var W=M.length-1;if(W&lt;D)return 0;var L=l(M[W]);return L&gt;=0?(L&gt;0&amp;&amp;(E.lastNeed=L-1),L):--W&lt;D||L===-2?0:(L=l(M[W]))&gt;=0?(L&gt;0&amp;&amp;(E.lastNeed=L-2),L):--W&lt;D||L===-2?0:(L=l(M[W]))&gt;=0?(L&gt;0&amp;&amp;(L===2?L=0:E.lastNeed=L-3),L):0})(this,p,b);if(!this.lastNeed)return p.toString(&quot;utf8&quot;,b);this.lastTotal=x;var _=p.length-(x-this.lastNeed);return p.copy(this.lastChar,0,_),p.toString(&quot;utf8&quot;,b,_)},u.prototype.fillLast=function(p){if(this.lastNeed&lt;=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length}},{&quot;safe-buffer&quot;:217}],219:[function(t,n,o){(function(s){(function(){n.exports=function(a,u){for(var l=Math.min(a.length,u.length),i=new s(l),c=0;c&lt;l;++c)i[c]=a[c]^u[c];return i}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],220:[function(t,n,o){(function(s){(function(){var a=t(&quot;base64-js&quot;),u=t(&quot;ieee754&quot;);o.Buffer=i,o.SlowBuffer=function(F){return+F!=F&amp;&amp;(F=0),i.alloc(+F)},o.INSPECT_MAX_BYTES=50;function l(F){if(F&gt;2147483647)throw new RangeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var P=new Uint8Array(F);return P.__proto__=i.prototype,P}function i(F,P,X){if(typeof F==&quot;number&quot;){if(typeof P==&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be of type string. Received type number&#039;);return f(F)}return c(F,P,X)}function c(F,P,X){if(typeof F==&quot;string&quot;)return(function(te,ae){if(typeof ae==&quot;string&quot;&amp;&amp;ae!==&quot;&quot;||(ae=&quot;utf8&quot;),!i.isEncoding(ae))throw new TypeError(&quot;Unknown encoding: &quot;+ae);var ce=0|y(te,ae),he=l(ce),se=he.write(te,ae);return se!==ce&amp;&amp;(he=he.slice(0,se)),he})(F,P);if(ArrayBuffer.isView(F))return d(F);if(F==null)throw TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof F);if(U(F,ArrayBuffer)||F&amp;&amp;U(F.buffer,ArrayBuffer))return(function(te,ae,ce){if(ae&lt;0||te.byteLength&lt;ae)throw new RangeError(&#039;&quot;offset&quot; is outside of buffer bounds&#039;);if(te.byteLength&lt;ae+(ce||0))throw new RangeError(&#039;&quot;length&quot; is outside of buffer bounds&#039;);var he;return he=ae===void 0&amp;&amp;ce===void 0?new Uint8Array(te):ce===void 0?new Uint8Array(te,ae):new Uint8Array(te,ae,ce),he.__proto__=i.prototype,he})(F,P,X);if(typeof F==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type number&#039;);var re=F.valueOf&amp;&amp;F.valueOf();if(re!=null&amp;&amp;re!==F)return i.from(re,P,X);var Q=(function(te){if(i.isBuffer(te)){var ae=0|v(te.length),ce=l(ae);return ce.length===0||te.copy(ce,0,0,ae),ce}if(te.length!==void 0)return typeof te.length!=&quot;number&quot;||ee(te.length)?l(0):d(te);if(te.type===&quot;Buffer&quot;&amp;&amp;Array.isArray(te.data))return d(te.data)})(F);if(Q)return Q;if(typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.toPrimitive!=null&amp;&amp;typeof F[Symbol.toPrimitive]==&quot;function&quot;)return i.from(F[Symbol.toPrimitive](&quot;string&quot;),P,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 F)}function h(F){if(typeof F!=&quot;number&quot;)throw new TypeError(&#039;&quot;size&quot; argument must be of type number&#039;);if(F&lt;0)throw new RangeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for option &quot;size&quot;&#039;)}function f(F){return h(F),l(F&lt;0?0:0|v(F))}function d(F){for(var P=F.length&lt;0?0:0|v(F.length),X=l(P),re=0;re&lt;P;re+=1)X[re]=255&amp;F[re];return X}function v(F){if(F&gt;=2147483647)throw new RangeError(&quot;Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes&quot;);return 0|F}function y(F,P){if(i.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||U(F,ArrayBuffer))return F.byteLength;if(typeof F!=&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 F);var X=F.length,re=arguments.length&gt;2&amp;&amp;arguments[2]===!0;if(!re&amp;&amp;X===0)return 0;for(var Q=!1;;)switch(P){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(F).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(F).length;default:if(Q)return re?-1:Y(F).length;P=(&quot;&quot;+P).toLowerCase(),Q=!0}}function p(F,P,X){var re=!1;if((P===void 0||P&lt;0)&amp;&amp;(P=0),P&gt;this.length||((X===void 0||X&gt;this.length)&amp;&amp;(X=this.length),X&lt;=0)||(X&gt;&gt;&gt;=0)&lt;=(P&gt;&gt;&gt;=0))return&quot;&quot;;for(F||(F=&quot;utf8&quot;);;)switch(F){case&quot;hex&quot;:return I(this,P,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return K(this,P,X);case&quot;ascii&quot;:return z(this,P,X);case&quot;latin1&quot;:case&quot;binary&quot;:return O(this,P,X);case&quot;base64&quot;:return H(this,P,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return C(this,P,X);default:if(re)throw new TypeError(&quot;Unknown encoding: &quot;+F);F=(F+&quot;&quot;).toLowerCase(),re=!0}}function b(F,P,X){var re=F[P];F[P]=F[X],F[X]=re}function x(F,P,X,re,Q){if(F.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:F.length-1),X&lt;0&amp;&amp;(X=F.length+X),X&gt;=F.length){if(Q)return-1;X=F.length-1}else if(X&lt;0){if(!Q)return-1;X=0}if(typeof P==&quot;string&quot;&amp;&amp;(P=i.from(P,re)),i.isBuffer(P))return P.length===0?-1:_(F,P,X,re,Q);if(typeof P==&quot;number&quot;)return P&amp;=255,typeof Uint8Array.prototype.indexOf==&quot;function&quot;?Q?Uint8Array.prototype.indexOf.call(F,P,X):Uint8Array.prototype.lastIndexOf.call(F,P,X):_(F,[P],X,re,Q);throw new TypeError(&quot;val must be string, number or Buffer&quot;)}function _(F,P,X,re,Q){var te,ae=1,ce=F.length,he=P.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(F.length&lt;2||P.length&lt;2)return-1;ae=2,ce/=2,he/=2,X/=2}function se(ve,ge){return ae===1?ve[ge]:ve.readUInt16BE(ge*ae)}if(Q){var de=-1;for(te=X;te&lt;ce;te++)if(se(F,te)===se(P,de===-1?0:te-de)){if(de===-1&amp;&amp;(de=te),te-de+1===he)return de*ae}else de!==-1&amp;&amp;(te-=te-de),de=-1}else for(X+he&gt;ce&amp;&amp;(X=ce-he),te=X;te&gt;=0;te--){for(var ie=!0,me=0;me&lt;he;me++)if(se(F,te+me)!==se(P,me)){ie=!1;break}if(ie)return te}return-1}function E(F,P,X,re){X=Number(X)||0;var Q=F.length-X;re?(re=Number(re))&gt;Q&amp;&amp;(re=Q):re=Q;var te=P.length;re&gt;te/2&amp;&amp;(re=te/2);for(var ae=0;ae&lt;re;++ae){var ce=parseInt(P.substr(2*ae,2),16);if(ee(ce))return ae;F[X+ae]=ce}return ae}function M(F,P,X,re){return ne(Y(P,F.length-X),F,X,re)}function D(F,P,X,re){return ne((function(Q){for(var te=[],ae=0;ae&lt;Q.length;++ae)te.push(255&amp;Q.charCodeAt(ae));return te})(P),F,X,re)}function W(F,P,X,re){return D(F,P,X,re)}function L(F,P,X,re){return ne(Z(P),F,X,re)}function V(F,P,X,re){return ne((function(Q,te){for(var ae,ce,he,se=[],de=0;de&lt;Q.length&amp;&amp;!((te-=2)&lt;0);++de)ae=Q.charCodeAt(de),ce=ae&gt;&gt;8,he=ae%256,se.push(he),se.push(ce);return se})(P,F.length-X),F,X,re)}function H(F,P,X){return P===0&amp;&amp;X===F.length?a.fromByteArray(F):a.fromByteArray(F.slice(P,X))}function K(F,P,X){X=Math.min(F.length,X);for(var re=[],Q=P;Q&lt;X;){var te,ae,ce,he,se=F[Q],de=null,ie=se&gt;239?4:se&gt;223?3:se&gt;191?2:1;if(Q+ie&lt;=X)switch(ie){case 1:se&lt;128&amp;&amp;(de=se);break;case 2:(192&amp;(te=F[Q+1]))==128&amp;&amp;(he=(31&amp;se)&lt;&lt;6|63&amp;te)&gt;127&amp;&amp;(de=he);break;case 3:te=F[Q+1],ae=F[Q+2],(192&amp;te)==128&amp;&amp;(192&amp;ae)==128&amp;&amp;(he=(15&amp;se)&lt;&lt;12|(63&amp;te)&lt;&lt;6|63&amp;ae)&gt;2047&amp;&amp;(he&lt;55296||he&gt;57343)&amp;&amp;(de=he);break;case 4:te=F[Q+1],ae=F[Q+2],ce=F[Q+3],(192&amp;te)==128&amp;&amp;(192&amp;ae)==128&amp;&amp;(192&amp;ce)==128&amp;&amp;(he=(15&amp;se)&lt;&lt;18|(63&amp;te)&lt;&lt;12|(63&amp;ae)&lt;&lt;6|63&amp;ce)&gt;65535&amp;&amp;he&lt;1114112&amp;&amp;(de=he)}de===null?(de=65533,ie=1):de&gt;65535&amp;&amp;(de-=65536,re.push(de&gt;&gt;&gt;10&amp;1023|55296),de=56320|1023&amp;de),re.push(de),Q+=ie}return(function(me){var ve=me.length;if(ve&lt;=4096)return String.fromCharCode.apply(String,me);for(var ge=&quot;&quot;,le=0;le&lt;ve;)ge+=String.fromCharCode.apply(String,me.slice(le,le+=4096));return ge})(re)}o.kMaxLength=2147483647,i.TYPED_ARRAY_SUPPORT=(function(){try{var F=new Uint8Array(1);return F.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},F.foo()===42}catch{return!1}})(),i.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(i.prototype,&quot;parent&quot;,{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,&quot;offset&quot;,{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.species!=null&amp;&amp;i[Symbol.species]===i&amp;&amp;Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(F,P,X){return c(F,P,X)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(F,P,X){return(function(re,Q,te){return h(re),re&lt;=0?l(re):Q!==void 0?typeof te==&quot;string&quot;?l(re).fill(Q,te):l(re).fill(Q):l(re)})(F,P,X)},i.allocUnsafe=function(F){return f(F)},i.allocUnsafeSlow=function(F){return f(F)},i.isBuffer=function(F){return F!=null&amp;&amp;F._isBuffer===!0&amp;&amp;F!==i.prototype},i.compare=function(F,P){if(U(F,Uint8Array)&amp;&amp;(F=i.from(F,F.offset,F.byteLength)),U(P,Uint8Array)&amp;&amp;(P=i.from(P,P.offset,P.byteLength)),!i.isBuffer(F)||!i.isBuffer(P))throw new TypeError(&#039;The &quot;buf1&quot;, &quot;buf2&quot; arguments must be one of type Buffer or Uint8Array&#039;);if(F===P)return 0;for(var X=F.length,re=P.length,Q=0,te=Math.min(X,re);Q&lt;te;++Q)if(F[Q]!==P[Q]){X=F[Q],re=P[Q];break}return X&lt;re?-1:re&lt;X?1:0},i.isEncoding=function(F){switch(String(F).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}},i.concat=function(F,P){if(!Array.isArray(F))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);if(F.length===0)return i.alloc(0);var X;if(P===void 0)for(P=0,X=0;X&lt;F.length;++X)P+=F[X].length;var re=i.allocUnsafe(P),Q=0;for(X=0;X&lt;F.length;++X){var te=F[X];if(U(te,Uint8Array)&amp;&amp;(te=i.from(te)),!i.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},i.byteLength=y,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var F=this.length;if(F%2!=0)throw new RangeError(&quot;Buffer size must be a multiple of 16-bits&quot;);for(var P=0;P&lt;F;P+=2)b(this,P,P+1);return this},i.prototype.swap32=function(){var F=this.length;if(F%4!=0)throw new RangeError(&quot;Buffer size must be a multiple of 32-bits&quot;);for(var P=0;P&lt;F;P+=4)b(this,P,P+3),b(this,P+1,P+2);return this},i.prototype.swap64=function(){var F=this.length;if(F%8!=0)throw new RangeError(&quot;Buffer size must be a multiple of 64-bits&quot;);for(var P=0;P&lt;F;P+=8)b(this,P,P+7),b(this,P+1,P+6),b(this,P+2,P+5),b(this,P+3,P+4);return this},i.prototype.toString=function(){var F=this.length;return F===0?&quot;&quot;:arguments.length===0?K(this,0,F):p.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(F){if(!i.isBuffer(F))throw new TypeError(&quot;Argument must be a Buffer&quot;);return this===F||i.compare(this,F)===0},i.prototype.inspect=function(){var F=&quot;&quot;,P=o.INSPECT_MAX_BYTES;return F=this.toString(&quot;hex&quot;,0,P).replace(/(.{2})/g,&quot;$1 &quot;).trim(),this.length&gt;P&amp;&amp;(F+=&quot; ... &quot;),&quot;&lt;Buffer &quot;+F+&quot;&gt;&quot;},i.prototype.compare=function(F,P,X,re,Q){if(U(F,Uint8Array)&amp;&amp;(F=i.from(F,F.offset,F.byteLength)),!i.isBuffer(F))throw new TypeError(&#039;The &quot;target&quot; argument must be one of type Buffer or Uint8Array. Received type &#039;+typeof F);if(P===void 0&amp;&amp;(P=0),X===void 0&amp;&amp;(X=F?F.length:0),re===void 0&amp;&amp;(re=0),Q===void 0&amp;&amp;(Q=this.length),P&lt;0||X&gt;F.length||re&lt;0||Q&gt;this.length)throw new RangeError(&quot;out of range index&quot;);if(re&gt;=Q&amp;&amp;P&gt;=X)return 0;if(re&gt;=Q)return-1;if(P&gt;=X)return 1;if(this===F)return 0;for(var te=(Q&gt;&gt;&gt;=0)-(re&gt;&gt;&gt;=0),ae=(X&gt;&gt;&gt;=0)-(P&gt;&gt;&gt;=0),ce=Math.min(te,ae),he=this.slice(re,Q),se=F.slice(P,X),de=0;de&lt;ce;++de)if(he[de]!==se[de]){te=he[de],ae=se[de];break}return te&lt;ae?-1:ae&lt;te?1:0},i.prototype.includes=function(F,P,X){return this.indexOf(F,P,X)!==-1},i.prototype.indexOf=function(F,P,X){return x(this,F,P,X,!0)},i.prototype.lastIndexOf=function(F,P,X){return x(this,F,P,X,!1)},i.prototype.write=function(F,P,X,re){if(P===void 0)re=&quot;utf8&quot;,X=this.length,P=0;else if(X===void 0&amp;&amp;typeof P==&quot;string&quot;)re=P,X=this.length,P=0;else{if(!isFinite(P))throw new Error(&quot;Buffer.write(string, encoding, offset[, length]) is no longer supported&quot;);P&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-P;if((X===void 0||X&gt;Q)&amp;&amp;(X=Q),F.length&gt;0&amp;&amp;(X&lt;0||P&lt;0)||P&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 E(this,F,P,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return M(this,F,P,X);case&quot;ascii&quot;:return D(this,F,P,X);case&quot;latin1&quot;:case&quot;binary&quot;:return W(this,F,P,X);case&quot;base64&quot;:return L(this,F,P,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return V(this,F,P,X);default:if(te)throw new TypeError(&quot;Unknown encoding: &quot;+re);re=(&quot;&quot;+re).toLowerCase(),te=!0}},i.prototype.toJSON=function(){return{type:&quot;Buffer&quot;,data:Array.prototype.slice.call(this._arr||this,0)}};function z(F,P,X){var re=&quot;&quot;;X=Math.min(F.length,X);for(var Q=P;Q&lt;X;++Q)re+=String.fromCharCode(127&amp;F[Q]);return re}function O(F,P,X){var re=&quot;&quot;;X=Math.min(F.length,X);for(var Q=P;Q&lt;X;++Q)re+=String.fromCharCode(F[Q]);return re}function I(F,P,X){var re=F.length;(!P||P&lt;0)&amp;&amp;(P=0),(!X||X&lt;0||X&gt;re)&amp;&amp;(X=re);for(var Q=&quot;&quot;,te=P;te&lt;X;++te)Q+=B(F[te]);return Q}function C(F,P,X){for(var re=F.slice(P,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(F,P,X){if(F%1!=0||F&lt;0)throw new RangeError(&quot;offset is not uint&quot;);if(F+P&gt;X)throw new RangeError(&quot;Trying to access beyond buffer length&quot;)}function k(F,P,X,re,Q,te){if(!i.isBuffer(F))throw new TypeError(&#039;&quot;buffer&quot; argument must be a Buffer instance&#039;);if(P&gt;Q||P&lt;te)throw new RangeError(&#039;&quot;value&quot; argument is out of bounds&#039;);if(X+re&gt;F.length)throw new RangeError(&quot;Index out of range&quot;)}function S(F,P,X,re,Q,te){if(X+re&gt;F.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(F,P,X,re,Q){return P=+P,X&gt;&gt;&gt;=0,Q||S(F,0,X,4),u.write(F,P,X,re,23,4),X+4}function T(F,P,X,re,Q){return P=+P,X&gt;&gt;&gt;=0,Q||S(F,0,X,8),u.write(F,P,X,re,52,8),X+8}i.prototype.slice=function(F,P){var X=this.length;(F=~~F)&lt;0?(F+=X)&lt;0&amp;&amp;(F=0):F&gt;X&amp;&amp;(F=X),(P=P===void 0?X:~~P)&lt;0?(P+=X)&lt;0&amp;&amp;(P=0):P&gt;X&amp;&amp;(P=X),P&lt;F&amp;&amp;(P=F);var re=this.subarray(F,P);return re.__proto__=i.prototype,re},i.prototype.readUIntLE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F],Q=1,te=0;++te&lt;P&amp;&amp;(Q*=256);)re+=this[F+te]*Q;return re},i.prototype.readUIntBE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F+--P],Q=1;P&gt;0&amp;&amp;(Q*=256);)re+=this[F+--P]*Q;return re},i.prototype.readUInt8=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,1,this.length),this[F]},i.prototype.readUInt16LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,2,this.length),this[F]|this[F+1]&lt;&lt;8},i.prototype.readUInt16BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,2,this.length),this[F]&lt;&lt;8|this[F+1]},i.prototype.readUInt32LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),(this[F]|this[F+1]&lt;&lt;8|this[F+2]&lt;&lt;16)+16777216*this[F+3]},i.prototype.readUInt32BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),16777216*this[F]+(this[F+1]&lt;&lt;16|this[F+2]&lt;&lt;8|this[F+3])},i.prototype.readIntLE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F],Q=1,te=0;++te&lt;P&amp;&amp;(Q*=256);)re+=this[F+te]*Q;return re&gt;=(Q*=128)&amp;&amp;(re-=Math.pow(2,8*P)),re},i.prototype.readIntBE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=P,Q=1,te=this[F+--re];re&gt;0&amp;&amp;(Q*=256);)te+=this[F+--re]*Q;return te&gt;=(Q*=128)&amp;&amp;(te-=Math.pow(2,8*P)),te},i.prototype.readInt8=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,1,this.length),128&amp;this[F]?-1*(255-this[F]+1):this[F]},i.prototype.readInt16LE=function(F,P){F&gt;&gt;&gt;=0,P||j(F,2,this.length);var X=this[F]|this[F+1]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},i.prototype.readInt16BE=function(F,P){F&gt;&gt;&gt;=0,P||j(F,2,this.length);var X=this[F+1]|this[F]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},i.prototype.readInt32LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),this[F]|this[F+1]&lt;&lt;8|this[F+2]&lt;&lt;16|this[F+3]&lt;&lt;24},i.prototype.readInt32BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),this[F]&lt;&lt;24|this[F+1]&lt;&lt;16|this[F+2]&lt;&lt;8|this[F+3]},i.prototype.readFloatLE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),u.read(this,F,!0,23,4)},i.prototype.readFloatBE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),u.read(this,F,!1,23,4)},i.prototype.readDoubleLE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,8,this.length),u.read(this,F,!0,52,8)},i.prototype.readDoubleBE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,8,this.length),u.read(this,F,!1,52,8)},i.prototype.writeUIntLE=function(F,P,X,re){F=+F,P&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,F,P,X,Math.pow(2,8*X)-1,0);var Q=1,te=0;for(this[P]=255&amp;F;++te&lt;X&amp;&amp;(Q*=256);)this[P+te]=F/Q&amp;255;return P+X},i.prototype.writeUIntBE=function(F,P,X,re){F=+F,P&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,F,P,X,Math.pow(2,8*X)-1,0);var Q=X-1,te=1;for(this[P+Q]=255&amp;F;--Q&gt;=0&amp;&amp;(te*=256);)this[P+Q]=F/te&amp;255;return P+X},i.prototype.writeUInt8=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,1,255,0),this[P]=255&amp;F,P+1},i.prototype.writeUInt16LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,65535,0),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,P+2},i.prototype.writeUInt16BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,65535,0),this[P]=F&gt;&gt;&gt;8,this[P+1]=255&amp;F,P+2},i.prototype.writeUInt32LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,4294967295,0),this[P+3]=F&gt;&gt;&gt;24,this[P+2]=F&gt;&gt;&gt;16,this[P+1]=F&gt;&gt;&gt;8,this[P]=255&amp;F,P+4},i.prototype.writeUInt32BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,4294967295,0),this[P]=F&gt;&gt;&gt;24,this[P+1]=F&gt;&gt;&gt;16,this[P+2]=F&gt;&gt;&gt;8,this[P+3]=255&amp;F,P+4},i.prototype.writeIntLE=function(F,P,X,re){if(F=+F,P&gt;&gt;&gt;=0,!re){var Q=Math.pow(2,8*X-1);k(this,F,P,X,Q-1,-Q)}var te=0,ae=1,ce=0;for(this[P]=255&amp;F;++te&lt;X&amp;&amp;(ae*=256);)F&lt;0&amp;&amp;ce===0&amp;&amp;this[P+te-1]!==0&amp;&amp;(ce=1),this[P+te]=(F/ae&gt;&gt;0)-ce&amp;255;return P+X},i.prototype.writeIntBE=function(F,P,X,re){if(F=+F,P&gt;&gt;&gt;=0,!re){var Q=Math.pow(2,8*X-1);k(this,F,P,X,Q-1,-Q)}var te=X-1,ae=1,ce=0;for(this[P+te]=255&amp;F;--te&gt;=0&amp;&amp;(ae*=256);)F&lt;0&amp;&amp;ce===0&amp;&amp;this[P+te+1]!==0&amp;&amp;(ce=1),this[P+te]=(F/ae&gt;&gt;0)-ce&amp;255;return P+X},i.prototype.writeInt8=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,1,127,-128),F&lt;0&amp;&amp;(F=255+F+1),this[P]=255&amp;F,P+1},i.prototype.writeInt16LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,32767,-32768),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,P+2},i.prototype.writeInt16BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,32767,-32768),this[P]=F&gt;&gt;&gt;8,this[P+1]=255&amp;F,P+2},i.prototype.writeInt32LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,2147483647,-2147483648),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,this[P+2]=F&gt;&gt;&gt;16,this[P+3]=F&gt;&gt;&gt;24,P+4},i.prototype.writeInt32BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,2147483647,-2147483648),F&lt;0&amp;&amp;(F=4294967295+F+1),this[P]=F&gt;&gt;&gt;24,this[P+1]=F&gt;&gt;&gt;16,this[P+2]=F&gt;&gt;&gt;8,this[P+3]=255&amp;F,P+4},i.prototype.writeFloatLE=function(F,P,X){return N(this,F,P,!0,X)},i.prototype.writeFloatBE=function(F,P,X){return N(this,F,P,!1,X)},i.prototype.writeDoubleLE=function(F,P,X){return T(this,F,P,!0,X)},i.prototype.writeDoubleBE=function(F,P,X){return T(this,F,P,!1,X)},i.prototype.copy=function(F,P,X,re){if(!i.isBuffer(F))throw new TypeError(&quot;argument should be a Buffer&quot;);if(X||(X=0),re||re===0||(re=this.length),P&gt;=F.length&amp;&amp;(P=F.length),P||(P=0),re&gt;0&amp;&amp;re&lt;X&amp;&amp;(re=X),re===X||F.length===0||this.length===0)return 0;if(P&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),F.length-P&lt;re-X&amp;&amp;(re=F.length-P+X);var Q=re-X;if(this===F&amp;&amp;typeof Uint8Array.prototype.copyWithin==&quot;function&quot;)this.copyWithin(P,X,re);else if(this===F&amp;&amp;X&lt;P&amp;&amp;P&lt;re)for(var te=Q-1;te&gt;=0;--te)F[te+P]=this[te+X];else Uint8Array.prototype.set.call(F,this.subarray(X,re),P);return Q},i.prototype.fill=function(F,P,X,re){if(typeof F==&quot;string&quot;){if(typeof P==&quot;string&quot;?(re=P,P=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;!i.isEncoding(re))throw new TypeError(&quot;Unknown encoding: &quot;+re);if(F.length===1){var Q=F.charCodeAt(0);(re===&quot;utf8&quot;&amp;&amp;Q&lt;128||re===&quot;latin1&quot;)&amp;&amp;(F=Q)}}else typeof F==&quot;number&quot;&amp;&amp;(F&amp;=255);if(P&lt;0||this.length&lt;P||this.length&lt;X)throw new RangeError(&quot;Out of range index&quot;);if(X&lt;=P)return this;var te;if(P&gt;&gt;&gt;=0,X=X===void 0?this.length:X&gt;&gt;&gt;0,F||(F=0),typeof F==&quot;number&quot;)for(te=P;te&lt;X;++te)this[te]=F;else{var ae=i.isBuffer(F)?F:i.from(F,re),ce=ae.length;if(ce===0)throw new TypeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for argument &quot;value&quot;&#039;);for(te=0;te&lt;X-P;++te)this[te+P]=ae[te%ce]}return this};var R=/[^+/0-9A-Za-z-_]/g;function B(F){return F&lt;16?&quot;0&quot;+F.toString(16):F.toString(16)}function Y(F,P){var X;P=P||1/0;for(var re=F.length,Q=null,te=[],ae=0;ae&lt;re;++ae){if((X=F.charCodeAt(ae))&gt;55295&amp;&amp;X&lt;57344){if(!Q){if(X&gt;56319){(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}if(ae+1===re){(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}Q=X;continue}if(X&lt;56320){(P-=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;(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);if(Q=null,X&lt;128){if((P-=1)&lt;0)break;te.push(X)}else if(X&lt;2048){if((P-=2)&lt;0)break;te.push(X&gt;&gt;6|192,63&amp;X|128)}else if(X&lt;65536){if((P-=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((P-=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(F){return a.toByteArray((function(P){if((P=(P=P.split(&quot;=&quot;)[0]).trim().replace(R,&quot;&quot;)).length&lt;2)return&quot;&quot;;for(;P.length%4!=0;)P+=&quot;=&quot;;return P})(F))}function ne(F,P,X,re){for(var Q=0;Q&lt;re&amp;&amp;!(Q+X&gt;=P.length||Q&gt;=F.length);++Q)P[Q+X]=F[Q];return Q}function U(F,P){return F instanceof P||F!=null&amp;&amp;F.constructor!=null&amp;&amp;F.constructor.name!=null&amp;&amp;F.constructor.name===P.name}function ee(F){return F!=F}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;base64-js&quot;:185,buffer:220,ieee754:439}],221:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;stream&quot;).Transform,u=t(&quot;string_decoder&quot;).StringDecoder;function l(i){a.call(this),this.hashMode=typeof i==&quot;string&quot;,this.hashMode?this[i]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&amp;&amp;(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t(&quot;inherits&quot;)(l,a),l.prototype.update=function(i,c,h){typeof i==&quot;string&quot;&amp;&amp;(i=s.from(i,c));var f=this._update(i);return this.hashMode?this:(h&amp;&amp;(f=this._toString(f,h)),f)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error(&quot;trying to get auth tag in unsupported state&quot;)},l.prototype.setAuthTag=function(){throw new Error(&quot;trying to set auth tag in unsupported state&quot;)},l.prototype.setAAD=function(){throw new Error(&quot;trying to set aad in unsupported state&quot;)},l.prototype._transform=function(i,c,h){var f;try{this.hashMode?this._update(i):this.push(this._update(i))}catch(d){f=d}finally{h(f)}},l.prototype._flush=function(i){var c;try{this.push(this.__final())}catch(h){c=h}i(c)},l.prototype._finalOrDigest=function(i){var c=this.__final()||s.alloc(0);return i&amp;&amp;(c=this._toString(c,i,!0)),c},l.prototype._toString=function(i,c,h){if(this._decoder||(this._decoder=new u(c),this._encoding=c),this._encoding!==c)throw new Error(&quot;can&#039;t switch encodings&quot;);var f=this._decoder.write(i);return h&amp;&amp;(f+=this._decoder.end()),f},n.exports=l},{inherits:440,&quot;safe-buffer&quot;:494,stream:505,string_decoder:218}],222:[function(t,n,o){var s=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(s(l))return l;throw new u(a(l)+&quot; is not a function&quot;)}},{&quot;../internals/is-callable&quot;:285,&quot;../internals/try-to-string&quot;:349}],223:[function(t,n,o){var s=t(&quot;../internals/is-constructor&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(s(l))return l;throw new u(a(l)+&quot; is not a constructor&quot;)}},{&quot;../internals/is-constructor&quot;:286,&quot;../internals/try-to-string&quot;:349}],224:[function(t,n,o){var s=t(&quot;../internals/is-callable&quot;),a=String,u=TypeError;n.exports=function(l){if(typeof l==&quot;object&quot;||s(l))return l;throw new u(&quot;Can&#039;t set &quot;+a(l)+&quot; as a prototype&quot;)}},{&quot;../internals/is-callable&quot;:285}],225:[function(t,n,o){var s=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/object-define-property&quot;).f,l=s(&quot;unscopables&quot;),i=Array.prototype;i[l]===void 0&amp;&amp;u(i,l,{configurable:!0,value:a(null)}),n.exports=function(c){i[l][c]=!0}},{&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],226:[function(t,n,o){var s=t(&quot;../internals/object-is-prototype-of&quot;),a=TypeError;n.exports=function(u,l){if(s(l,u))return u;throw new a(&quot;Incorrect invocation&quot;)}},{&quot;../internals/object-is-prototype-of&quot;:314}],227:[function(t,n,o){var s=t(&quot;../internals/is-object&quot;),a=String,u=TypeError;n.exports=function(l){if(s(l))return l;throw new u(a(l)+&quot; is not an object&quot;)}},{&quot;../internals/is-object&quot;:289}],228:[function(t,n,o){var s=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/to-absolute-index&quot;),u=t(&quot;../internals/length-of-array-like&quot;),l=function(i){return function(c,h,f){var d,v=s(c),y=u(v),p=a(f,y);if(i&amp;&amp;h!=h){for(;y&gt;p;)if((d=v[p++])!=d)return!0}else for(;y&gt;p;p++)if((i||p in v)&amp;&amp;v[p]===h)return i||p||0;return!i&amp;&amp;-1}};n.exports={includes:l(!0),indexOf:l(!1)}},{&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340,&quot;../internals/to-indexed-object&quot;:341}],229:[function(t,n,o){var s=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/indexed-object&quot;),l=t(&quot;../internals/to-object&quot;),i=t(&quot;../internals/length-of-array-like&quot;),c=t(&quot;../internals/array-species-create&quot;),h=a([].push),f=function(d){var v=d===1,y=d===2,p=d===3,b=d===4,x=d===6,_=d===7,E=d===5||x;return function(M,D,W,L){for(var V,H,K=l(M),z=u(K),O=s(D,W),I=i(z),C=0,j=L||c,k=v?j(M,I):y||_?j(M,0):void 0;I&gt;C;C++)if((E||C in z)&amp;&amp;(H=O(V=z[C],C,K),d))if(v)k[C]=H;else if(H)switch(d){case 3:return!0;case 5:return V;case 6:return C;case 2:h(k,V)}else switch(d){case 4:return!1;case 7:h(k,V)}return x?-1:p||b?b:k}};n.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},{&quot;../internals/array-species-create&quot;:233,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-object&quot;:344}],230:[function(t,n,o){var s=t(&quot;../internals/to-absolute-index&quot;),a=t(&quot;../internals/length-of-array-like&quot;),u=t(&quot;../internals/create-property&quot;),l=Array,i=Math.max;n.exports=function(c,h,f){for(var d=a(c),v=s(h,d),y=s(f===void 0?d:f,d),p=l(i(y-v,0)),b=0;v&lt;y;v++,b++)u(p,b,c[v]);return p.length=b,p}},{&quot;../internals/create-property&quot;:243,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340}],231:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;);n.exports=s([].slice)},{&quot;../internals/function-uncurry-this&quot;:268}],232:[function(t,n,o){var s=t(&quot;../internals/is-array&quot;),a=t(&quot;../internals/is-constructor&quot;),u=t(&quot;../internals/is-object&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;),i=Array;n.exports=function(c){var h;return s(c)&amp;&amp;(h=c.constructor,(a(h)&amp;&amp;(h===i||s(h.prototype))||u(h)&amp;&amp;(h=h[l])===null)&amp;&amp;(h=void 0)),h===void 0?i:h}},{&quot;../internals/is-array&quot;:284,&quot;../internals/is-constructor&quot;:286,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],233:[function(t,n,o){var s=t(&quot;../internals/array-species-constructor&quot;);n.exports=function(a,u){return new(s(a))(u===0?0:u)}},{&quot;../internals/array-species-constructor&quot;:232}],234:[function(t,n,o){var s=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;),a=!1;try{var u=0,l={next:function(){return{done:!!u++}},return:function(){a=!0}};l[s]=function(){return this},Array.from(l,(function(){throw 2}))}catch{}n.exports=function(i,c){try{if(!c&amp;&amp;!a)return!1}catch{return!1}var h=!1;try{var f={};f[s]=function(){return{next:function(){return{done:h=!0}}}},i(f)}catch{}return h}},{&quot;../internals/well-known-symbol&quot;:357}],235:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=s({}.toString),u=s(&quot;&quot;.slice);n.exports=function(l){return u(a(l),8,-1)}},{&quot;../internals/function-uncurry-this&quot;:268}],236:[function(t,n,o){var s=t(&quot;../internals/to-string-tag-support&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/classof-raw&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;),i=Object,c=u((function(){return arguments})())===&quot;Arguments&quot;;n.exports=s?u:function(h){var f,d,v;return h===void 0?&quot;Undefined&quot;:h===null?&quot;Null&quot;:typeof(d=(function(y,p){try{return y[p]}catch{}})(f=i(h),l))==&quot;string&quot;?d:c?u(f):(v=u(f))===&quot;Object&quot;&amp;&amp;a(f.callee)?&quot;Arguments&quot;:v}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string-tag-support&quot;:347,&quot;../internals/well-known-symbol&quot;:357}],237:[function(t,n,o){var s=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/own-keys&quot;),u=t(&quot;../internals/object-get-own-property-descriptor&quot;),l=t(&quot;../internals/object-define-property&quot;);n.exports=function(i,c,h){for(var f=a(c),d=l.f,v=u.f,y=0;y&lt;f.length;y++){var p=f[y];s(i,p)||h&amp;&amp;s(h,p)||d(i,p,v(c,p))}}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/own-keys&quot;:321}],238:[function(t,n,o){var s=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(a){var u=/./;try{&quot;/./&quot;[a](u)}catch{try{return u[s]=!1,&quot;/./&quot;[a](u)}catch{}}return!1}},{&quot;../internals/well-known-symbol&quot;:357}],239:[function(t,n,o){var s=t(&quot;../internals/fails&quot;);n.exports=!s((function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype}))},{&quot;../internals/fails&quot;:260}],240:[function(t,n,o){n.exports=function(s,a){return{value:s,done:a}}},{}],241:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=s?function(l,i,c){return a.f(l,i,u(1,c))}:function(l,i,c){return l[i]=c,l}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308}],242:[function(t,n,o){n.exports=function(s,a){return{enumerable:!(1&amp;s),configurable:!(2&amp;s),writable:!(4&amp;s),value:a}}},{}],243:[function(t,n,o){var s=t(&quot;../internals/to-property-key&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=function(l,i,c){var h=s(i);h in l?a.f(l,h,u(0,c)):l[h]=c}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-property-key&quot;:346}],244:[function(t,n,o){var s=t(&quot;../internals/make-built-in&quot;),a=t(&quot;../internals/object-define-property&quot;);n.exports=function(u,l,i){return i.get&amp;&amp;s(i.get,l,{getter:!0}),i.set&amp;&amp;s(i.set,l,{setter:!0}),a.f(u,l,i)}},{&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],245:[function(t,n,o){var s=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/make-built-in&quot;),l=t(&quot;../internals/define-global-property&quot;);n.exports=function(i,c,h,f){f||(f={});var d=f.enumerable,v=f.name!==void 0?f.name:c;if(s(h)&amp;&amp;u(h,v,f),f.global)d?i[c]=h:l(c,h);else{try{f.unsafe?i[c]&amp;&amp;(d=!0):delete i[c]}catch{}d?i[c]=h:a.f(i,c,{value:h,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/is-callable&quot;:285,&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],246:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=Object.defineProperty;n.exports=function(u,l){try{a(s,u,{value:l,configurable:!0,writable:!0})}catch{s[u]=l}return l}},{&quot;../internals/global&quot;:274}],247:[function(t,n,o){var s=t(&quot;../internals/fails&quot;);n.exports=!s((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},{&quot;../internals/fails&quot;:260}],248:[function(t,n,o){var s=typeof document==&quot;object&quot;&amp;&amp;document.all,a=s===void 0&amp;&amp;s!==void 0;n.exports={all:s,IS_HTMLDDA:a}},{}],249:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-object&quot;),u=s.document,l=a(u)&amp;&amp;a(u.createElement);n.exports=function(i){return l?u.createElement(i):{}}},{&quot;../internals/global&quot;:274,&quot;../internals/is-object&quot;:289}],250:[function(t,n,o){var s=t(&quot;../internals/engine-is-deno&quot;),a=t(&quot;../internals/engine-is-node&quot;);n.exports=!s&amp;&amp;!a&amp;&amp;typeof window==&quot;object&quot;&amp;&amp;typeof document==&quot;object&quot;},{&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-is-node&quot;:254}],251:[function(t,n,o){n.exports=typeof Deno==&quot;object&quot;&amp;&amp;Deno&amp;&amp;typeof Deno.version==&quot;object&quot;},{}],252:[function(t,n,o){var s=t(&quot;../internals/engine-user-agent&quot;);n.exports=/ipad|iphone|ipod/i.test(s)&amp;&amp;typeof Pebble&lt;&quot;u&quot;},{&quot;../internals/engine-user-agent&quot;:256}],253:[function(t,n,o){var s=t(&quot;../internals/engine-user-agent&quot;);n.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(s)},{&quot;../internals/engine-user-agent&quot;:256}],254:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/classof-raw&quot;);n.exports=a(s.process)===&quot;process&quot;},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/global&quot;:274}],255:[function(t,n,o){var s=t(&quot;../internals/engine-user-agent&quot;);n.exports=/web0s(?!.*chrome)/i.test(s)},{&quot;../internals/engine-user-agent&quot;:256}],256:[function(t,n,o){n.exports=typeof navigator&lt;&quot;u&quot;&amp;&amp;String(navigator.userAgent)||&quot;&quot;},{}],257:[function(t,n,o){var s,a,u=t(&quot;../internals/global&quot;),l=t(&quot;../internals/engine-user-agent&quot;),i=u.process,c=u.Deno,h=i&amp;&amp;i.versions||c&amp;&amp;c.version,f=h&amp;&amp;h.v8;f&amp;&amp;(a=(s=f.split(&quot;.&quot;))[0]&gt;0&amp;&amp;s[0]&lt;4?1:+(s[0]+s[1])),!a&amp;&amp;l&amp;&amp;(!(s=l.match(/Edge\/(\d+)/))||s[1]&gt;=74)&amp;&amp;(s=l.match(/Chrome\/(\d+)/))&amp;&amp;(a=+s[1]),n.exports=a},{&quot;../internals/engine-user-agent&quot;:256,&quot;../internals/global&quot;:274}],258:[function(t,n,o){n.exports=[&quot;constructor&quot;,&quot;hasOwnProperty&quot;,&quot;isPrototypeOf&quot;,&quot;propertyIsEnumerable&quot;,&quot;toLocaleString&quot;,&quot;toString&quot;,&quot;valueOf&quot;]},{}],259:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,u=t(&quot;../internals/create-non-enumerable-property&quot;),l=t(&quot;../internals/define-built-in&quot;),i=t(&quot;../internals/define-global-property&quot;),c=t(&quot;../internals/copy-constructor-properties&quot;),h=t(&quot;../internals/is-forced&quot;);n.exports=function(f,d){var v,y,p,b,x,_=f.target,E=f.global,M=f.stat;if(v=E?s:M?s[_]||i(_,{}):(s[_]||{}).prototype)for(y in d){if(b=d[y],p=f.dontCallGetSet?(x=a(v,y))&amp;&amp;x.value:v[y],!h(E?y:_+(M?&quot;.&quot;:&quot;#&quot;)+y,f.forced)&amp;&amp;p!==void 0){if(typeof b==typeof p)continue;c(b,p)}(f.sham||p&amp;&amp;p.sham)&amp;&amp;u(b,&quot;sham&quot;,!0),l(v,y,b,f)}}},{&quot;../internals/copy-constructor-properties&quot;:237,&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274,&quot;../internals/is-forced&quot;:287,&quot;../internals/object-get-own-property-descriptor&quot;:309}],260:[function(t,n,o){n.exports=function(s){try{return!!s()}catch{return!0}}},{}],261:[function(t,n,o){var s=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.apply,l=a.call;n.exports=typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.apply||(s?l.bind(u):function(){return l.apply(u,arguments)})},{&quot;../internals/function-bind-native&quot;:263}],262:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this-clause&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/function-bind-native&quot;),l=s(s.bind);n.exports=function(i,c){return a(i),c===void 0?i:u?l(i,c):function(){return i.apply(c,arguments)}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-bind-native&quot;:263,&quot;../internals/function-uncurry-this-clause&quot;:267}],263:[function(t,n,o){var s=t(&quot;../internals/fails&quot;);n.exports=!s((function(){var a=(function(){}).bind();return typeof a!=&quot;function&quot;||a.hasOwnProperty(&quot;prototype&quot;)}))},{&quot;../internals/fails&quot;:260}],264:[function(t,n,o){var s=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype.call;n.exports=s?a.bind(a):function(){return a.apply(a,arguments)}},{&quot;../internals/function-bind-native&quot;:263}],265:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/has-own-property&quot;),u=Function.prototype,l=s&amp;&amp;Object.getOwnPropertyDescriptor,i=a(u,&quot;name&quot;),c=i&amp;&amp;(function(){}).name===&quot;something&quot;,h=i&amp;&amp;(!s||s&amp;&amp;l(u,&quot;name&quot;).configurable);n.exports={EXISTS:i,PROPER:c,CONFIGURABLE:h}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/has-own-property&quot;:275}],266:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/a-callable&quot;);n.exports=function(u,l,i){try{return s(a(Object.getOwnPropertyDescriptor(u,l)[i]))}catch{}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-uncurry-this&quot;:268}],267:[function(t,n,o){var s=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/function-uncurry-this&quot;);n.exports=function(u){if(s(u)===&quot;Function&quot;)return a(u)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268}],268:[function(t,n,o){var s=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.call,l=s&amp;&amp;a.bind.bind(u,u);n.exports=s?l:function(i){return function(){return u.apply(i,arguments)}}},{&quot;../internals/function-bind-native&quot;:263}],269:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=function(l){return a(l)?l:void 0};n.exports=function(l,i){return arguments.length&lt;2?u(s[l]):s[l]&amp;&amp;s[l][i]}},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],270:[function(t,n,o){var s=t(&quot;../internals/classof&quot;),a=t(&quot;../internals/get-method&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=t(&quot;../internals/iterators&quot;),i=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;);n.exports=function(c){if(!u(c))return a(c,i)||a(c,&quot;@@iterator&quot;)||l[s(c)]}},{&quot;../internals/classof&quot;:236,&quot;../internals/get-method&quot;:273,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],271:[function(t,n,o){var s=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/an-object&quot;),l=t(&quot;../internals/try-to-string&quot;),i=t(&quot;../internals/get-iterator-method&quot;),c=TypeError;n.exports=function(h,f){var d=arguments.length&lt;2?i(h):f;if(a(d))return u(s(d,h));throw new c(l(h)+&quot; is not iterable&quot;)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/try-to-string&quot;:349}],272:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-array&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof-raw&quot;),i=t(&quot;../internals/to-string&quot;),c=s([].push);n.exports=function(h){if(u(h))return h;if(a(h)){for(var f=h.length,d=[],v=0;v&lt;f;v++){var y=h[v];typeof y==&quot;string&quot;?c(d,y):typeof y!=&quot;number&quot;&amp;&amp;l(y)!==&quot;Number&quot;&amp;&amp;l(y)!==&quot;String&quot;||c(d,i(y))}var p=d.length,b=!0;return function(x,_){if(b)return b=!1,_;if(a(this))return _;for(var E=0;E&lt;p;E++)if(d[E]===x)return _}}}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-array&quot;:284,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string&quot;:348}],273:[function(t,n,o){var s=t(&quot;../internals/a-callable&quot;),a=t(&quot;../internals/is-null-or-undefined&quot;);n.exports=function(u,l){var i=u[l];return a(i)?void 0:s(i)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/is-null-or-undefined&quot;:288}],274:[function(t,n,o){(function(s){(function(){var a=function(u){return u&amp;&amp;u.Math===Math&amp;&amp;u};n.exports=a(typeof globalThis==&quot;object&quot;&amp;&amp;globalThis)||a(typeof window==&quot;object&quot;&amp;&amp;window)||a(typeof self==&quot;object&quot;&amp;&amp;self)||a(typeof s==&quot;object&quot;&amp;&amp;s)||(function(){return this})()||this||Function(&quot;return this&quot;)()}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],275:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/to-object&quot;),u=s({}.hasOwnProperty);n.exports=Object.hasOwn||function(l,i){return u(a(l),i)}},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-object&quot;:344}],276:[function(t,n,o){n.exports={}},{}],277:[function(t,n,o){n.exports=function(s,a){try{arguments.length===1?console.error(s):console.error(s,a)}catch{}}},{}],278:[function(t,n,o){var s=t(&quot;../internals/get-built-in&quot;);n.exports=s(&quot;document&quot;,&quot;documentElement&quot;)},{&quot;../internals/get-built-in&quot;:269}],279:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/document-create-element&quot;);n.exports=!s&amp;&amp;!a((function(){return Object.defineProperty(u(&quot;div&quot;),&quot;a&quot;,{get:function(){return 7}}).a!==7}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/document-create-element&quot;:249,&quot;../internals/fails&quot;:260}],280:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/classof-raw&quot;),l=Object,i=s(&quot;&quot;.split);n.exports=a((function(){return!l(&quot;z&quot;).propertyIsEnumerable(0)}))?function(c){return u(c)===&quot;String&quot;?i(c,&quot;&quot;):l(c)}:l},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268}],281:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/shared-store&quot;),l=s(Function.toString);a(u.inspectSource)||(u.inspectSource=function(i){return l(i)}),n.exports=u.inspectSource},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-store&quot;:333}],282:[function(t,n,o){var s,a,u,l=t(&quot;../internals/weak-map-basic-detection&quot;),i=t(&quot;../internals/global&quot;),c=t(&quot;../internals/is-object&quot;),h=t(&quot;../internals/create-non-enumerable-property&quot;),f=t(&quot;../internals/has-own-property&quot;),d=t(&quot;../internals/shared-store&quot;),v=t(&quot;../internals/shared-key&quot;),y=t(&quot;../internals/hidden-keys&quot;),p=i.TypeError,b=i.WeakMap;if(l||d.state){var x=d.state||(d.state=new b);x.get=x.get,x.has=x.has,x.set=x.set,s=function(E,M){if(x.has(E))throw new p(&quot;Object already initialized&quot;);return M.facade=E,x.set(E,M),M},a=function(E){return x.get(E)||{}},u=function(E){return x.has(E)}}else{var _=v(&quot;state&quot;);y[_]=!0,s=function(E,M){if(f(E,_))throw new p(&quot;Object already initialized&quot;);return M.facade=E,h(E,_,M),M},a=function(E){return f(E,_)?E[_]:{}},u=function(E){return f(E,_)}}n.exports={set:s,get:a,has:u,enforce:function(E){return u(E)?a(E):s(E,{})},getterFor:function(E){return function(M){var D;if(!c(M)||(D=a(M)).type!==E)throw new p(&quot;Incompatible receiver, &quot;+E+&quot; required&quot;);return D}}}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/is-object&quot;:289,&quot;../internals/shared-key&quot;:332,&quot;../internals/shared-store&quot;:333,&quot;../internals/weak-map-basic-detection&quot;:354}],283:[function(t,n,o){var s=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/iterators&quot;),u=s(&quot;iterator&quot;),l=Array.prototype;n.exports=function(i){return i!==void 0&amp;&amp;(a.Array===i||l[u]===i)}},{&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],284:[function(t,n,o){var s=t(&quot;../internals/classof-raw&quot;);n.exports=Array.isArray||function(a){return s(a)===&quot;Array&quot;}},{&quot;../internals/classof-raw&quot;:235}],285:[function(t,n,o){var s=t(&quot;../internals/document-all&quot;),a=s.all;n.exports=s.IS_HTMLDDA?function(u){return typeof u==&quot;function&quot;||u===a}:function(u){return typeof u==&quot;function&quot;}},{&quot;../internals/document-all&quot;:248}],286:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof&quot;),i=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/inspect-source&quot;),h=function(){},f=[],d=i(&quot;Reflect&quot;,&quot;construct&quot;),v=/^\s*(?:class|function)\b/,y=s(v.exec),p=!v.test(h),b=function(_){if(!u(_))return!1;try{return d(h,f,_),!0}catch{return!1}},x=function(_){if(!u(_))return!1;switch(l(_)){case&quot;AsyncFunction&quot;:case&quot;GeneratorFunction&quot;:case&quot;AsyncGeneratorFunction&quot;:return!1}try{return p||!!y(v,c(_))}catch{return!0}};x.sham=!0,n.exports=!d||a((function(){var _;return b(b.call)||!b(Object)||!b((function(){_=!0}))||_}))?x:b},{&quot;../internals/classof&quot;:236,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285}],287:[function(t,n,o){var s=t(&quot;../internals/fails&quot;),a=t(&quot;../internals/is-callable&quot;),u=/#|\.prototype\./,l=function(d,v){var y=c[i(d)];return y===f||y!==h&amp;&amp;(a(v)?s(v):!!v)},i=l.normalize=function(d){return String(d).replace(u,&quot;.&quot;).toLowerCase()},c=l.data={},h=l.NATIVE=&quot;N&quot;,f=l.POLYFILL=&quot;P&quot;;n.exports=l},{&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285}],288:[function(t,n,o){n.exports=function(s){return s==null}},{}],289:[function(t,n,o){var s=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/document-all&quot;),u=a.all;n.exports=a.IS_HTMLDDA?function(l){return typeof l==&quot;object&quot;?l!==null:s(l)||l===u}:function(l){return typeof l==&quot;object&quot;?l!==null:s(l)}},{&quot;../internals/document-all&quot;:248,&quot;../internals/is-callable&quot;:285}],290:[function(t,n,o){n.exports=!1},{}],291:[function(t,n,o){var s=t(&quot;../internals/is-object&quot;),a=t(&quot;../internals/classof-raw&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(l){var i;return s(l)&amp;&amp;((i=l[u])!==void 0?!!i:a(l)===&quot;RegExp&quot;)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],292:[function(t,n,o){var s=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/object-is-prototype-of&quot;),l=t(&quot;../internals/use-symbol-as-uid&quot;),i=Object;n.exports=l?function(c){return typeof c==&quot;symbol&quot;}:function(c){var h=s(&quot;Symbol&quot;);return a(h)&amp;&amp;u(h.prototype,i(c))}},{&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/use-symbol-as-uid&quot;:351}],293:[function(t,n,o){var s=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/an-object&quot;),l=t(&quot;../internals/try-to-string&quot;),i=t(&quot;../internals/is-array-iterator-method&quot;),c=t(&quot;../internals/length-of-array-like&quot;),h=t(&quot;../internals/object-is-prototype-of&quot;),f=t(&quot;../internals/get-iterator&quot;),d=t(&quot;../internals/get-iterator-method&quot;),v=t(&quot;../internals/iterator-close&quot;),y=TypeError,p=function(x,_){this.stopped=x,this.result=_},b=p.prototype;n.exports=function(x,_,E){var M,D,W,L,V,H,K,z=E&amp;&amp;E.that,O=!(!E||!E.AS_ENTRIES),I=!(!E||!E.IS_RECORD),C=!(!E||!E.IS_ITERATOR),j=!(!E||!E.INTERRUPTED),k=s(_,z),S=function(T){return M&amp;&amp;v(M,&quot;normal&quot;,T),new p(!0,T)},N=function(T){return O?(u(T),j?k(T[0],T[1],S):k(T[0],T[1])):j?k(T,S):k(T)};if(I)M=x.iterator;else if(C)M=x;else{if(!(D=d(x)))throw new y(l(x)+&quot; is not iterable&quot;);if(i(D)){for(W=0,L=c(x);L&gt;W;W++)if((V=N(x[W]))&amp;&amp;h(b,V))return V;return new p(!1)}M=f(x,D)}for(H=I?x.next:M.next;!(K=a(H,M)).done;){try{V=N(K.value)}catch(T){v(M,&quot;throw&quot;,T)}if(typeof V==&quot;object&quot;&amp;&amp;V&amp;&amp;h(b,V))return V}return new p(!1)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator&quot;:271,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/is-array-iterator-method&quot;:283,&quot;../internals/iterator-close&quot;:294,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/try-to-string&quot;:349}],294:[function(t,n,o){var s=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/get-method&quot;);n.exports=function(l,i,c){var h,f;a(l);try{if(!(h=u(l,&quot;return&quot;))){if(i===&quot;throw&quot;)throw c;return c}h=s(h,l)}catch(d){f=!0,h=d}if(i===&quot;throw&quot;)throw c;if(f)throw h;return a(h),c}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273}],295:[function(t,n,o){var s=t(&quot;../internals/iterators-core&quot;).IteratorPrototype,a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/create-property-descriptor&quot;),l=t(&quot;../internals/set-to-string-tag&quot;),i=t(&quot;../internals/iterators&quot;),c=function(){return this};n.exports=function(h,f,d,v){var y=f+&quot; Iterator&quot;;return h.prototype=a(s,{next:u(+!v,d)}),l(h,y,!1,!0),i[y]=c,h}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-create&quot;:306,&quot;../internals/set-to-string-tag&quot;:331}],296:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/function-name&quot;),i=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/iterator-create-constructor&quot;),h=t(&quot;../internals/object-get-prototype-of&quot;),f=t(&quot;../internals/object-set-prototype-of&quot;),d=t(&quot;../internals/set-to-string-tag&quot;),v=t(&quot;../internals/create-non-enumerable-property&quot;),y=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/well-known-symbol&quot;),b=t(&quot;../internals/iterators&quot;),x=t(&quot;../internals/iterators-core&quot;),_=l.PROPER,E=l.CONFIGURABLE,M=x.IteratorPrototype,D=x.BUGGY_SAFARI_ITERATORS,W=p(&quot;iterator&quot;),L=function(){return this};n.exports=function(V,H,K,z,O,I,C){c(K,H,z);var j,k,S,N=function(U){if(U===O&amp;&amp;Z)return Z;if(!D&amp;&amp;U&amp;&amp;U in B)return B[U];switch(U){case&quot;keys&quot;:case&quot;values&quot;:case&quot;entries&quot;:return function(){return new K(this,U)}}return function(){return new K(this)}},T=H+&quot; Iterator&quot;,R=!1,B=V.prototype,Y=B[W]||B[&quot;@@iterator&quot;]||O&amp;&amp;B[O],Z=!D&amp;&amp;Y||N(O),ne=H===&quot;Array&quot;&amp;&amp;B.entries||Y;if(ne&amp;&amp;(j=h(ne.call(new V)))!==Object.prototype&amp;&amp;j.next&amp;&amp;(u||h(j)===M||(f?f(j,M):i(j[W])||y(j,W,L)),d(j,T,!0,!0),u&amp;&amp;(b[T]=L)),_&amp;&amp;O===&quot;values&quot;&amp;&amp;Y&amp;&amp;Y.name!==&quot;values&quot;&amp;&amp;(!u&amp;&amp;E?v(B,&quot;name&quot;,&quot;values&quot;):(R=!0,Z=function(){return a(Y,this)})),O)if(k={values:N(&quot;values&quot;),keys:I?Z:N(&quot;keys&quot;),entries:N(&quot;entries&quot;)},C)for(S in k)(D||R||!(S in B))&amp;&amp;y(B,S,k[S]);else s({target:H,proto:!0,forced:D||R},k);return u&amp;&amp;!C||B[W]===Z||y(B,W,Z,{name:O}),b[H]=Z,k}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/function-name&quot;:265,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-create-constructor&quot;:295,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/well-known-symbol&quot;:357}],297:[function(t,n,o){var s,a,u,l=t(&quot;../internals/fails&quot;),i=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/is-object&quot;),h=t(&quot;../internals/object-create&quot;),f=t(&quot;../internals/object-get-prototype-of&quot;),d=t(&quot;../internals/define-built-in&quot;),v=t(&quot;../internals/well-known-symbol&quot;),y=t(&quot;../internals/is-pure&quot;),p=v(&quot;iterator&quot;),b=!1;[].keys&amp;&amp;(&quot;next&quot;in(u=[].keys())?(a=f(f(u)))!==Object.prototype&amp;&amp;(s=a):b=!0),!c(s)||l((function(){var x={};return s[p].call(x)!==x}))?s={}:y&amp;&amp;(s=h(s)),i(s[p])||d(s,p,(function(){return this})),n.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:b}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/well-known-symbol&quot;:357}],298:[function(t,n,o){arguments[4][276][0].apply(o,arguments)},{dup:276}],299:[function(t,n,o){var s=t(&quot;../internals/to-length&quot;);n.exports=function(a){return s(a.length)}},{&quot;../internals/to-length&quot;:343}],300:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/has-own-property&quot;),i=t(&quot;../internals/descriptors&quot;),c=t(&quot;../internals/function-name&quot;).CONFIGURABLE,h=t(&quot;../internals/inspect-source&quot;),f=t(&quot;../internals/internal-state&quot;),d=f.enforce,v=f.get,y=String,p=Object.defineProperty,b=s(&quot;&quot;.slice),x=s(&quot;&quot;.replace),_=s([].join),E=i&amp;&amp;!a((function(){return p((function(){}),&quot;length&quot;,{value:8}).length!==8})),M=String(String).split(&quot;String&quot;),D=n.exports=function(W,L,V){b(y(L),0,7)===&quot;Symbol(&quot;&amp;&amp;(L=&quot;[&quot;+x(y(L),/^Symbol\(([^)]*)\)/,&quot;$1&quot;)+&quot;]&quot;),V&amp;&amp;V.getter&amp;&amp;(L=&quot;get &quot;+L),V&amp;&amp;V.setter&amp;&amp;(L=&quot;set &quot;+L),(!l(W,&quot;name&quot;)||c&amp;&amp;W.name!==L)&amp;&amp;(i?p(W,&quot;name&quot;,{value:L,configurable:!0}):W.name=L),E&amp;&amp;V&amp;&amp;l(V,&quot;arity&quot;)&amp;&amp;W.length!==V.arity&amp;&amp;p(W,&quot;length&quot;,{value:V.arity});try{V&amp;&amp;l(V,&quot;constructor&quot;)&amp;&amp;V.constructor?i&amp;&amp;p(W,&quot;prototype&quot;,{writable:!1}):W.prototype&amp;&amp;(W.prototype=void 0)}catch{}var H=d(W);return l(H,&quot;source&quot;)||(H.source=_(M,typeof L==&quot;string&quot;?L:&quot;&quot;)),W};Function.prototype.toString=D((function(){return u(this)&amp;&amp;v(this).source||h(this)}),&quot;toString&quot;)},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-name&quot;:265,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/inspect-source&quot;:281,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285}],301:[function(t,n,o){var s=Math.ceil,a=Math.floor;n.exports=Math.trunc||function(u){var l=+u;return(l&gt;0?a:s)(l)}},{}],302:[function(t,n,o){var s,a,u,l,i,c=t(&quot;../internals/global&quot;),h=t(&quot;../internals/function-bind-context&quot;),f=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,d=t(&quot;../internals/task&quot;).set,v=t(&quot;../internals/queue&quot;),y=t(&quot;../internals/engine-is-ios&quot;),p=t(&quot;../internals/engine-is-ios-pebble&quot;),b=t(&quot;../internals/engine-is-webos-webkit&quot;),x=t(&quot;../internals/engine-is-node&quot;),_=c.MutationObserver||c.WebKitMutationObserver,E=c.document,M=c.process,D=c.Promise,W=f(c,&quot;queueMicrotask&quot;),L=W&amp;&amp;W.value;if(!L){var V=new v,H=function(){var K,z;for(x&amp;&amp;(K=M.domain)&amp;&amp;K.exit();z=V.get();)try{z()}catch(O){throw V.head&amp;&amp;s(),O}K&amp;&amp;K.enter()};y||x||b||!_||!E?!p&amp;&amp;D&amp;&amp;D.resolve?((l=D.resolve(void 0)).constructor=D,i=h(l.then,l),s=function(){i(H)}):x?s=function(){M.nextTick(H)}:(d=h(d,c),s=function(){d(H)}):(a=!0,u=E.createTextNode(&quot;&quot;),new _(H).observe(u,{characterData:!0}),s=function(){u.data=a=!a}),L=function(K){V.head||s(),V.add(K)}}n.exports=L},{&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-ios-pebble&quot;:252,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/engine-is-webos-webkit&quot;:255,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/queue&quot;:328,&quot;../internals/task&quot;:339}],303:[function(t,n,o){var s=t(&quot;../internals/a-callable&quot;),a=TypeError,u=function(l){var i,c;this.promise=new l((function(h,f){if(i!==void 0||c!==void 0)throw new a(&quot;Bad Promise constructor&quot;);i=h,c=f})),this.resolve=s(i),this.reject=s(c)};n.exports.f=function(l){return new u(l)}},{&quot;../internals/a-callable&quot;:222}],304:[function(t,n,o){var s=t(&quot;../internals/is-regexp&quot;),a=TypeError;n.exports=function(u){if(s(u))throw new a(&quot;The method doesn&#039;t accept regular expressions&quot;);return u}},{&quot;../internals/is-regexp&quot;:291}],305:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/fails&quot;),i=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/object-get-own-property-symbols&quot;),h=t(&quot;../internals/object-property-is-enumerable&quot;),f=t(&quot;../internals/to-object&quot;),d=t(&quot;../internals/indexed-object&quot;),v=Object.assign,y=Object.defineProperty,p=a([].concat);n.exports=!v||l((function(){if(s&amp;&amp;v({b:1},v(y({},&quot;a&quot;,{enumerable:!0,get:function(){y(this,&quot;b&quot;,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},x={},_=Symbol(&quot;assign detection&quot;);return b[_]=7,&quot;abcdefghijklmnopqrst&quot;.split(&quot;&quot;).forEach((function(E){x[E]=E})),v({},b)[_]!==7||i(v({},x)).join(&quot;&quot;)!==&quot;abcdefghijklmnopqrst&quot;}))?function(b,x){for(var _=f(b),E=arguments.length,M=1,D=c.f,W=h.f;E&gt;M;)for(var L,V=d(arguments[M++]),H=D?p(i(V),D(V)):i(V),K=H.length,z=0;K&gt;z;)L=H[z++],s&amp;&amp;!u(W,V,L)||(_[L]=V[L]);return _}:v},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-object&quot;:344}],306:[function(t,n,o){var s,a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/object-define-properties&quot;),l=t(&quot;../internals/enum-bug-keys&quot;),i=t(&quot;../internals/hidden-keys&quot;),c=t(&quot;../internals/html&quot;),h=t(&quot;../internals/document-create-element&quot;),f=t(&quot;../internals/shared-key&quot;),d=f(&quot;IE_PROTO&quot;),v=function(){},y=function(x){return&quot;&lt;script&gt;&quot;+x+&quot;&lt;\/script&gt;&quot;},p=function(x){x.write(y(&quot;&quot;)),x.close();var _=x.parentWindow.Object;return x=null,_},b=function(){try{s=new ActiveXObject(&quot;htmlfile&quot;)}catch{}var x,_;b=typeof document&lt;&quot;u&quot;?document.domain&amp;&amp;s?p(s):((_=h(&quot;iframe&quot;)).style.display=&quot;none&quot;,c.appendChild(_),_.src=&quot;javascript:&quot;,(x=_.contentWindow.document).open(),x.write(y(&quot;document.F=Object&quot;)),x.close(),x.F):p(s);for(var E=l.length;E--;)delete b.prototype[l[E]];return b()};i[d]=!0,n.exports=Object.create||function(x,_){var E;return x!==null?(v.prototype=a(x),E=new v,v.prototype=null,E[d]=x):E=b(),_===void 0?E:u.f(E,_)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/document-create-element&quot;:249,&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/html&quot;:278,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/shared-key&quot;:332}],307:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/v8-prototype-define-bug&quot;),u=t(&quot;../internals/object-define-property&quot;),l=t(&quot;../internals/an-object&quot;),i=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/object-keys&quot;);o.f=s&amp;&amp;!a?Object.defineProperties:function(h,f){l(h);for(var d,v=i(f),y=c(f),p=y.length,b=0;p&gt;b;)u.f(h,d=y[b++],v[d]);return h}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/v8-prototype-define-bug&quot;:352}],308:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/ie8-dom-define&quot;),u=t(&quot;../internals/v8-prototype-define-bug&quot;),l=t(&quot;../internals/an-object&quot;),i=t(&quot;../internals/to-property-key&quot;),c=TypeError,h=Object.defineProperty,f=Object.getOwnPropertyDescriptor;o.f=s?u?function(d,v,y){if(l(d),v=i(v),l(y),typeof d==&quot;function&quot;&amp;&amp;v===&quot;prototype&quot;&amp;&amp;&quot;value&quot;in y&amp;&amp;&quot;writable&quot;in y&amp;&amp;!y.writable){var p=f(d,v);p&amp;&amp;p.writable&amp;&amp;(d[v]=y.value,y={configurable:&quot;configurable&quot;in y?y.configurable:p.configurable,enumerable:&quot;enumerable&quot;in y?y.enumerable:p.enumerable,writable:!1})}return h(d,v,y)}:h:function(d,v,y){if(l(d),v=i(v),l(y),a)try{return h(d,v,y)}catch{}if(&quot;get&quot;in y||&quot;set&quot;in y)throw new c(&quot;Accessors not supported&quot;);return&quot;value&quot;in y&amp;&amp;(d[v]=y.value),d}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/to-property-key&quot;:346,&quot;../internals/v8-prototype-define-bug&quot;:352}],309:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/object-property-is-enumerable&quot;),l=t(&quot;../internals/create-property-descriptor&quot;),i=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/to-property-key&quot;),h=t(&quot;../internals/has-own-property&quot;),f=t(&quot;../internals/ie8-dom-define&quot;),d=Object.getOwnPropertyDescriptor;o.f=s?d:function(v,y){if(v=i(v),y=c(y),f)try{return d(v,y)}catch{}if(h(v,y))return l(!a(u.f,v,y),v[y])}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/function-call&quot;:264,&quot;../internals/has-own-property&quot;:275,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346}],310:[function(t,n,o){var s=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/to-indexed-object&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;).f,l=t(&quot;../internals/array-slice-simple&quot;),i=typeof window==&quot;object&quot;&amp;&amp;window&amp;&amp;Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(c){return i&amp;&amp;s(c)===&quot;Window&quot;?(function(h){try{return u(h)}catch{return l(i)}})(c):u(a(c))}},{&quot;../internals/array-slice-simple&quot;:230,&quot;../internals/classof-raw&quot;:235,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/to-indexed-object&quot;:341}],311:[function(t,n,o){var s=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;).concat(&quot;length&quot;,&quot;prototype&quot;);o.f=Object.getOwnPropertyNames||function(u){return s(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],312:[function(t,n,o){o.f=Object.getOwnPropertySymbols},{}],313:[function(t,n,o){var s=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/to-object&quot;),l=t(&quot;../internals/shared-key&quot;),i=t(&quot;../internals/correct-prototype-getter&quot;),c=l(&quot;IE_PROTO&quot;),h=Object,f=h.prototype;n.exports=i?h.getPrototypeOf:function(d){var v=u(d);if(s(v,c))return v[c];var y=v.constructor;return a(y)&amp;&amp;v instanceof y?y.prototype:v instanceof h?f:null}},{&quot;../internals/correct-prototype-getter&quot;:239,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-key&quot;:332,&quot;../internals/to-object&quot;:344}],314:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;);n.exports=s({}.isPrototypeOf)},{&quot;../internals/function-uncurry-this&quot;:268}],315:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/to-indexed-object&quot;),l=t(&quot;../internals/array-includes&quot;).indexOf,i=t(&quot;../internals/hidden-keys&quot;),c=s([].push);n.exports=function(h,f){var d,v=u(h),y=0,p=[];for(d in v)!a(i,d)&amp;&amp;a(v,d)&amp;&amp;c(p,d);for(;f.length&gt;y;)a(v,d=f[y++])&amp;&amp;(~l(p,d)||c(p,d));return p}},{&quot;../internals/array-includes&quot;:228,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/to-indexed-object&quot;:341}],316:[function(t,n,o){var s=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;);n.exports=Object.keys||function(u){return s(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],317:[function(t,n,o){var s={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&amp;&amp;!s.call({1:2},1);o.f=u?function(l){var i=a(this,l);return!!i&amp;&amp;i.enumerable}:s},{}],318:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this-accessor&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/a-possible-prototype&quot;);n.exports=Object.setPrototypeOf||(&quot;__proto__&quot;in{}?(function(){var l,i=!1,c={};try{(l=s(Object.prototype,&quot;__proto__&quot;,&quot;set&quot;))(c,[]),i=c instanceof Array}catch{}return function(h,f){return a(h),u(f),i?l(h,f):h.__proto__=f,h}})():void 0)},{&quot;../internals/a-possible-prototype&quot;:224,&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this-accessor&quot;:266}],319:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/function-uncurry-this&quot;),l=t(&quot;../internals/object-get-prototype-of&quot;),i=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/to-indexed-object&quot;),h=u(t(&quot;../internals/object-property-is-enumerable&quot;).f),f=u([].push),d=s&amp;&amp;a((function(){var y=Object.create(null);return y[2]=2,!h(y,2)})),v=function(y){return function(p){for(var b,x=c(p),_=i(x),E=d&amp;&amp;l(x)===null,M=_.length,D=0,W=[];M&gt;D;)b=_[D++],s&amp;&amp;!(E?b in x:h(x,b))||f(W,y?[b,x[b]]:x[b]);return W}};n.exports={entries:v(!0),values:v(!1)}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341}],320:[function(t,n,o){var s=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/is-object&quot;),l=TypeError;n.exports=function(i,c){var h,f;if(c===&quot;string&quot;&amp;&amp;a(h=i.toString)&amp;&amp;!u(f=s(h,i))||a(h=i.valueOf)&amp;&amp;!u(f=s(h,i))||c!==&quot;string&quot;&amp;&amp;a(h=i.toString)&amp;&amp;!u(f=s(h,i)))return f;throw new l(&quot;Can&#039;t convert object to primitive value&quot;)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289}],321:[function(t,n,o){var s=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;),l=t(&quot;../internals/object-get-own-property-symbols&quot;),i=t(&quot;../internals/an-object&quot;),c=a([].concat);n.exports=s(&quot;Reflect&quot;,&quot;ownKeys&quot;)||function(h){var f=u.f(i(h)),d=l.f;return d?c(f,d(h)):f}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-symbols&quot;:312}],322:[function(t,n,o){var s=t(&quot;../internals/global&quot;);n.exports=s},{&quot;../internals/global&quot;:274}],323:[function(t,n,o){n.exports=function(s){try{return{error:!1,value:s()}}catch(a){return{error:!0,value:a}}}},{}],324:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/promise-native-constructor&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/is-forced&quot;),i=t(&quot;../internals/inspect-source&quot;),c=t(&quot;../internals/well-known-symbol&quot;),h=t(&quot;../internals/engine-is-browser&quot;),f=t(&quot;../internals/engine-is-deno&quot;),d=t(&quot;../internals/is-pure&quot;),v=t(&quot;../internals/engine-v8-version&quot;),y=a&amp;&amp;a.prototype,p=c(&quot;species&quot;),b=!1,x=u(s.PromiseRejectionEvent),_=l(&quot;Promise&quot;,(function(){var E=i(a),M=E!==String(a);if(!M&amp;&amp;v===66||d&amp;&amp;(!y.catch||!y.finally))return!0;if(!v||v&lt;51||!/native code/.test(E)){var D=new a((function(L){L(1)})),W=function(L){L((function(){}),(function(){}))};if((D.constructor={})[p]=W,!(b=D.then((function(){}))instanceof W))return!0}return!M&amp;&amp;(h||f)&amp;&amp;!x}));n.exports={CONSTRUCTOR:_,REJECTION_EVENT:x,SUBCLASSING:b}},{&quot;../internals/engine-is-browser&quot;:250,&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/global&quot;:274,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-forced&quot;:287,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/well-known-symbol&quot;:357}],325:[function(t,n,o){var s=t(&quot;../internals/global&quot;);n.exports=s.Promise},{&quot;../internals/global&quot;:274}],326:[function(t,n,o){var s=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/new-promise-capability&quot;);n.exports=function(l,i){if(s(l),a(i)&amp;&amp;i.constructor===l)return i;var c=u.f(l);return(0,c.resolve)(i),c.promise}},{&quot;../internals/an-object&quot;:227,&quot;../internals/is-object&quot;:289,&quot;../internals/new-promise-capability&quot;:303}],327:[function(t,n,o){var s=t(&quot;../internals/promise-native-constructor&quot;),a=t(&quot;../internals/check-correctness-of-iteration&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR;n.exports=u||!a((function(l){s.all(l).then(void 0,(function(){}))}))},{&quot;../internals/check-correctness-of-iteration&quot;:234,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],328:[function(t,n,o){var s=function(){this.head=null,this.tail=null};s.prototype={add:function(a){var u={item:a,next:null},l=this.tail;l?l.next=u:this.head=u,this.tail=u},get:function(){var a=this.head;if(a)return(this.head=a.next)===null&amp;&amp;(this.tail=null),a.item}},n.exports=s},{}],329:[function(t,n,o){var s=t(&quot;../internals/is-null-or-undefined&quot;),a=TypeError;n.exports=function(u){if(s(u))throw new a(&quot;Can&#039;t call method on &quot;+u);return u}},{&quot;../internals/is-null-or-undefined&quot;:288}],330:[function(t,n,o){var s=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/define-built-in-accessor&quot;),u=t(&quot;../internals/well-known-symbol&quot;),l=t(&quot;../internals/descriptors&quot;),i=u(&quot;species&quot;);n.exports=function(c){var h=s(c);l&amp;&amp;h&amp;&amp;!h[i]&amp;&amp;a(h,i,{configurable:!0,get:function(){return this}})}},{&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],331:[function(t,n,o){var s=t(&quot;../internals/object-define-property&quot;).f,a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;);n.exports=function(l,i,c){l&amp;&amp;!c&amp;&amp;(l=l.prototype),l&amp;&amp;!a(l,u)&amp;&amp;s(l,u,{configurable:!0,value:i})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],332:[function(t,n,o){var s=t(&quot;../internals/shared&quot;),a=t(&quot;../internals/uid&quot;),u=s(&quot;keys&quot;);n.exports=function(l){return u[l]||(u[l]=a(l))}},{&quot;../internals/shared&quot;:334,&quot;../internals/uid&quot;:350}],333:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/define-global-property&quot;),u=s[&quot;__core-js_shared__&quot;]||a(&quot;__core-js_shared__&quot;,{});n.exports=u},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274}],334:[function(t,n,o){var s=t(&quot;../internals/is-pure&quot;),a=t(&quot;../internals/shared-store&quot;);(n.exports=function(u,l){return a[u]||(a[u]=l!==void 0?l:{})})(&quot;versions&quot;,[]).push({version:&quot;3.33.0&quot;,mode:s?&quot;pure&quot;:&quot;global&quot;,copyright:&quot;© 2014-2023 Denis Pushkarev (zloirock.ru)&quot;,license:&quot;https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE&quot;,source:&quot;https://github.com/zloirock/core-js&quot;})},{&quot;../internals/is-pure&quot;:290,&quot;../internals/shared-store&quot;:333}],335:[function(t,n,o){var s=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/a-constructor&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;);n.exports=function(i,c){var h,f=s(i).constructor;return f===void 0||u(h=s(f)[l])?c:a(h)}},{&quot;../internals/a-constructor&quot;:223,&quot;../internals/an-object&quot;:227,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/well-known-symbol&quot;:357}],336:[function(t,n,o){var s=t(&quot;../internals/engine-v8-version&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/global&quot;).String;n.exports=!!Object.getOwnPropertySymbols&amp;&amp;!a((function(){var l=Symbol(&quot;symbol detection&quot;);return!u(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&amp;&amp;s&amp;&amp;s&lt;41}))},{&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/fails&quot;:260,&quot;../internals/global&quot;:274}],337:[function(t,n,o){var s=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/well-known-symbol&quot;),l=t(&quot;../internals/define-built-in&quot;);n.exports=function(){var i=a(&quot;Symbol&quot;),c=i&amp;&amp;i.prototype,h=c&amp;&amp;c.valueOf,f=u(&quot;toPrimitive&quot;);c&amp;&amp;!c[f]&amp;&amp;l(c,f,(function(d){return s(h,this)}),{arity:1})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/function-call&quot;:264,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],338:[function(t,n,o){var s=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=s&amp;&amp;!!Symbol.for&amp;&amp;!!Symbol.keyFor},{&quot;../internals/symbol-constructor-detection&quot;:336}],339:[function(t,n,o){var s,a,u,l,i=t(&quot;../internals/global&quot;),c=t(&quot;../internals/function-apply&quot;),h=t(&quot;../internals/function-bind-context&quot;),f=t(&quot;../internals/is-callable&quot;),d=t(&quot;../internals/has-own-property&quot;),v=t(&quot;../internals/fails&quot;),y=t(&quot;../internals/html&quot;),p=t(&quot;../internals/array-slice&quot;),b=t(&quot;../internals/document-create-element&quot;),x=t(&quot;../internals/validate-arguments-length&quot;),_=t(&quot;../internals/engine-is-ios&quot;),E=t(&quot;../internals/engine-is-node&quot;),M=i.setImmediate,D=i.clearImmediate,W=i.process,L=i.Dispatch,V=i.Function,H=i.MessageChannel,K=i.String,z=0,O={};v((function(){s=i.location}));var I=function(S){if(d(O,S)){var N=O[S];delete O[S],N()}},C=function(S){return function(){I(S)}},j=function(S){I(S.data)},k=function(S){i.postMessage(K(S),s.protocol+&quot;//&quot;+s.host)};M&amp;&amp;D||(M=function(S){x(arguments.length,1);var N=f(S)?S:V(S),T=p(arguments,1);return O[++z]=function(){c(N,void 0,T)},a(z),z},D=function(S){delete O[S]},E?a=function(S){W.nextTick(C(S))}:L&amp;&amp;L.now?a=function(S){L.now(C(S))}:H&amp;&amp;!_?(l=(u=new H).port2,u.port1.onmessage=j,a=h(l.postMessage,l)):i.addEventListener&amp;&amp;f(i.postMessage)&amp;&amp;!i.importScripts&amp;&amp;s&amp;&amp;s.protocol!==&quot;file:&quot;&amp;&amp;!v(k)?(a=k,i.addEventListener(&quot;message&quot;,j,!1)):a=&quot;onreadystatechange&quot;in b(&quot;script&quot;)?function(S){y.appendChild(b(&quot;script&quot;)).onreadystatechange=function(){y.removeChild(this),I(S)}}:function(S){setTimeout(C(S),0)}),n.exports={set:M,clear:D}},{&quot;../internals/array-slice&quot;:231,&quot;../internals/document-create-element&quot;:249,&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/html&quot;:278,&quot;../internals/is-callable&quot;:285,&quot;../internals/validate-arguments-length&quot;:353}],340:[function(t,n,o){var s=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.max,u=Math.min;n.exports=function(l,i){var c=s(l);return c&lt;0?a(c+i,0):u(c,i)}},{&quot;../internals/to-integer-or-infinity&quot;:342}],341:[function(t,n,o){var s=t(&quot;../internals/indexed-object&quot;),a=t(&quot;../internals/require-object-coercible&quot;);n.exports=function(u){return s(a(u))}},{&quot;../internals/indexed-object&quot;:280,&quot;../internals/require-object-coercible&quot;:329}],342:[function(t,n,o){var s=t(&quot;../internals/math-trunc&quot;);n.exports=function(a){var u=+a;return u!=u||u===0?0:s(u)}},{&quot;../internals/math-trunc&quot;:301}],343:[function(t,n,o){var s=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.min;n.exports=function(u){return u&gt;0?a(s(u),9007199254740991):0}},{&quot;../internals/to-integer-or-infinity&quot;:342}],344:[function(t,n,o){var s=t(&quot;../internals/require-object-coercible&quot;),a=Object;n.exports=function(u){return a(s(u))}},{&quot;../internals/require-object-coercible&quot;:329}],345:[function(t,n,o){var s=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/get-method&quot;),i=t(&quot;../internals/ordinary-to-primitive&quot;),c=t(&quot;../internals/well-known-symbol&quot;),h=TypeError,f=c(&quot;toPrimitive&quot;);n.exports=function(d,v){if(!a(d)||u(d))return d;var y,p=l(d,f);if(p){if(v===void 0&amp;&amp;(v=&quot;default&quot;),y=s(p,d,v),!a(y)||u(y))return y;throw new h(&quot;Can&#039;t convert object to primitive value&quot;)}return v===void 0&amp;&amp;(v=&quot;number&quot;),i(d,v)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273,&quot;../internals/is-object&quot;:289,&quot;../internals/is-symbol&quot;:292,&quot;../internals/ordinary-to-primitive&quot;:320,&quot;../internals/well-known-symbol&quot;:357}],346:[function(t,n,o){var s=t(&quot;../internals/to-primitive&quot;),a=t(&quot;../internals/is-symbol&quot;);n.exports=function(u){var l=s(u,&quot;string&quot;);return a(l)?l:l+&quot;&quot;}},{&quot;../internals/is-symbol&quot;:292,&quot;../internals/to-primitive&quot;:345}],347:[function(t,n,o){var s={};s[t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;)]=&quot;z&quot;,n.exports=String(s)===&quot;[object z]&quot;},{&quot;../internals/well-known-symbol&quot;:357}],348:[function(t,n,o){var s=t(&quot;../internals/classof&quot;),a=String;n.exports=function(u){if(s(u)===&quot;Symbol&quot;)throw new TypeError(&quot;Cannot convert a Symbol value to a string&quot;);return a(u)}},{&quot;../internals/classof&quot;:236}],349:[function(t,n,o){var s=String;n.exports=function(a){try{return s(a)}catch{return&quot;Object&quot;}}},{}],350:[function(t,n,o){var s=t(&quot;../internals/function-uncurry-this&quot;),a=0,u=Math.random(),l=s(1 .toString);n.exports=function(i){return&quot;Symbol(&quot;+(i===void 0?&quot;&quot;:i)+&quot;)_&quot;+l(++a+u,36)}},{&quot;../internals/function-uncurry-this&quot;:268}],351:[function(t,n,o){var s=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=s&amp;&amp;!Symbol.sham&amp;&amp;typeof Symbol.iterator==&quot;symbol&quot;},{&quot;../internals/symbol-constructor-detection&quot;:336}],352:[function(t,n,o){var s=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;);n.exports=s&amp;&amp;a((function(){return Object.defineProperty((function(){}),&quot;prototype&quot;,{value:42,writable:!1}).prototype!==42}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260}],353:[function(t,n,o){var s=TypeError;n.exports=function(a,u){if(a&lt;u)throw new s(&quot;Not enough arguments&quot;);return a}},{}],354:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=s.WeakMap;n.exports=a(u)&amp;&amp;/native code/.test(String(u))},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],355:[function(t,n,o){var s=t(&quot;../internals/path&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol-wrapped&quot;),l=t(&quot;../internals/object-define-property&quot;).f;n.exports=function(i){var c=s.Symbol||(s.Symbol={});a(c,i)||l(c,i,{value:u.f(i)})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/path&quot;:322,&quot;../internals/well-known-symbol-wrapped&quot;:356}],356:[function(t,n,o){var s=t(&quot;../internals/well-known-symbol&quot;);o.f=s},{&quot;../internals/well-known-symbol&quot;:357}],357:[function(t,n,o){var s=t(&quot;../internals/global&quot;),a=t(&quot;../internals/shared&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/uid&quot;),i=t(&quot;../internals/symbol-constructor-detection&quot;),c=t(&quot;../internals/use-symbol-as-uid&quot;),h=s.Symbol,f=a(&quot;wks&quot;),d=c?h.for||h:h&amp;&amp;h.withoutSetter||l;n.exports=function(v){return u(f,v)||(f[v]=i&amp;&amp;u(h,v)?h[v]:d(&quot;Symbol.&quot;+v)),f[v]}},{&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/uid&quot;:350,&quot;../internals/use-symbol-as-uid&quot;:351}],358:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).findIndex,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;findIndex&quot;in[]&amp;&amp;Array(1).findIndex((function(){l=!1})),s({target:&quot;Array&quot;,proto:!0,forced:l},{findIndex:function(i){return a(this,i,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;findIndex&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],359:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).find,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;find&quot;in[]&amp;&amp;Array(1).find((function(){l=!1})),s({target:&quot;Array&quot;,proto:!0,forced:l},{find:function(i){return a(this,i,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;find&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],360:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-includes&quot;).includes,u=t(&quot;../internals/fails&quot;),l=t(&quot;../internals/add-to-unscopables&quot;);s({target:&quot;Array&quot;,proto:!0,forced:u((function(){return!Array(1).includes()}))},{includes:function(i){return a(this,i,arguments.length&gt;1?arguments[1]:void 0)}}),l(&quot;includes&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-includes&quot;:228,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260}],361:[function(t,n,o){var s=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/add-to-unscopables&quot;),u=t(&quot;../internals/iterators&quot;),l=t(&quot;../internals/internal-state&quot;),i=t(&quot;../internals/object-define-property&quot;).f,c=t(&quot;../internals/iterator-define&quot;),h=t(&quot;../internals/create-iter-result-object&quot;),f=t(&quot;../internals/is-pure&quot;),d=t(&quot;../internals/descriptors&quot;),v=l.set,y=l.getterFor(&quot;Array Iterator&quot;);n.exports=c(Array,&quot;Array&quot;,(function(b,x){v(this,{type:&quot;Array Iterator&quot;,target:s(b),index:0,kind:x})}),(function(){var b=y(this),x=b.target,_=b.kind,E=b.index++;if(!x||E&gt;=x.length)return b.target=void 0,h(void 0,!0);switch(_){case&quot;keys&quot;:return h(E,!1);case&quot;values&quot;:return h(x[E],!1)}return h([E,x[E]],!1)}),&quot;values&quot;);var p=u.Arguments=u.Array;if(a(&quot;keys&quot;),a(&quot;values&quot;),a(&quot;entries&quot;),!f&amp;&amp;d&amp;&amp;p.name!==&quot;values&quot;)try{i(p,&quot;name&quot;,{value:&quot;values&quot;})}catch{}},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/create-iter-result-object&quot;:240,&quot;../internals/descriptors&quot;:247,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-define&quot;:296,&quot;../internals/iterators&quot;:298,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-indexed-object&quot;:341}],362:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/function-apply&quot;),l=t(&quot;../internals/function-call&quot;),i=t(&quot;../internals/function-uncurry-this&quot;),c=t(&quot;../internals/fails&quot;),h=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/is-symbol&quot;),d=t(&quot;../internals/array-slice&quot;),v=t(&quot;../internals/get-json-replacer-function&quot;),y=t(&quot;../internals/symbol-constructor-detection&quot;),p=String,b=a(&quot;JSON&quot;,&quot;stringify&quot;),x=i(/./.exec),_=i(&quot;&quot;.charAt),E=i(&quot;&quot;.charCodeAt),M=i(&quot;&quot;.replace),D=i(1 .toString),W=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,V=/^[\uDC00-\uDFFF]$/,H=!y||c((function(){var I=a(&quot;Symbol&quot;)(&quot;stringify detection&quot;);return b([I])!==&quot;[null]&quot;||b({a:I})!==&quot;{}&quot;||b(Object(I))!==&quot;{}&quot;})),K=c((function(){return b(&quot;\uDF06\uD834&quot;)!==&#039;&quot;\\udf06\\ud834&quot;&#039;||b(&quot;\uDEAD&quot;)!==&#039;&quot;\\udead&quot;&#039;})),z=function(I,C){var j=d(arguments),k=v(C);if(h(k)||I!==void 0&amp;&amp;!f(I))return j[1]=function(S,N){if(h(k)&amp;&amp;(N=l(k,this,p(S),N)),!f(N))return N},u(b,null,j)},O=function(I,C,j){var k=_(j,C-1),S=_(j,C+1);return x(L,I)&amp;&amp;!x(V,S)||x(V,I)&amp;&amp;!x(L,k)?&quot;\\u&quot;+D(E(I,0),16):I};b&amp;&amp;s({target:&quot;JSON&quot;,stat:!0,arity:3,forced:H||K},{stringify:function(I,C,j){var k=d(arguments),S=u(H?z:b,null,k);return K&amp;&amp;typeof S==&quot;string&quot;?M(S,W,O):S}})},{&quot;../internals/array-slice&quot;:231,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/get-json-replacer-function&quot;:272,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-symbol&quot;:292,&quot;../internals/symbol-constructor-detection&quot;:336}],363:[function(t,n,o){t(&quot;../internals/export&quot;)({target:&quot;Number&quot;,stat:!0},{isNaN:function(s){return s!=s}})},{&quot;../internals/export&quot;:259}],364:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-assign&quot;);s({target:&quot;Object&quot;,stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},{&quot;../internals/export&quot;:259,&quot;../internals/object-assign&quot;:305}],365:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/symbol-constructor-detection&quot;),u=t(&quot;../internals/fails&quot;),l=t(&quot;../internals/object-get-own-property-symbols&quot;),i=t(&quot;../internals/to-object&quot;);s({target:&quot;Object&quot;,stat:!0,forced:!a||u((function(){l.f(1)}))},{getOwnPropertySymbols:function(c){var h=l.f;return h?h(i(c)):[]}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/to-object&quot;:344}],366:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/to-object&quot;),u=t(&quot;../internals/object-keys&quot;);s({target:&quot;Object&quot;,stat:!0,forced:t(&quot;../internals/fails&quot;)((function(){u(1)}))},{keys:function(l){return u(a(l))}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-object&quot;:344}],367:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-to-array&quot;).values;s({target:&quot;Object&quot;,stat:!0},{values:function(u){return a(u)}})},{&quot;../internals/export&quot;:259,&quot;../internals/object-to-array&quot;:319}],368:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=t(&quot;../internals/new-promise-capability&quot;),i=t(&quot;../internals/perform&quot;),c=t(&quot;../internals/iterate&quot;);s({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{all:function(h){var f=this,d=l.f(f),v=d.resolve,y=d.reject,p=i((function(){var b=u(f.resolve),x=[],_=0,E=1;c(h,(function(M){var D=_++,W=!1;E++,a(b,f,M).then((function(L){W||(W=!0,x[D]=L,--E||v(x))}),y)})),--E||v(x)}));return p.error&amp;&amp;y(p.value),d.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],369:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,l=t(&quot;../internals/promise-native-constructor&quot;),i=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),h=t(&quot;../internals/define-built-in&quot;),f=l&amp;&amp;l.prototype;if(s({target:&quot;Promise&quot;,proto:!0,forced:u,real:!0},{catch:function(v){return this.then(void 0,v)}}),!a&amp;&amp;c(l)){var d=i(&quot;Promise&quot;).prototype.catch;f.catch!==d&amp;&amp;h(f,&quot;catch&quot;,d,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],370:[function(t,n,o){var s,a,u,l=t(&quot;../internals/export&quot;),i=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/engine-is-node&quot;),h=t(&quot;../internals/global&quot;),f=t(&quot;../internals/function-call&quot;),d=t(&quot;../internals/define-built-in&quot;),v=t(&quot;../internals/object-set-prototype-of&quot;),y=t(&quot;../internals/set-to-string-tag&quot;),p=t(&quot;../internals/set-species&quot;),b=t(&quot;../internals/a-callable&quot;),x=t(&quot;../internals/is-callable&quot;),_=t(&quot;../internals/is-object&quot;),E=t(&quot;../internals/an-instance&quot;),M=t(&quot;../internals/species-constructor&quot;),D=t(&quot;../internals/task&quot;).set,W=t(&quot;../internals/microtask&quot;),L=t(&quot;../internals/host-report-errors&quot;),V=t(&quot;../internals/perform&quot;),H=t(&quot;../internals/queue&quot;),K=t(&quot;../internals/internal-state&quot;),z=t(&quot;../internals/promise-native-constructor&quot;),O=t(&quot;../internals/promise-constructor-detection&quot;),I=t(&quot;../internals/new-promise-capability&quot;),C=O.CONSTRUCTOR,j=O.REJECTION_EVENT,k=O.SUBCLASSING,S=K.getterFor(&quot;Promise&quot;),N=K.set,T=z&amp;&amp;z.prototype,R=z,B=T,Y=h.TypeError,Z=h.document,ne=h.process,U=I.f,ee=U,F=!!(Z&amp;&amp;Z.createEvent&amp;&amp;h.dispatchEvent),P=function(ie){var me;return!(!_(ie)||!x(me=ie.then))&amp;&amp;me},X=function(ie,me){var ve,ge,le,_e=me.value,Se=me.state===1,Oe=Se?ie.ok:ie.fail,Te=ie.resolve,Ie=ie.reject,Ve=ie.domain;try{Oe?(Se||(me.rejection===2&amp;&amp;ce(me),me.rejection=1),Oe===!0?ve=_e:(Ve&amp;&amp;Ve.enter(),ve=Oe(_e),Ve&amp;&amp;(Ve.exit(),le=!0)),ve===ie.promise?Ie(new Y(&quot;Promise-chain cycle&quot;)):(ge=P(ve))?f(ge,ve,Te,Ie):Te(ve)):Ie(_e)}catch(Ye){Ve&amp;&amp;!le&amp;&amp;Ve.exit(),Ie(Ye)}},re=function(ie,me){ie.notified||(ie.notified=!0,W((function(){for(var ve,ge=ie.reactions;ve=ge.get();)X(ve,ie);ie.notified=!1,me&amp;&amp;!ie.rejection&amp;&amp;te(ie)})))},Q=function(ie,me,ve){var ge,le;F?((ge=Z.createEvent(&quot;Event&quot;)).promise=me,ge.reason=ve,ge.initEvent(ie,!1,!0),h.dispatchEvent(ge)):ge={promise:me,reason:ve},!j&amp;&amp;(le=h[&quot;on&quot;+ie])?le(ge):ie===&quot;unhandledrejection&quot;&amp;&amp;L(&quot;Unhandled promise rejection&quot;,ve)},te=function(ie){f(D,h,(function(){var me,ve=ie.facade,ge=ie.value;if(ae(ie)&amp;&amp;(me=V((function(){c?ne.emit(&quot;unhandledRejection&quot;,ge,ve):Q(&quot;unhandledrejection&quot;,ve,ge)})),ie.rejection=c||ae(ie)?2:1,me.error))throw me.value}))},ae=function(ie){return ie.rejection!==1&amp;&amp;!ie.parent},ce=function(ie){f(D,h,(function(){var me=ie.facade;c?ne.emit(&quot;rejectionHandled&quot;,me):Q(&quot;rejectionhandled&quot;,me,ie.value)}))},he=function(ie,me,ve){return function(ge){ie(me,ge,ve)}},se=function(ie,me,ve){ie.done||(ie.done=!0,ve&amp;&amp;(ie=ve),ie.value=me,ie.state=2,re(ie,!0))},de=function(ie,me,ve){if(!ie.done){ie.done=!0,ve&amp;&amp;(ie=ve);try{if(ie.facade===me)throw new Y(&quot;Promise can&#039;t be resolved itself&quot;);var ge=P(me);ge?W((function(){var le={done:!1};try{f(ge,me,he(de,le,ie),he(se,le,ie))}catch(_e){se(le,_e,ie)}})):(ie.value=me,ie.state=1,re(ie,!1))}catch(le){se({done:!1},le,ie)}}};if(C&amp;&amp;(B=(R=function(ie){E(this,B),b(ie),f(s,this);var me=S(this);try{ie(he(de,me),he(se,me))}catch(ve){se(me,ve)}}).prototype,(s=function(ie){N(this,{type:&quot;Promise&quot;,done:!1,notified:!1,parent:!1,reactions:new H,rejection:!1,state:0,value:void 0})}).prototype=d(B,&quot;then&quot;,(function(ie,me){var ve=S(this),ge=U(M(this,R));return ve.parent=!0,ge.ok=!x(ie)||ie,ge.fail=x(me)&amp;&amp;me,ge.domain=c?ne.domain:void 0,ve.state===0?ve.reactions.add(ge):W((function(){X(ge,ve)})),ge.promise})),a=function(){var ie=new s,me=S(ie);this.promise=ie,this.resolve=he(de,me),this.reject=he(se,me)},I.f=U=function(ie){return ie===R||ie===void 0?new a(ie):ee(ie)},!i&amp;&amp;x(z)&amp;&amp;T!==Object.prototype)){u=T.then,k||d(T,&quot;then&quot;,(function(ie,me){var ve=this;return new R((function(ge,le){f(u,ve,ge,le)})).then(ie,me)}),{unsafe:!0});try{delete T.constructor}catch{}v&amp;&amp;v(T,B)}l({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:R}),y(R,&quot;Promise&quot;,!1,!0),p(&quot;Promise&quot;)},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-instance&quot;:226,&quot;../internals/define-built-in&quot;:245,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/global&quot;:274,&quot;../internals/host-report-errors&quot;:277,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/microtask&quot;:302,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/perform&quot;:323,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/queue&quot;:328,&quot;../internals/set-species&quot;:330,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/species-constructor&quot;:335,&quot;../internals/task&quot;:339}],371:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-native-constructor&quot;),l=t(&quot;../internals/fails&quot;),i=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),h=t(&quot;../internals/species-constructor&quot;),f=t(&quot;../internals/promise-resolve&quot;),d=t(&quot;../internals/define-built-in&quot;),v=u&amp;&amp;u.prototype;if(s({target:&quot;Promise&quot;,proto:!0,real:!0,forced:!!u&amp;&amp;l((function(){v.finally.call({then:function(){}},(function(){}))}))},{finally:function(p){var b=h(this,i(&quot;Promise&quot;)),x=c(p);return this.then(x?function(_){return f(b,p()).then((function(){return _}))}:p,x?function(_){return f(b,p()).then((function(){throw _}))}:p)}}),!a&amp;&amp;c(u)){var y=i(&quot;Promise&quot;).prototype.finally;v.finally!==y&amp;&amp;d(v,&quot;finally&quot;,y,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326,&quot;../internals/species-constructor&quot;:335}],372:[function(t,n,o){t(&quot;../modules/es.promise.constructor&quot;),t(&quot;../modules/es.promise.all&quot;),t(&quot;../modules/es.promise.catch&quot;),t(&quot;../modules/es.promise.race&quot;),t(&quot;../modules/es.promise.reject&quot;),t(&quot;../modules/es.promise.resolve&quot;)},{&quot;../modules/es.promise.all&quot;:368,&quot;../modules/es.promise.catch&quot;:369,&quot;../modules/es.promise.constructor&quot;:370,&quot;../modules/es.promise.race&quot;:373,&quot;../modules/es.promise.reject&quot;:374,&quot;../modules/es.promise.resolve&quot;:375}],373:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=t(&quot;../internals/new-promise-capability&quot;),i=t(&quot;../internals/perform&quot;),c=t(&quot;../internals/iterate&quot;);s({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{race:function(h){var f=this,d=l.f(f),v=d.reject,y=i((function(){var p=u(f.resolve);c(h,(function(b){a(p,f,b).then(d.resolve,v)}))}));return y.error&amp;&amp;v(y.value),d.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],374:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/new-promise-capability&quot;);s({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR},{reject:function(l){var i=u.f(this);return a(i.reject,void 0,l),i.promise}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/promise-constructor-detection&quot;:324}],375:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/promise-native-constructor&quot;),i=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,c=t(&quot;../internals/promise-resolve&quot;),h=a(&quot;Promise&quot;),f=u&amp;&amp;!i;s({target:&quot;Promise&quot;,stat:!0,forced:u||i},{resolve:function(d){return c(f&amp;&amp;this===h?l:this,d)}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326}],376:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/to-absolute-index&quot;),l=RangeError,i=String.fromCharCode,c=String.fromCodePoint,h=a([].join);s({target:&quot;String&quot;,stat:!0,arity:1,forced:!!c&amp;&amp;c.length!==1},{fromCodePoint:function(f){for(var d,v=[],y=arguments.length,p=0;y&gt;p;){if(d=+arguments[p++],u(d,1114111)!==d)throw new l(d+&quot; is not a valid code point&quot;);v[p]=d&lt;65536?i(d):i(55296+((d-=65536)&gt;&gt;10),d%1024+56320)}return h(v,&quot;&quot;)}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-absolute-index&quot;:340}],377:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/not-a-regexp&quot;),l=t(&quot;../internals/require-object-coercible&quot;),i=t(&quot;../internals/to-string&quot;),c=t(&quot;../internals/correct-is-regexp-logic&quot;),h=a(&quot;&quot;.indexOf);s({target:&quot;String&quot;,proto:!0,forced:!c(&quot;includes&quot;)},{includes:function(f){return!!~h(i(l(this)),i(u(f)),arguments.length&gt;1?arguments[1]:void 0)}})},{&quot;../internals/correct-is-regexp-logic&quot;:238,&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/not-a-regexp&quot;:304,&quot;../internals/require-object-coercible&quot;:329,&quot;../internals/to-string&quot;:348}],378:[function(t,n,o){t(&quot;../internals/well-known-symbol-define&quot;)(&quot;asyncIterator&quot;)},{&quot;../internals/well-known-symbol-define&quot;:355}],379:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/global&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/function-uncurry-this&quot;),i=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/descriptors&quot;),h=t(&quot;../internals/symbol-constructor-detection&quot;),f=t(&quot;../internals/fails&quot;),d=t(&quot;../internals/has-own-property&quot;),v=t(&quot;../internals/object-is-prototype-of&quot;),y=t(&quot;../internals/an-object&quot;),p=t(&quot;../internals/to-indexed-object&quot;),b=t(&quot;../internals/to-property-key&quot;),x=t(&quot;../internals/to-string&quot;),_=t(&quot;../internals/create-property-descriptor&quot;),E=t(&quot;../internals/object-create&quot;),M=t(&quot;../internals/object-keys&quot;),D=t(&quot;../internals/object-get-own-property-names&quot;),W=t(&quot;../internals/object-get-own-property-names-external&quot;),L=t(&quot;../internals/object-get-own-property-symbols&quot;),V=t(&quot;../internals/object-get-own-property-descriptor&quot;),H=t(&quot;../internals/object-define-property&quot;),K=t(&quot;../internals/object-define-properties&quot;),z=t(&quot;../internals/object-property-is-enumerable&quot;),O=t(&quot;../internals/define-built-in&quot;),I=t(&quot;../internals/define-built-in-accessor&quot;),C=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;),T=t(&quot;../internals/well-known-symbol-wrapped&quot;),R=t(&quot;../internals/well-known-symbol-define&quot;),B=t(&quot;../internals/symbol-define-to-primitive&quot;),Y=t(&quot;../internals/set-to-string-tag&quot;),Z=t(&quot;../internals/internal-state&quot;),ne=t(&quot;../internals/array-iteration&quot;).forEach,U=j(&quot;hidden&quot;),ee=Z.set,F=Z.getterFor(&quot;Symbol&quot;),P=Object.prototype,X=a.Symbol,re=X&amp;&amp;X.prototype,Q=a.RangeError,te=a.TypeError,ae=a.QObject,ce=V.f,he=H.f,se=W.f,de=z.f,ie=l([].push),me=C(&quot;symbols&quot;),ve=C(&quot;op-symbols&quot;),ge=C(&quot;wks&quot;),le=!ae||!ae.prototype||!ae.prototype.findChild,_e=function(Ge,Be,Xe){var rt=ce(P,Be);rt&amp;&amp;delete P[Be],he(Ge,Be,Xe),rt&amp;&amp;Ge!==P&amp;&amp;he(P,Be,rt)},Se=c&amp;&amp;f((function(){return E(he({},&quot;a&quot;,{get:function(){return he(this,&quot;a&quot;,{value:7}).a}})).a!==7}))?_e:he,Oe=function(Ge,Be){var Xe=me[Ge]=E(re);return ee(Xe,{type:&quot;Symbol&quot;,tag:Ge,description:Be}),c||(Xe.description=Be),Xe},Te=function(Ge,Be,Xe){Ge===P&amp;&amp;Te(ve,Be,Xe),y(Ge);var rt=b(Be);return y(Xe),d(me,rt)?(Xe.enumerable?(d(Ge,U)&amp;&amp;Ge[U][rt]&amp;&amp;(Ge[U][rt]=!1),Xe=E(Xe,{enumerable:_(0,!1)})):(d(Ge,U)||he(Ge,U,_(1,{})),Ge[U][rt]=!0),Se(Ge,rt,Xe)):he(Ge,rt,Xe)},Ie=function(Ge,Be){y(Ge);var Xe=p(Be),rt=M(Xe).concat(ct(Xe));return ne(rt,(function(Je){c&amp;&amp;!u(Ve,Xe,Je)||Te(Ge,Je,Xe[Je])})),Ge},Ve=function(Ge){var Be=b(Ge),Xe=u(de,this,Be);return!(this===P&amp;&amp;d(me,Be)&amp;&amp;!d(ve,Be))&amp;&amp;(!(Xe||!d(this,Be)||!d(me,Be)||d(this,U)&amp;&amp;this[U][Be])||Xe)},Ye=function(Ge,Be){var Xe=p(Ge),rt=b(Be);if(Xe!==P||!d(me,rt)||d(ve,rt)){var Je=ce(Xe,rt);return!Je||!d(me,rt)||d(Xe,U)&amp;&amp;Xe[U][rt]||(Je.enumerable=!0),Je}},Ze=function(Ge){var Be=se(p(Ge)),Xe=[];return ne(Be,(function(rt){d(me,rt)||d(k,rt)||ie(Xe,rt)})),Xe},ct=function(Ge){var Be=Ge===P,Xe=se(Be?ve:p(Ge)),rt=[];return ne(Xe,(function(Je){!d(me,Je)||Be&amp;&amp;!d(P,Je)||ie(rt,me[Je])})),rt};h||(O(re=(X=function(){if(v(re,this))throw new te(&quot;Symbol is not a constructor&quot;);var Ge=arguments.length&amp;&amp;arguments[0]!==void 0?x(arguments[0]):void 0,Be=S(Ge),Xe=function(rt){this===P&amp;&amp;u(Xe,ve,rt),d(this,U)&amp;&amp;d(this[U],Be)&amp;&amp;(this[U][Be]=!1);var Je=_(1,rt);try{Se(this,Be,Je)}catch(Mt){if(!(Mt instanceof Q))throw Mt;_e(this,Be,Je)}};return c&amp;&amp;le&amp;&amp;Se(P,Be,{configurable:!0,set:Xe}),Oe(Be,Ge)}).prototype,&quot;toString&quot;,(function(){return F(this).tag})),O(X,&quot;withoutSetter&quot;,(function(Ge){return Oe(S(Ge),Ge)})),z.f=Ve,H.f=Te,K.f=Ie,V.f=Ye,D.f=W.f=Ze,L.f=ct,T.f=function(Ge){return Oe(N(Ge),Ge)},c&amp;&amp;(I(re,&quot;description&quot;,{configurable:!0,get:function(){return F(this).description}}),i||O(P,&quot;propertyIsEnumerable&quot;,Ve,{unsafe:!0}))),s({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:X}),ne(M(ge),(function(Ge){R(Ge)})),s({target:&quot;Symbol&quot;,stat:!0,forced:!h},{useSetter:function(){le=!0},useSimple:function(){le=!1}}),s({target:&quot;Object&quot;,stat:!0,forced:!h,sham:!c},{create:function(Ge,Be){return Be===void 0?E(Ge):Ie(E(Ge),Be)},defineProperty:Te,defineProperties:Ie,getOwnPropertyDescriptor:Ye}),s({target:&quot;Object&quot;,stat:!0,forced:!h},{getOwnPropertyNames:Ze}),B(),Y(X,&quot;Symbol&quot;),k[U]=!0},{&quot;../internals/an-object&quot;:227,&quot;../internals/array-iteration&quot;:229,&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-names-external&quot;:310,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/shared&quot;:334,&quot;../internals/shared-key&quot;:332,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/symbol-define-to-primitive&quot;:337,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346,&quot;../internals/to-string&quot;:348,&quot;../internals/uid&quot;:350,&quot;../internals/well-known-symbol&quot;:357,&quot;../internals/well-known-symbol-define&quot;:355,&quot;../internals/well-known-symbol-wrapped&quot;:356}],380:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/to-string&quot;),i=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),h=i(&quot;string-to-symbol-registry&quot;),f=i(&quot;symbol-to-string-registry&quot;);s({target:&quot;Symbol&quot;,stat:!0,forced:!c},{for:function(d){var v=l(d);if(u(h,v))return h[v];var y=a(&quot;Symbol&quot;)(v);return h[v]=y,f[y]=v,y}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/to-string&quot;:348}],381:[function(t,n,o){t(&quot;../modules/es.symbol.constructor&quot;),t(&quot;../modules/es.symbol.for&quot;),t(&quot;../modules/es.symbol.key-for&quot;),t(&quot;../modules/es.json.stringify&quot;),t(&quot;../modules/es.object.get-own-property-symbols&quot;)},{&quot;../modules/es.json.stringify&quot;:362,&quot;../modules/es.object.get-own-property-symbols&quot;:365,&quot;../modules/es.symbol.constructor&quot;:379,&quot;../modules/es.symbol.for&quot;:380,&quot;../modules/es.symbol.key-for&quot;:382}],382:[function(t,n,o){var s=t(&quot;../internals/export&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/try-to-string&quot;),i=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),h=i(&quot;symbol-to-string-registry&quot;);s({target:&quot;Symbol&quot;,stat:!0,forced:!c},{keyFor:function(f){if(!u(f))throw new TypeError(l(f)+&quot; is not a symbol&quot;);if(a(h,f))return h[f]}})},{&quot;../internals/export&quot;:259,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-symbol&quot;:292,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/try-to-string&quot;:349}],383:[function(t,n,o){function s(a){return Object.prototype.toString.call(a)}o.isArray=function(a){return Array.isArray?Array.isArray(a):s(a)===&quot;[object Array]&quot;},o.isBoolean=function(a){return typeof a==&quot;boolean&quot;},o.isNull=function(a){return a===null},o.isNullOrUndefined=function(a){return a==null},o.isNumber=function(a){return typeof a==&quot;number&quot;},o.isString=function(a){return typeof a==&quot;string&quot;},o.isSymbol=function(a){return typeof a==&quot;symbol&quot;},o.isUndefined=function(a){return a===void 0},o.isRegExp=function(a){return s(a)===&quot;[object RegExp]&quot;},o.isObject=function(a){return typeof a==&quot;object&quot;&amp;&amp;a!==null},o.isDate=function(a){return s(a)===&quot;[object Date]&quot;},o.isError=function(a){return s(a)===&quot;[object Error]&quot;||a instanceof Error},o.isFunction=function(a){return typeof a==&quot;function&quot;},o.isPrimitive=function(a){return a===null||typeof a==&quot;boolean&quot;||typeof a==&quot;number&quot;||typeof a==&quot;string&quot;||typeof a==&quot;symbol&quot;||a===void 0},o.isBuffer=t(&quot;buffer&quot;).Buffer.isBuffer},{buffer:220}],384:[function(t,n,o){(function(s){(function(){var a=t(&quot;elliptic&quot;),u=t(&quot;bn.js&quot;);n.exports=function(h){return new i(h)};var l={secp256k1:{name:&quot;secp256k1&quot;,byteLength:32},secp224r1:{name:&quot;p224&quot;,byteLength:28},prime256v1:{name:&quot;p256&quot;,byteLength:32},prime192v1:{name:&quot;p192&quot;,byteLength:24},ed25519:{name:&quot;ed25519&quot;,byteLength:32},secp384r1:{name:&quot;p384&quot;,byteLength:48},secp521r1:{name:&quot;p521&quot;,byteLength:66}};function i(h){this.curveType=l[h],this.curveType||(this.curveType={name:h}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(h,f,d){Array.isArray(h)||(h=h.toArray());var v=new s(h);if(d&amp;&amp;v.length&lt;d){var y=new s(d-v.length);y.fill(0),v=s.concat([y,v])}return f?v.toString(f):v}l.p224=l.secp224r1,l.p256=l.secp256r1=l.prime256v1,l.p192=l.secp192r1=l.prime192v1,l.p384=l.secp384r1,l.p521=l.secp521r1,i.prototype.generateKeys=function(h,f){return this.keys=this.curve.genKeyPair(),this.getPublicKey(h,f)},i.prototype.computeSecret=function(h,f,d){return f=f||&quot;utf8&quot;,s.isBuffer(h)||(h=new s(h,f)),c(this.curve.keyFromPublic(h).getPublic().mul(this.keys.getPrivate()).getX(),d,this.curveType.byteLength)},i.prototype.getPublicKey=function(h,f){var d=this.keys.getPublic(f===&quot;compressed&quot;,!0);return f===&quot;hybrid&quot;&amp;&amp;(d[d.length-1]%2?d[0]=7:d[0]=6),c(d,h)},i.prototype.getPrivateKey=function(h){return c(this.keys.getPrivate(),h)},i.prototype.setPublicKey=function(h,f){return f=f||&quot;utf8&quot;,s.isBuffer(h)||(h=new s(h,f)),this.keys._importPublic(h),this},i.prototype.setPrivateKey=function(h,f){f=f||&quot;utf8&quot;,s.isBuffer(h)||(h=new s(h,f));var d=new u(h);return d=d.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(d),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:385,buffer:220,elliptic:405}],385:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],386:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;md5.js&quot;),u=t(&quot;ripemd160&quot;),l=t(&quot;sha.js&quot;),i=t(&quot;cipher-base&quot;);function c(h){i.call(this,&quot;digest&quot;),this._hash=h}s(c,i),c.prototype._update=function(h){this._hash.update(h)},c.prototype._final=function(){return this._hash.digest()},n.exports=function(h){return(h=h.toLowerCase())===&quot;md5&quot;?new a:h===&quot;rmd160&quot;||h===&quot;ripemd160&quot;?new u:new c(l(h))}},{&quot;cipher-base&quot;:221,inherits:440,&quot;md5.js&quot;:450,ripemd160:493,&quot;sha.js&quot;:498}],387:[function(t,n,o){var s=t(&quot;md5.js&quot;);n.exports=function(a){return new s().update(a).digest()}},{&quot;md5.js&quot;:450}],388:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./legacy&quot;),u=t(&quot;cipher-base&quot;),l=t(&quot;safe-buffer&quot;).Buffer,i=t(&quot;create-hash/md5&quot;),c=t(&quot;ripemd160&quot;),h=t(&quot;sha.js&quot;),f=l.alloc(128);function d(v,y){u.call(this,&quot;digest&quot;),typeof y==&quot;string&quot;&amp;&amp;(y=l.from(y));var p=v===&quot;sha512&quot;||v===&quot;sha384&quot;?128:64;this._alg=v,this._key=y,y.length&gt;p?y=(v===&quot;rmd160&quot;?new c:h(v)).update(y).digest():y.length&lt;p&amp;&amp;(y=l.concat([y,f],p));for(var b=this._ipad=l.allocUnsafe(p),x=this._opad=l.allocUnsafe(p),_=0;_&lt;p;_++)b[_]=54^y[_],x[_]=92^y[_];this._hash=v===&quot;rmd160&quot;?new c:h(v),this._hash.update(b)}s(d,u),d.prototype._update=function(v){this._hash.update(v)},d.prototype._final=function(){var v=this._hash.digest();return(this._alg===&quot;rmd160&quot;?new c:h(this._alg)).update(this._opad).update(v).digest()},n.exports=function(v,y){return(v=v.toLowerCase())===&quot;rmd160&quot;||v===&quot;ripemd160&quot;?new d(&quot;rmd160&quot;,y):v===&quot;md5&quot;?new a(i,y):new d(v,y)}},{&quot;./legacy&quot;:389,&quot;cipher-base&quot;:221,&quot;create-hash/md5&quot;:387,inherits:440,ripemd160:493,&quot;safe-buffer&quot;:494,&quot;sha.js&quot;:498}],389:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=a.alloc(128);function i(c,h){u.call(this,&quot;digest&quot;),typeof h==&quot;string&quot;&amp;&amp;(h=a.from(h)),this._alg=c,this._key=h,h.length&gt;64?h=c(h):h.length&lt;64&amp;&amp;(h=a.concat([h,l],64));for(var f=this._ipad=a.allocUnsafe(64),d=this._opad=a.allocUnsafe(64),v=0;v&lt;64;v++)f[v]=54^h[v],d[v]=92^h[v];this._hash=[f]}s(i,u),i.prototype._update=function(c){this._hash.push(c)},i.prototype._final=function(){var c=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,c]))},n.exports=i},{&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],390:[function(t,n,o){o.randomBytes=o.rng=o.pseudoRandomBytes=o.prng=t(&quot;randombytes&quot;),o.createHash=o.Hash=t(&quot;create-hash&quot;),o.createHmac=o.Hmac=t(&quot;create-hmac&quot;);var s=t(&quot;browserify-sign/algos&quot;),a=Object.keys(s),u=[&quot;sha1&quot;,&quot;sha224&quot;,&quot;sha256&quot;,&quot;sha384&quot;,&quot;sha512&quot;,&quot;md5&quot;,&quot;rmd160&quot;].concat(a);o.getHashes=function(){return u};var l=t(&quot;pbkdf2&quot;);o.pbkdf2=l.pbkdf2,o.pbkdf2Sync=l.pbkdf2Sync;var i=t(&quot;browserify-cipher&quot;);o.Cipher=i.Cipher,o.createCipher=i.createCipher,o.Cipheriv=i.Cipheriv,o.createCipheriv=i.createCipheriv,o.Decipher=i.Decipher,o.createDecipher=i.createDecipher,o.Decipheriv=i.Decipheriv,o.createDecipheriv=i.createDecipheriv,o.getCiphers=i.getCiphers,o.listCiphers=i.listCiphers;var c=t(&quot;diffie-hellman&quot;);o.DiffieHellmanGroup=c.DiffieHellmanGroup,o.createDiffieHellmanGroup=c.createDiffieHellmanGroup,o.getDiffieHellman=c.getDiffieHellman,o.createDiffieHellman=c.createDiffieHellman,o.DiffieHellman=c.DiffieHellman;var h=t(&quot;browserify-sign&quot;);o.createSign=h.createSign,o.Sign=h.Sign,o.createVerify=h.createVerify,o.Verify=h.Verify,o.createECDH=t(&quot;create-ecdh&quot;);var f=t(&quot;public-encrypt&quot;);o.publicEncrypt=f.publicEncrypt,o.privateEncrypt=f.privateEncrypt,o.publicDecrypt=f.publicDecrypt,o.privateDecrypt=f.privateDecrypt;var d=t(&quot;randomfill&quot;);o.randomFill=d.randomFill,o.randomFillSync=d.randomFillSync,o.createCredentials=function(){throw new Error([&quot;sorry, createCredentials is not implemented yet&quot;,&quot;we accept pull requests&quot;,&quot;https://github.com/crypto-browserify/crypto-browserify&quot;].join(`
`))},o.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{&quot;browserify-cipher&quot;:206,&quot;browserify-sign&quot;:213,&quot;browserify-sign/algos&quot;:210,&quot;create-ecdh&quot;:384,&quot;create-hash&quot;:386,&quot;create-hmac&quot;:388,&quot;diffie-hellman&quot;:400,pbkdf2:460,&quot;public-encrypt&quot;:468,randombytes:475,randomfill:476}],391:[function(t,n,o){(function(s,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(s=typeof globalThis&lt;&quot;u&quot;?globalThis:s||self).dayjs=a()})(void 0,(function(){var s=6e4,a=36e5,u=&quot;millisecond&quot;,l=&quot;second&quot;,i=&quot;minute&quot;,c=&quot;hour&quot;,h=&quot;day&quot;,f=&quot;week&quot;,d=&quot;month&quot;,v=&quot;quarter&quot;,y=&quot;year&quot;,p=&quot;date&quot;,b=&quot;Invalid Date&quot;,x=/^(\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,E={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},D={s:M,z:function(j){var k=-j.utcOffset(),S=Math.abs(k),N=Math.floor(S/60),T=S%60;return(k&lt;=0?&quot;+&quot;:&quot;-&quot;)+M(N,2,&quot;0&quot;)+&quot;:&quot;+M(T,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()),T=k.clone().add(N,d),R=S-T&lt;0,B=k.clone().add(N+(R?-1:1),d);return+(-(N+(S-T)/(R?T-B:B-T))||0)},a:function(j){return j&lt;0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:d,y,w:f,d:h,D:p,h:c,m:i,s:l,ms:u,Q:v}[j]||String(j||&quot;&quot;).toLowerCase().replace(/s$/,&quot;&quot;)},u:function(j){return j===void 0}},W=&quot;en&quot;,L={};L[W]=E;var V=&quot;$isDayjsObject&quot;,H=function(j){return j instanceof I||!(!j||!j[V])},K=function j(k,S,N){var T;if(!k)return W;if(typeof k==&quot;string&quot;){var R=k.toLowerCase();L[R]&amp;&amp;(T=R),S&amp;&amp;(L[R]=S,T=R);var B=k.split(&quot;-&quot;);if(!T&amp;&amp;B.length&gt;1)return j(B[0])}else{var Y=k.name;L[Y]=k,T=Y}return!N&amp;&amp;T&amp;&amp;(W=T),T||!N&amp;&amp;W},z=function(j,k){if(H(j))return j.clone();var S=typeof k==&quot;object&quot;?k:{};return S.date=j,S.args=arguments,new I(S)},O=D;O.l=K,O.i=H,O.w=function(j,k){return z(j,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var I=(function(){function j(S){this.$L=K(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[V]=!0}var k=j.prototype;return k.parse=function(S){this.$d=(function(N){var T=N.date,R=N.utc;if(T===null)return new Date(NaN);if(O.u(T))return new Date;if(T instanceof Date)return new Date(T);if(typeof T==&quot;string&quot;&amp;&amp;!/Z$/i.test(T)){var B=T.match(x);if(B){var Y=B[2]-1||0,Z=(B[7]||&quot;0&quot;).substring(0,3);return R?new Date(Date.UTC(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)):new Date(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)}}return new Date(T)})(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 O},k.isValid=function(){return this.$d.toString()!==b},k.isSame=function(S,N){var T=z(S);return this.startOf(N)&lt;=T&amp;&amp;T&lt;=this.endOf(N)},k.isAfter=function(S,N){return z(S)&lt;this.startOf(N)},k.isBefore=function(S,N){return this.endOf(N)&lt;z(S)},k.$g=function(S,N,T){return O.u(S)?this[N]:this.set(T,S)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(S,N){var T=this,R=!!O.u(N)||N,B=O.p(S),Y=function(re,Q){var te=O.w(T.$u?Date.UTC(T.$y,Q,re):new Date(T.$y,Q,re),T);return R?te:te.endOf(h)},Z=function(re,Q){return O.w(T.toDate()[re].apply(T.toDate(&quot;s&quot;),(R?[0,0,0,0]:[23,59,59,999]).slice(Q)),T)},ne=this.$W,U=this.$M,ee=this.$D,F=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;);switch(B){case y:return R?Y(1,0):Y(31,11);case d:return R?Y(1,U):Y(0,U+1);case f:var P=this.$locale().weekStart||0,X=(ne&lt;P?ne+7:ne)-P;return Y(R?ee-X:ee+(6-X),U);case h:case p:return Z(F+&quot;Hours&quot;,0);case c:return Z(F+&quot;Minutes&quot;,1);case i:return Z(F+&quot;Seconds&quot;,2);case l:return Z(F+&quot;Milliseconds&quot;,3);default:return this.clone()}},k.endOf=function(S){return this.startOf(S,!1)},k.$set=function(S,N){var T,R=O.p(S),B=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;),Y=(T={},T[h]=B+&quot;Date&quot;,T[p]=B+&quot;Date&quot;,T[d]=B+&quot;Month&quot;,T[y]=B+&quot;FullYear&quot;,T[c]=B+&quot;Hours&quot;,T[i]=B+&quot;Minutes&quot;,T[l]=B+&quot;Seconds&quot;,T[u]=B+&quot;Milliseconds&quot;,T)[R],Z=R===h?this.$D+(N-this.$W):N;if(R===d||R===y){var ne=this.clone().set(p,1);ne.$d[Y](Z),ne.init(),this.$d=ne.set(p,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[O.p(S)]()},k.add=function(S,N){var T,R=this;S=Number(S);var B=O.p(N),Y=function(U){var ee=z(R);return O.w(ee.date(ee.date()+Math.round(U*S)),R)};if(B===d)return this.set(d,this.$M+S);if(B===y)return this.set(y,this.$y+S);if(B===h)return Y(1);if(B===f)return Y(7);var Z=(T={},T[i]=s,T[c]=a,T[l]=1e3,T)[B]||1,ne=this.$d.getTime()+S*Z;return O.w(ne,this)},k.subtract=function(S,N){return this.add(-1*S,N)},k.format=function(S){var N=this,T=this.$locale();if(!this.isValid())return T.invalidDate||b;var R=S||&quot;YYYY-MM-DDTHH:mm:ssZ&quot;,B=O.z(this),Y=this.$H,Z=this.$m,ne=this.$M,U=T.weekdays,ee=T.months,F=T.meridiem,P=function(Q,te,ae,ce){return Q&amp;&amp;(Q[te]||Q(N,R))||ae[te].slice(0,ce)},X=function(Q){return O.s(Y%12||12,Q,&quot;0&quot;)},re=F||function(Q,te,ae){var ce=Q&lt;12?&quot;AM&quot;:&quot;PM&quot;;return ae?ce.toLowerCase():ce};return R.replace(_,(function(Q,te){return te||(function(ae){switch(ae){case&quot;YY&quot;:return String(N.$y).slice(-2);case&quot;YYYY&quot;:return O.s(N.$y,4,&quot;0&quot;);case&quot;M&quot;:return ne+1;case&quot;MM&quot;:return O.s(ne+1,2,&quot;0&quot;);case&quot;MMM&quot;:return P(T.monthsShort,ne,ee,3);case&quot;MMMM&quot;:return P(ee,ne);case&quot;D&quot;:return N.$D;case&quot;DD&quot;:return O.s(N.$D,2,&quot;0&quot;);case&quot;d&quot;:return String(N.$W);case&quot;dd&quot;:return P(T.weekdaysMin,N.$W,U,2);case&quot;ddd&quot;:return P(T.weekdaysShort,N.$W,U,3);case&quot;dddd&quot;:return U[N.$W];case&quot;H&quot;:return String(Y);case&quot;HH&quot;:return O.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 O.s(Z,2,&quot;0&quot;);case&quot;s&quot;:return String(N.$s);case&quot;ss&quot;:return O.s(N.$s,2,&quot;0&quot;);case&quot;SSS&quot;:return O.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,T){var R,B=this,Y=O.p(N),Z=z(S),ne=(Z.utcOffset()-this.utcOffset())*s,U=this-Z,ee=function(){return O.m(B,Z)};switch(Y){case y:R=ee()/12;break;case d:R=ee();break;case v:R=ee()/3;break;case f:R=(U-ne)/6048e5;break;case h:R=(U-ne)/864e5;break;case c:R=U/a;break;case i:R=U/s;break;case l:R=U/1e3;break;default:R=U}return T?R:O.a(R)},k.daysInMonth=function(){return this.endOf(d).$D},k.$locale=function(){return L[this.$L]},k.locale=function(S,N){if(!S)return this.$L;var T=this.clone(),R=K(S,N,!0);return R&amp;&amp;(T.$L=R),T},k.clone=function(){return O.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})(),C=I.prototype;return z.prototype=C,[[&quot;$ms&quot;,u],[&quot;$s&quot;,l],[&quot;$m&quot;,i],[&quot;$H&quot;,c],[&quot;$W&quot;,h],[&quot;$M&quot;,d],[&quot;$y&quot;,y],[&quot;$D&quot;,p]].forEach((function(j){C[j[1]]=function(k){return this.$g(k,j[0],j[1])}})),z.extend=function(j,k){return j.$i||(j(k,I,z),j.$i=!0),z},z.locale=K,z.isDayjs=H,z.unix=function(j){return z(1e3*j)},z.en=L[W],z.Ls=L,z.p={},z}))},{}],392:[function(t,n,o){(function(s,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(s=typeof globalThis&lt;&quot;u&quot;?globalThis:s||self).dayjs_plugin_customParseFormat=a()})(void 0,(function(){var s={LTS:&quot;h:mm:ss A&quot;,LT:&quot;h:mm A&quot;,L:&quot;MM/DD/YYYY&quot;,LL:&quot;MMMM D, YYYY&quot;,LLL:&quot;MMMM D, YYYY h:mm A&quot;,LLLL:&quot;dddd, MMMM D, YYYY h:mm A&quot;},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,u=/\d\d/,l=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,c={},h=function(x){return(x=+x)+(x&gt;68?1900:2e3)},f=function(x){return function(_){this[x]=+_}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=(function(_){if(!_||_===&quot;Z&quot;)return 0;var E=_.match(/([+-]|\d\d)/g),M=60*E[1]+(+E[2]||0);return M===0?0:E[0]===&quot;+&quot;?-M:M})(x)}],v=function(x){var _=c[x];return _&amp;&amp;(_.indexOf?_:_.s.concat(_.f))},y=function(x,_){var E,M=c.meridiem;if(M){for(var D=1;D&lt;=24;D+=1)if(x.indexOf(M(D,0,_))&gt;-1){E=D&gt;12;break}}else E=x===(_?&quot;pm&quot;:&quot;PM&quot;);return E},p={A:[i,function(x){this.afternoon=y(x,!1)}],a:[i,function(x){this.afternoon=y(x,!0)}],S:[/\d/,function(x){this.milliseconds=100*+x}],SS:[u,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[l,f(&quot;seconds&quot;)],ss:[l,f(&quot;seconds&quot;)],m:[l,f(&quot;minutes&quot;)],mm:[l,f(&quot;minutes&quot;)],H:[l,f(&quot;hours&quot;)],h:[l,f(&quot;hours&quot;)],HH:[l,f(&quot;hours&quot;)],hh:[l,f(&quot;hours&quot;)],D:[l,f(&quot;day&quot;)],DD:[u,f(&quot;day&quot;)],Do:[i,function(x){var _=c.ordinal,E=x.match(/\d+/);if(this.day=E[0],_)for(var M=1;M&lt;=31;M+=1)_(M).replace(/\[|\]/g,&quot;&quot;)===x&amp;&amp;(this.day=M)}],M:[l,f(&quot;month&quot;)],MM:[u,f(&quot;month&quot;)],MMM:[i,function(x){var _=v(&quot;months&quot;),E=(v(&quot;monthsShort&quot;)||_.map((function(M){return M.slice(0,3)}))).indexOf(x)+1;if(E&lt;1)throw new Error;this.month=E%12||E}],MMMM:[i,function(x){var _=v(&quot;months&quot;).indexOf(x)+1;if(_&lt;1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,f(&quot;year&quot;)],YY:[u,function(x){this.year=h(x)}],YYYY:[/\d{4}/,f(&quot;year&quot;)],Z:d,ZZ:d};function b(x){var _,E;_=x,E=c&amp;&amp;c.formats;for(var M=(x=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(z,O,I){var C=I&amp;&amp;I.toUpperCase();return O||E[I]||s[I]||E[C].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(j,k,S){return k||S.slice(1)}))}))).match(a),D=M.length,W=0;W&lt;D;W+=1){var L=M[W],V=p[L],H=V&amp;&amp;V[0],K=V&amp;&amp;V[1];M[W]=K?{regex:H,parser:K}:L.replace(/^\[|\]$/g,&quot;&quot;)}return function(z){for(var O={},I=0,C=0;I&lt;D;I+=1){var j=M[I];if(typeof j==&quot;string&quot;)C+=j.length;else{var k=j.regex,S=j.parser,N=z.slice(C),T=k.exec(N)[0];S.call(O,T),z=z.replace(T,&quot;&quot;)}}return(function(R){var B=R.afternoon;if(B!==void 0){var Y=R.hours;B?Y&lt;12&amp;&amp;(R.hours+=12):Y===12&amp;&amp;(R.hours=0),delete R.afternoon}})(O),O}}return function(x,_,E){E.p.customParseFormat=!0,x&amp;&amp;x.parseTwoDigitYear&amp;&amp;(h=x.parseTwoDigitYear);var M=_.prototype,D=M.parse;M.parse=function(W){var L=W.date,V=W.utc,H=W.args;this.$u=V;var K=H[1];if(typeof K==&quot;string&quot;){var z=H[2]===!0,O=H[3]===!0,I=z||O,C=H[2];O&amp;&amp;(C=H[2]),c=this.$locale(),!z&amp;&amp;C&amp;&amp;(c=E.Ls[C]),this.$d=(function(N,T,R){try{if([&quot;x&quot;,&quot;X&quot;].indexOf(T)&gt;-1)return new Date((T===&quot;X&quot;?1e3:1)*N);var B=b(T)(N),Y=B.year,Z=B.month,ne=B.day,U=B.hours,ee=B.minutes,F=B.seconds,P=B.milliseconds,X=B.zone,re=new Date,Q=ne||(Y||Z?1:re.getDate()),te=Y||re.getFullYear(),ae=0;Y&amp;&amp;!Z||(ae=Z&gt;0?Z-1:re.getMonth());var ce=U||0,he=ee||0,se=F||0,de=P||0;return X?new Date(Date.UTC(te,ae,Q,ce,he,se,de+60*X.offset*1e3)):R?new Date(Date.UTC(te,ae,Q,ce,he,se,de)):new Date(te,ae,Q,ce,he,se,de)}catch{return new Date(&quot;&quot;)}})(L,K,V),this.init(),C&amp;&amp;C!==!0&amp;&amp;(this.$L=this.locale(C).$L),I&amp;&amp;L!=this.format(K)&amp;&amp;(this.$d=new Date(&quot;&quot;)),c={}}else if(K instanceof Array)for(var j=K.length,k=1;k&lt;=j;k+=1){H[1]=K[k-1];var S=E.apply(this,H);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 D.call(this,W)}}}))},{}],393:[function(t,n,o){(function(s,a){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(s=typeof globalThis&lt;&quot;u&quot;?globalThis:s||self).dayjs_plugin_utc=a()})(void 0,(function(){var s=&quot;minute&quot;,a=/[+-]\d\d(?::?\d\d)?/g,u=/([+-]|\d\d)/g;return function(l,i,c){var h=i.prototype;c.utc=function(x){var _={date:x,utc:!0,args:arguments};return new i(_)},h.utc=function(x){var _=c(this.toDate(),{locale:this.$L,utc:!0});return x?_.add(this.utcOffset(),s):_},h.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var f=h.parse;h.parse=function(x){x.utc&amp;&amp;(this.$u=!0),this.$utils().u(x.$offset)||(this.$offset=x.$offset),f.call(this,x)};var d=h.init;h.init=function(){if(this.$u){var x=this.$d;this.$y=x.getUTCFullYear(),this.$M=x.getUTCMonth(),this.$D=x.getUTCDate(),this.$W=x.getUTCDay(),this.$H=x.getUTCHours(),this.$m=x.getUTCMinutes(),this.$s=x.getUTCSeconds(),this.$ms=x.getUTCMilliseconds()}else d.call(this)};var v=h.utcOffset;h.utcOffset=function(x,_){var E=this.$utils().u;if(E(x))return this.$u?0:E(this.$offset)?v.call(this):this.$offset;if(typeof x==&quot;string&quot;&amp;&amp;(x=(function(L){L===void 0&amp;&amp;(L=&quot;&quot;);var V=L.match(a);if(!V)return null;var H=(&quot;&quot;+V[0]).match(u)||[&quot;-&quot;,0,0],K=H[0],z=60*+H[1]+ +H[2];return z===0?0:K===&quot;+&quot;?z:-z})(x))===null)return this;var M=Math.abs(x)&lt;=16?60*x:x,D=this;if(_)return D.$offset=M,D.$u=x===0,D;if(x!==0){var W=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(D=this.local().add(M+W,s)).$offset=M,D.$x.$localOffset=W}else D=this.utc();return D};var y=h.format;h.format=function(x){var _=x||(this.$u?&quot;YYYY-MM-DDTHH:mm:ss[Z]&quot;:&quot;&quot;);return y.call(this,_)},h.valueOf=function(){var x=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*x},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var p=h.toDate;h.toDate=function(x){return x===&quot;s&quot;&amp;&amp;this.$offset?c(this.format(&quot;YYYY-MM-DD HH:mm:ss:SSS&quot;)).toDate():p.call(this)};var b=h.diff;h.diff=function(x,_,E){if(x&amp;&amp;this.$u===x.$u)return b.call(this,x,_,E);var M=this.local(),D=c(x).local();return b.call(M,D,_,E)}}}))},{}],394:[function(t,n,o){o.utils=t(&quot;./des/utils&quot;),o.Cipher=t(&quot;./des/cipher&quot;),o.DES=t(&quot;./des/des&quot;),o.CBC=t(&quot;./des/cbc&quot;),o.EDE=t(&quot;./des/ede&quot;)},{&quot;./des/cbc&quot;:395,&quot;./des/cipher&quot;:396,&quot;./des/des&quot;:397,&quot;./des/ede&quot;:398,&quot;./des/utils&quot;:399}],395:[function(t,n,o){var s=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u={};function l(i){s.equal(i.length,8,&quot;Invalid IV length&quot;),this.iv=new Array(8);for(var c=0;c&lt;this.iv.length;c++)this.iv[c]=i[c]}o.instantiate=function(i){function c(v){i.call(this,v),this._cbcInit()}a(c,i);for(var h=Object.keys(u),f=0;f&lt;h.length;f++){var d=h[f];c.prototype[d]=u[d]}return c.create=function(v){return new c(v)},c},u._cbcInit=function(){var i=new l(this.options.iv);this._cbcState=i},u._update=function(i,c,h,f){var d=this._cbcState,v=this.constructor.super_.prototype,y=d.iv;if(this.type===&quot;encrypt&quot;){for(var p=0;p&lt;this.blockSize;p++)y[p]^=i[c+p];for(v._update.call(this,y,0,h,f),p=0;p&lt;this.blockSize;p++)y[p]=h[f+p]}else{for(v._update.call(this,i,c,h,f),p=0;p&lt;this.blockSize;p++)h[f+p]^=y[p];for(p=0;p&lt;this.blockSize;p++)y[p]=i[c+p]}}},{inherits:440,&quot;minimalistic-assert&quot;:453}],396:[function(t,n,o){var s=t(&quot;minimalistic-assert&quot;);function a(u){this.options=u,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=u.padding!==!1}n.exports=a,a.prototype._init=function(){},a.prototype.update=function(u){return u.length===0?[]:this.type===&quot;decrypt&quot;?this._updateDecrypt(u):this._updateEncrypt(u)},a.prototype._buffer=function(u,l){for(var i=Math.min(this.buffer.length-this.bufferOff,u.length-l),c=0;c&lt;i;c++)this.buffer[this.bufferOff+c]=u[l+c];return this.bufferOff+=i,i},a.prototype._flushBuffer=function(u,l){return this._update(this.buffer,0,u,l),this.bufferOff=0,this.blockSize},a.prototype._updateEncrypt=function(u){var l=0,i=0,c=(this.bufferOff+u.length)/this.blockSize|0,h=new Array(c*this.blockSize);this.bufferOff!==0&amp;&amp;(l+=this._buffer(u,l),this.bufferOff===this.buffer.length&amp;&amp;(i+=this._flushBuffer(h,i)));for(var f=u.length-(u.length-l)%this.blockSize;l&lt;f;l+=this.blockSize)this._update(u,l,h,i),i+=this.blockSize;for(;l&lt;u.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=u[l];return h},a.prototype._updateDecrypt=function(u){for(var l=0,i=0,c=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,h=new Array(c*this.blockSize);c&gt;0;c--)l+=this._buffer(u,l),i+=this._flushBuffer(h,i);return l+=this._buffer(u,l),h},a.prototype.final=function(u){var l,i;return u&amp;&amp;(l=this.update(u)),i=this.type===&quot;encrypt&quot;?this._finalEncrypt():this._finalDecrypt(),l?l.concat(i):i},a.prototype._pad=function(u,l){if(l===0)return!1;for(;l&lt;u.length;)u[l++]=0;return!0},a.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var u=new Array(this.blockSize);return this._update(this.buffer,0,u,0),u},a.prototype._unpad=function(u){return u},a.prototype._finalDecrypt=function(){s.equal(this.bufferOff,this.blockSize,&quot;Not enough data to decrypt&quot;);var u=new Array(this.blockSize);return this._flushBuffer(u,0),this._unpad(u)}},{&quot;minimalistic-assert&quot;:453}],397:[function(t,n,o){var s=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./utils&quot;),l=t(&quot;./cipher&quot;);function i(){this.tmp=new Array(2),this.keys=null}function c(f){l.call(this,f);var d=new i;this._desState=d,this.deriveKeys(d,f.key)}a(c,l),n.exports=c,c.create=function(f){return new c(f)};var h=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(f,d){f.keys=new Array(32),s.equal(d.length,this.blockSize,&quot;Invalid key length&quot;);var v=u.readUInt32BE(d,0),y=u.readUInt32BE(d,4);u.pc1(v,y,f.tmp,0),v=f.tmp[0],y=f.tmp[1];for(var p=0;p&lt;f.keys.length;p+=2){var b=h[p&gt;&gt;&gt;1];v=u.r28shl(v,b),y=u.r28shl(y,b),u.pc2(v,y,f.keys,p)}},c.prototype._update=function(f,d,v,y){var p=this._desState,b=u.readUInt32BE(f,d),x=u.readUInt32BE(f,d+4);u.ip(b,x,p.tmp,0),b=p.tmp[0],x=p.tmp[1],this.type===&quot;encrypt&quot;?this._encrypt(p,b,x,p.tmp,0):this._decrypt(p,b,x,p.tmp,0),b=p.tmp[0],x=p.tmp[1],u.writeUInt32BE(v,b,y),u.writeUInt32BE(v,x,y+4)},c.prototype._pad=function(f,d){if(this.padding===!1)return!1;for(var v=f.length-d,y=d;y&lt;f.length;y++)f[y]=v;return!0},c.prototype._unpad=function(f){if(this.padding===!1)return f;for(var d=f[f.length-1],v=f.length-d;v&lt;f.length;v++)s.equal(f[v],d);return f.slice(0,f.length-d)},c.prototype._encrypt=function(f,d,v,y,p){for(var b=d,x=v,_=0;_&lt;f.keys.length;_+=2){var E=f.keys[_],M=f.keys[_+1];u.expand(x,f.tmp,0),E^=f.tmp[0],M^=f.tmp[1];var D=u.substitute(E,M),W=x;x=(b^u.permute(D))&gt;&gt;&gt;0,b=W}u.rip(x,b,y,p)},c.prototype._decrypt=function(f,d,v,y,p){for(var b=v,x=d,_=f.keys.length-2;_&gt;=0;_-=2){var E=f.keys[_],M=f.keys[_+1];u.expand(b,f.tmp,0),E^=f.tmp[0],M^=f.tmp[1];var D=u.substitute(E,M),W=b;b=(x^u.permute(D))&gt;&gt;&gt;0,x=W}u.rip(b,x,y,p)}},{&quot;./cipher&quot;:396,&quot;./utils&quot;:399,inherits:440,&quot;minimalistic-assert&quot;:453}],398:[function(t,n,o){var s=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./cipher&quot;),l=t(&quot;./des&quot;);function i(h,f){s.equal(f.length,24,&quot;Invalid key length&quot;);var d=f.slice(0,8),v=f.slice(8,16),y=f.slice(16,24);this.ciphers=h===&quot;encrypt&quot;?[l.create({type:&quot;encrypt&quot;,key:d}),l.create({type:&quot;decrypt&quot;,key:v}),l.create({type:&quot;encrypt&quot;,key:y})]:[l.create({type:&quot;decrypt&quot;,key:y}),l.create({type:&quot;encrypt&quot;,key:v}),l.create({type:&quot;decrypt&quot;,key:d})]}function c(h){u.call(this,h);var f=new i(this.type,this.options.key);this._edeState=f}a(c,u),n.exports=c,c.create=function(h){return new c(h)},c.prototype._update=function(h,f,d,v){var y=this._edeState;y.ciphers[0]._update(h,f,d,v),y.ciphers[1]._update(d,v,d,v),y.ciphers[2]._update(d,v,d,v)},c.prototype._pad=l.prototype._pad,c.prototype._unpad=l.prototype._unpad},{&quot;./cipher&quot;:396,&quot;./des&quot;:397,inherits:440,&quot;minimalistic-assert&quot;:453}],399:[function(t,n,o){o.readUInt32BE=function(l,i){return(l[0+i]&lt;&lt;24|l[1+i]&lt;&lt;16|l[2+i]&lt;&lt;8|l[3+i])&gt;&gt;&gt;0},o.writeUInt32BE=function(l,i,c){l[0+c]=i&gt;&gt;&gt;24,l[1+c]=i&gt;&gt;&gt;16&amp;255,l[2+c]=i&gt;&gt;&gt;8&amp;255,l[3+c]=255&amp;i},o.ip=function(l,i,c,h){for(var f=0,d=0,v=6;v&gt;=0;v-=2){for(var y=0;y&lt;=24;y+=8)f&lt;&lt;=1,f|=i&gt;&gt;&gt;y+v&amp;1;for(y=0;y&lt;=24;y+=8)f&lt;&lt;=1,f|=l&gt;&gt;&gt;y+v&amp;1}for(v=6;v&gt;=0;v-=2){for(y=1;y&lt;=25;y+=8)d&lt;&lt;=1,d|=i&gt;&gt;&gt;y+v&amp;1;for(y=1;y&lt;=25;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;&gt;y+v&amp;1}c[h+0]=f&gt;&gt;&gt;0,c[h+1]=d&gt;&gt;&gt;0},o.rip=function(l,i,c,h){for(var f=0,d=0,v=0;v&lt;4;v++)for(var y=24;y&gt;=0;y-=8)f&lt;&lt;=1,f|=i&gt;&gt;&gt;y+v&amp;1,f&lt;&lt;=1,f|=l&gt;&gt;&gt;y+v&amp;1;for(v=4;v&lt;8;v++)for(y=24;y&gt;=0;y-=8)d&lt;&lt;=1,d|=i&gt;&gt;&gt;y+v&amp;1,d&lt;&lt;=1,d|=l&gt;&gt;&gt;y+v&amp;1;c[h+0]=f&gt;&gt;&gt;0,c[h+1]=d&gt;&gt;&gt;0},o.pc1=function(l,i,c,h){for(var f=0,d=0,v=7;v&gt;=5;v--){for(var y=0;y&lt;=24;y+=8)f&lt;&lt;=1,f|=i&gt;&gt;y+v&amp;1;for(y=0;y&lt;=24;y+=8)f&lt;&lt;=1,f|=l&gt;&gt;y+v&amp;1}for(y=0;y&lt;=24;y+=8)f&lt;&lt;=1,f|=i&gt;&gt;y+v&amp;1;for(v=1;v&lt;=3;v++){for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=i&gt;&gt;y+v&amp;1;for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;y+v&amp;1}for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;y+v&amp;1;c[h+0]=f&gt;&gt;&gt;0,c[h+1]=d&gt;&gt;&gt;0},o.r28shl=function(l,i){return l&lt;&lt;i&amp;268435455|l&gt;&gt;&gt;28-i};var s=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];o.pc2=function(l,i,c,h){for(var f=0,d=0,v=s.length&gt;&gt;&gt;1,y=0;y&lt;v;y++)f&lt;&lt;=1,f|=l&gt;&gt;&gt;s[y]&amp;1;for(y=v;y&lt;s.length;y++)d&lt;&lt;=1,d|=i&gt;&gt;&gt;s[y]&amp;1;c[h+0]=f&gt;&gt;&gt;0,c[h+1]=d&gt;&gt;&gt;0},o.expand=function(l,i,c){var h=0,f=0;h=(1&amp;l)&lt;&lt;5|l&gt;&gt;&gt;27;for(var d=23;d&gt;=15;d-=4)h&lt;&lt;=6,h|=l&gt;&gt;&gt;d&amp;63;for(d=11;d&gt;=3;d-=4)f|=l&gt;&gt;&gt;d&amp;63,f&lt;&lt;=6;f|=(31&amp;l)&lt;&lt;1|l&gt;&gt;&gt;31,i[c+0]=h&gt;&gt;&gt;0,i[c+1]=f&gt;&gt;&gt;0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];o.substitute=function(l,i){for(var c=0,h=0;h&lt;4;h++)c&lt;&lt;=4,c|=a[64*h+(l&gt;&gt;&gt;18-6*h&amp;63)];for(h=0;h&lt;4;h++)c&lt;&lt;=4,c|=a[256+64*h+(i&gt;&gt;&gt;18-6*h&amp;63)];return c&gt;&gt;&gt;0};var u=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];o.permute=function(l){for(var i=0,c=0;c&lt;u.length;c++)i&lt;&lt;=1,i|=l&gt;&gt;&gt;u[c]&amp;1;return i&gt;&gt;&gt;0},o.padSplit=function(l,i,c){for(var h=l.toString(2);h.length&lt;i;)h=&quot;0&quot;+h;for(var f=[],d=0;d&lt;i;d+=c)f.push(h.slice(d,d+c));return f.join(&quot; &quot;)}},{}],400:[function(t,n,o){(function(s){(function(){var a=t(&quot;./lib/generatePrime&quot;),u=t(&quot;./lib/primes.json&quot;),l=t(&quot;./lib/dh&quot;),i={binary:!0,hex:!0,base64:!0};o.DiffieHellmanGroup=o.createDiffieHellmanGroup=o.getDiffieHellman=function(c){var h=new s(u[c].prime,&quot;hex&quot;),f=new s(u[c].gen,&quot;hex&quot;);return new l(h,f)},o.createDiffieHellman=o.DiffieHellman=function c(h,f,d,v){return s.isBuffer(f)||i[f]===void 0?c(h,&quot;binary&quot;,f,d):(f=f||&quot;binary&quot;,v=v||&quot;binary&quot;,d=d||new s([2]),s.isBuffer(d)||(d=new s(d,v)),typeof h==&quot;number&quot;?new l(a(h,d),d,!0):(s.isBuffer(h)||(h=new s(h,f)),new l(h,d,!0)))}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./lib/dh&quot;:401,&quot;./lib/generatePrime&quot;:402,&quot;./lib/primes.json&quot;:403,buffer:220}],401:[function(t,n,o){(function(s){(function(){var a=t(&quot;bn.js&quot;),u=new(t(&quot;miller-rabin&quot;)),l=new a(24),i=new a(11),c=new a(10),h=new a(3),f=new a(7),d=t(&quot;./generatePrime&quot;),v=t(&quot;randombytes&quot;);function y(E,M){return M=M||&quot;utf8&quot;,s.isBuffer(E)||(E=new s(E,M)),this._pub=new a(E),this}function p(E,M){return M=M||&quot;utf8&quot;,s.isBuffer(E)||(E=new s(E,M)),this._priv=new a(E),this}n.exports=x;var b={};function x(E,M,D){this.setGenerator(M),this.__prime=new a(E),this._prime=a.mont(this.__prime),this._primeLen=E.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,D?(this.setPublicKey=y,this.setPrivateKey=p):this._primeCode=8}function _(E,M){var D=new s(E.toArray());return M?D.toString(M):D}Object.defineProperty(x.prototype,&quot;verifyError&quot;,{enumerable:!0,get:function(){return typeof this._primeCode!=&quot;number&quot;&amp;&amp;(this._primeCode=(function(E,M){var D=M.toString(&quot;hex&quot;),W=[D,E.toString(16)].join(&quot;_&quot;);if(W in b)return b[W];var L,V=0;if(E.isEven()||!d.simpleSieve||!d.fermatTest(E)||!u.test(E))return V+=1,V+=D===&quot;02&quot;||D===&quot;05&quot;?8:4,b[W]=V,V;switch(u.test(E.shrn(1))||(V+=2),D){case&quot;02&quot;:E.mod(l).cmp(i)&amp;&amp;(V+=8);break;case&quot;05&quot;:(L=E.mod(c)).cmp(h)&amp;&amp;L.cmp(f)&amp;&amp;(V+=8);break;default:V+=4}return b[W]=V,V})(this.__prime,this.__gen)),this._primeCode}}),x.prototype.generateKeys=function(){return this._priv||(this._priv=new a(v(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},x.prototype.computeSecret=function(E){var M=(E=(E=new a(E)).toRed(this._prime)).redPow(this._priv).fromRed(),D=new s(M.toArray()),W=this.getPrime();if(D.length&lt;W.length){var L=new s(W.length-D.length);L.fill(0),D=s.concat([L,D])}return D},x.prototype.getPublicKey=function(E){return _(this._pub,E)},x.prototype.getPrivateKey=function(E){return _(this._priv,E)},x.prototype.getPrime=function(E){return _(this.__prime,E)},x.prototype.getGenerator=function(E){return _(this._gen,E)},x.prototype.setGenerator=function(E,M){return M=M||&quot;utf8&quot;,s.isBuffer(E)||(E=new s(E,M)),this.__gen=E,this._gen=new a(E),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./generatePrime&quot;:402,&quot;bn.js&quot;:404,buffer:220,&quot;miller-rabin&quot;:451,randombytes:475}],402:[function(t,n,o){var s=t(&quot;randombytes&quot;);n.exports=E,E.simpleSieve=x,E.fermatTest=_;var a=t(&quot;bn.js&quot;),u=new a(24),l=new(t(&quot;miller-rabin&quot;)),i=new a(1),c=new a(2),h=new a(5),f=(new a(16),new a(8),new a(10)),d=new a(3),v=(new a(7),new a(11)),y=new a(4),p=(new a(12),null);function b(){if(p!==null)return p;var M=[];M[0]=2;for(var D=1,W=3;W&lt;1048576;W+=2){for(var L=Math.ceil(Math.sqrt(W)),V=0;V&lt;D&amp;&amp;M[V]&lt;=L&amp;&amp;W%M[V]!=0;V++);D!==V&amp;&amp;M[V]&lt;=L||(M[D++]=W)}return p=M,M}function x(M){for(var D=b(),W=0;W&lt;D.length;W++)if(M.modn(D[W])===0)return M.cmpn(D[W])===0;return!0}function _(M){var D=a.mont(M);return c.toRed(D).redPow(M.subn(1)).fromRed().cmpn(1)===0}function E(M,D){if(M&lt;16)return new a(D===2||D===5?[140,123]:[140,39]);var W,L;for(D=new a(D);;){for(W=new a(s(Math.ceil(M/8)));W.bitLength()&gt;M;)W.ishrn(1);if(W.isEven()&amp;&amp;W.iadd(i),W.testn(1)||W.iadd(c),D.cmp(c)){if(!D.cmp(h))for(;W.mod(f).cmp(d);)W.iadd(y)}else for(;W.mod(u).cmp(v);)W.iadd(y);if(x(L=W.shrn(1))&amp;&amp;x(W)&amp;&amp;_(L)&amp;&amp;_(W)&amp;&amp;l.test(L)&amp;&amp;l.test(W))return W}}},{&quot;bn.js&quot;:404,&quot;miller-rabin&quot;:451,randombytes:475}],403:[function(t,n,o){n.exports={modp1:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff&quot;},modp2:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff&quot;},modp5:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff&quot;},modp14:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff&quot;},modp15:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff&quot;},modp16:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff&quot;},modp17:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff&quot;},modp18:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff&quot;}}},{}],404:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],405:[function(t,n,o){var s=o;s.version=t(&quot;../package.json&quot;).version,s.utils=t(&quot;./elliptic/utils&quot;),s.rand=t(&quot;brorand&quot;),s.curve=t(&quot;./elliptic/curve&quot;),s.curves=t(&quot;./elliptic/curves&quot;),s.ec=t(&quot;./elliptic/ec&quot;),s.eddsa=t(&quot;./elliptic/eddsa&quot;)},{&quot;../package.json&quot;:421,&quot;./elliptic/curve&quot;:408,&quot;./elliptic/curves&quot;:411,&quot;./elliptic/ec&quot;:412,&quot;./elliptic/eddsa&quot;:415,&quot;./elliptic/utils&quot;:419,brorand:187}],406:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.getNAF,l=a.getJSF,i=a.assert;function c(f,d){this.type=f,this.p=new s(d.p,16),this.red=d.prime?s.red(d.prime):s.mont(this.p),this.zero=new s(0).toRed(this.red),this.one=new s(1).toRed(this.red),this.two=new s(2).toRed(this.red),this.n=d.n&amp;&amp;new s(d.n,16),this.g=d.g&amp;&amp;this.pointFromJSON(d.g,d.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 v=this.n&amp;&amp;this.p.div(this.n);!v||v.cmpn(100)&gt;0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function h(f,d){this.curve=f,this.type=d,this.precomputed=null}n.exports=c,c.prototype.point=function(){throw new Error(&quot;Not implemented&quot;)},c.prototype.validate=function(){throw new Error(&quot;Not implemented&quot;)},c.prototype._fixedNafMul=function(f,d){i(f.precomputed);var v=f._getDoubles(),y=u(d,1,this._bitLength),p=(1&lt;&lt;v.step+1)-(v.step%2==0?2:1);p/=3;var b,x,_=[];for(b=0;b&lt;y.length;b+=v.step){x=0;for(var E=b+v.step-1;E&gt;=b;E--)x=(x&lt;&lt;1)+y[E];_.push(x)}for(var M=this.jpoint(null,null,null),D=this.jpoint(null,null,null),W=p;W&gt;0;W--){for(b=0;b&lt;_.length;b++)(x=_[b])===W?D=D.mixedAdd(v.points[b]):x===-W&amp;&amp;(D=D.mixedAdd(v.points[b].neg()));M=M.add(D)}return M.toP()},c.prototype._wnafMul=function(f,d){var v=4,y=f._getNAFPoints(v);v=y.wnd;for(var p=y.points,b=u(d,v,this._bitLength),x=this.jpoint(null,null,null),_=b.length-1;_&gt;=0;_--){for(var E=0;_&gt;=0&amp;&amp;b[_]===0;_--)E++;if(_&gt;=0&amp;&amp;E++,x=x.dblp(E),_&lt;0)break;var M=b[_];i(M!==0),x=f.type===&quot;affine&quot;?M&gt;0?x.mixedAdd(p[M-1&gt;&gt;1]):x.mixedAdd(p[-M-1&gt;&gt;1].neg()):M&gt;0?x.add(p[M-1&gt;&gt;1]):x.add(p[-M-1&gt;&gt;1].neg())}return f.type===&quot;affine&quot;?x.toP():x},c.prototype._wnafMulAdd=function(f,d,v,y,p){var b,x,_,E=this._wnafT1,M=this._wnafT2,D=this._wnafT3,W=0;for(b=0;b&lt;y;b++){var L=(_=d[b])._getNAFPoints(f);E[b]=L.wnd,M[b]=L.points}for(b=y-1;b&gt;=1;b-=2){var V=b-1,H=b;if(E[V]===1&amp;&amp;E[H]===1){var K=[d[V],null,null,d[H]];d[V].y.cmp(d[H].y)===0?(K[1]=d[V].add(d[H]),K[2]=d[V].toJ().mixedAdd(d[H].neg())):d[V].y.cmp(d[H].y.redNeg())===0?(K[1]=d[V].toJ().mixedAdd(d[H]),K[2]=d[V].add(d[H].neg())):(K[1]=d[V].toJ().mixedAdd(d[H]),K[2]=d[V].toJ().mixedAdd(d[H].neg()));var z=[-3,-1,-5,-7,0,7,5,1,3],O=l(v[V],v[H]);for(W=Math.max(O[0].length,W),D[V]=new Array(W),D[H]=new Array(W),x=0;x&lt;W;x++){var I=0|O[0][x],C=0|O[1][x];D[V][x]=z[3*(I+1)+(C+1)],D[H][x]=0,M[V]=K}}else D[V]=u(v[V],E[V],this._bitLength),D[H]=u(v[H],E[H],this._bitLength),W=Math.max(D[V].length,W),W=Math.max(D[H].length,W)}var j=this.jpoint(null,null,null),k=this._wnafT4;for(b=W;b&gt;=0;b--){for(var S=0;b&gt;=0;){var N=!0;for(x=0;x&lt;y;x++)k[x]=0|D[x][b],k[x]!==0&amp;&amp;(N=!1);if(!N)break;S++,b--}if(b&gt;=0&amp;&amp;S++,j=j.dblp(S),b&lt;0)break;for(x=0;x&lt;y;x++){var T=k[x];T!==0&amp;&amp;(T&gt;0?_=M[x][T-1&gt;&gt;1]:T&lt;0&amp;&amp;(_=M[x][-T-1&gt;&gt;1].neg()),j=_.type===&quot;affine&quot;?j.mixedAdd(_):j.add(_))}}for(b=0;b&lt;y;b++)M[b]=null;return p?j:j.toP()},c.BasePoint=h,h.prototype.eq=function(){throw new Error(&quot;Not implemented&quot;)},h.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(f,d){f=a.toArray(f,d);var v=this.p.byteLength();if((f[0]===4||f[0]===6||f[0]===7)&amp;&amp;f.length-1==2*v)return f[0]===6?i(f[f.length-1]%2==0):f[0]===7&amp;&amp;i(f[f.length-1]%2==1),this.point(f.slice(1,1+v),f.slice(1+v,1+2*v));if((f[0]===2||f[0]===3)&amp;&amp;f.length-1===v)return this.pointFromX(f.slice(1,1+v),f[0]===3);throw new Error(&quot;Unknown point format&quot;)},h.prototype.encodeCompressed=function(f){return this.encode(f,!0)},h.prototype._encode=function(f){var d=this.curve.p.byteLength(),v=this.getX().toArray(&quot;be&quot;,d);return f?[this.getY().isEven()?2:3].concat(v):[4].concat(v,this.getY().toArray(&quot;be&quot;,d))},h.prototype.encode=function(f,d){return a.encode(this._encode(d),f)},h.prototype.precompute=function(f){if(this.precomputed)return this;var d={doubles:null,naf:null,beta:null};return d.naf=this._getNAFPoints(8),d.doubles=this._getDoubles(4,f),d.beta=this._getBeta(),this.precomputed=d,this},h.prototype._hasDoubles=function(f){if(!this.precomputed)return!1;var d=this.precomputed.doubles;return!!d&amp;&amp;d.points.length&gt;=Math.ceil((f.bitLength()+1)/d.step)},h.prototype._getDoubles=function(f,d){if(this.precomputed&amp;&amp;this.precomputed.doubles)return this.precomputed.doubles;for(var v=[this],y=this,p=0;p&lt;d;p+=f){for(var b=0;b&lt;f;b++)y=y.dbl();v.push(y)}return{step:f,points:v}},h.prototype._getNAFPoints=function(f){if(this.precomputed&amp;&amp;this.precomputed.naf)return this.precomputed.naf;for(var d=[this],v=(1&lt;&lt;f)-1,y=v===1?null:this.dbl(),p=1;p&lt;v;p++)d[p]=d[p-1].add(y);return{wnd:f,points:d}},h.prototype._getBeta=function(){return null},h.prototype.dblp=function(f){for(var d=this,v=0;v&lt;f;v++)d=d.dbl();return d}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],407:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;./base&quot;),i=s.assert;function c(f){this.twisted=(0|f.a)!=1,this.mOneA=this.twisted&amp;&amp;(0|f.a)==-1,this.extended=this.mOneA,l.call(this,&quot;edwards&quot;,f),this.a=new a(f.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(f.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(f.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),i(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|f.c)==1}function h(f,d,v,y,p){l.BasePoint.call(this,f,&quot;projective&quot;),d===null&amp;&amp;v===null&amp;&amp;y===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(d,16),this.y=new a(v,16),this.z=y?new a(y,16):this.curve.one,this.t=p&amp;&amp;new a(p,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(c,l),n.exports=c,c.prototype._mulA=function(f){return this.mOneA?f.redNeg():this.a.redMul(f)},c.prototype._mulC=function(f){return this.oneC?f:this.c.redMul(f)},c.prototype.jpoint=function(f,d,v,y){return this.point(f,d,v,y)},c.prototype.pointFromX=function(f,d){(f=new a(f,16)).red||(f=f.toRed(this.red));var v=f.redSqr(),y=this.c2.redSub(this.a.redMul(v)),p=this.one.redSub(this.c2.redMul(this.d).redMul(v)),b=y.redMul(p.redInvm()),x=b.redSqrt();if(x.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var _=x.fromRed().isOdd();return(d&amp;&amp;!_||!d&amp;&amp;_)&amp;&amp;(x=x.redNeg()),this.point(f,x)},c.prototype.pointFromY=function(f,d){(f=new a(f,16)).red||(f=f.toRed(this.red));var v=f.redSqr(),y=v.redSub(this.c2),p=v.redMul(this.d).redMul(this.c2).redSub(this.a),b=y.redMul(p.redInvm());if(b.cmp(this.zero)===0){if(d)throw new Error(&quot;invalid point&quot;);return this.point(this.zero,f)}var x=b.redSqrt();if(x.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);return x.fromRed().isOdd()!==d&amp;&amp;(x=x.redNeg()),this.point(x,f)},c.prototype.validate=function(f){if(f.isInfinity())return!0;f.normalize();var d=f.x.redSqr(),v=f.y.redSqr(),y=d.redMul(this.a).redAdd(v),p=this.c2.redMul(this.one.redAdd(this.d.redMul(d).redMul(v)));return y.cmp(p)===0},u(h,l.BasePoint),c.prototype.pointFromJSON=function(f){return h.fromJSON(this,f)},c.prototype.point=function(f,d,v,y){return new h(this,f,d,v,y)},h.fromJSON=function(f,d){return new h(f,d[0],d[1],d[2])},h.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;},h.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)},h.prototype._extDbl=function(){var f=this.x.redSqr(),d=this.y.redSqr(),v=this.z.redSqr();v=v.redIAdd(v);var y=this.curve._mulA(f),p=this.x.redAdd(this.y).redSqr().redISub(f).redISub(d),b=y.redAdd(d),x=b.redSub(v),_=y.redSub(d),E=p.redMul(x),M=b.redMul(_),D=p.redMul(_),W=x.redMul(b);return this.curve.point(E,M,W,D)},h.prototype._projDbl=function(){var f,d,v,y,p,b,x=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),E=this.y.redSqr();if(this.curve.twisted){var M=(y=this.curve._mulA(_)).redAdd(E);this.zOne?(f=x.redSub(_).redSub(E).redMul(M.redSub(this.curve.two)),d=M.redMul(y.redSub(E)),v=M.redSqr().redSub(M).redSub(M)):(p=this.z.redSqr(),b=M.redSub(p).redISub(p),f=x.redSub(_).redISub(E).redMul(b),d=M.redMul(y.redSub(E)),v=M.redMul(b))}else y=_.redAdd(E),p=this.curve._mulC(this.z).redSqr(),b=y.redSub(p).redSub(p),f=this.curve._mulC(x.redISub(y)).redMul(b),d=this.curve._mulC(y).redMul(_.redISub(E)),v=y.redMul(b);return this.curve.point(f,d,v)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},h.prototype._extAdd=function(f){var d=this.y.redSub(this.x).redMul(f.y.redSub(f.x)),v=this.y.redAdd(this.x).redMul(f.y.redAdd(f.x)),y=this.t.redMul(this.curve.dd).redMul(f.t),p=this.z.redMul(f.z.redAdd(f.z)),b=v.redSub(d),x=p.redSub(y),_=p.redAdd(y),E=v.redAdd(d),M=b.redMul(x),D=_.redMul(E),W=b.redMul(E),L=x.redMul(_);return this.curve.point(M,D,L,W)},h.prototype._projAdd=function(f){var d,v,y=this.z.redMul(f.z),p=y.redSqr(),b=this.x.redMul(f.x),x=this.y.redMul(f.y),_=this.curve.d.redMul(b).redMul(x),E=p.redSub(_),M=p.redAdd(_),D=this.x.redAdd(this.y).redMul(f.x.redAdd(f.y)).redISub(b).redISub(x),W=y.redMul(E).redMul(D);return this.curve.twisted?(d=y.redMul(M).redMul(x.redSub(this.curve._mulA(b))),v=E.redMul(M)):(d=y.redMul(M).redMul(x.redSub(b)),v=this.curve._mulC(E).redMul(M)),this.curve.point(W,d,v)},h.prototype.add=function(f){return this.isInfinity()?f:f.isInfinity()?this:this.curve.extended?this._extAdd(f):this._projAdd(f)},h.prototype.mul=function(f){return this._hasDoubles(f)?this.curve._fixedNafMul(this,f):this.curve._wnafMul(this,f)},h.prototype.mulAdd=function(f,d,v){return this.curve._wnafMulAdd(1,[this,d],[f,v],2,!1)},h.prototype.jmulAdd=function(f,d,v){return this.curve._wnafMulAdd(1,[this,d],[f,v],2,!0)},h.prototype.normalize=function(){if(this.zOne)return this;var f=this.z.redInvm();return this.x=this.x.redMul(f),this.y=this.y.redMul(f),this.t&amp;&amp;(this.t=this.t.redMul(f)),this.z=this.curve.one,this.zOne=!0,this},h.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&amp;&amp;this.t.redNeg())},h.prototype.getX=function(){return this.normalize(),this.x.fromRed()},h.prototype.getY=function(){return this.normalize(),this.y.fromRed()},h.prototype.eq=function(f){return this===f||this.getX().cmp(f.getX())===0&amp;&amp;this.getY().cmp(f.getY())===0},h.prototype.eqXToP=function(f){var d=f.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(d)===0)return!0;for(var v=f.clone(),y=this.curve.redN.redMul(this.z);;){if(v.iadd(this.curve.n),v.cmp(this.curve.p)&gt;=0)return!1;if(d.redIAdd(y),this.x.cmp(d)===0)return!0}},h.prototype.toP=h.prototype.normalize,h.prototype.mixedAdd=h.prototype.add},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],408:[function(t,n,o){var s=o;s.base=t(&quot;./base&quot;),s.short=t(&quot;./short&quot;),s.mont=t(&quot;./mont&quot;),s.edwards=t(&quot;./edwards&quot;)},{&quot;./base&quot;:406,&quot;./edwards&quot;:407,&quot;./mont&quot;:409,&quot;./short&quot;:410}],409:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./base&quot;),l=t(&quot;../utils&quot;);function i(h){u.call(this,&quot;mont&quot;,h),this.a=new s(h.a,16).toRed(this.red),this.b=new s(h.b,16).toRed(this.red),this.i4=new s(4).toRed(this.red).redInvm(),this.two=new s(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(h,f,d){u.BasePoint.call(this,h,&quot;projective&quot;),f===null&amp;&amp;d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new s(f,16),this.z=new s(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(i,u),n.exports=i,i.prototype.validate=function(h){var f=h.normalize().x,d=f.redSqr(),v=d.redMul(f).redAdd(d.redMul(this.a)).redAdd(f);return v.redSqrt().redSqr().cmp(v)===0},a(c,u.BasePoint),i.prototype.decodePoint=function(h,f){return this.point(l.toArray(h,f),1)},i.prototype.point=function(h,f){return new c(this,h,f)},i.prototype.pointFromJSON=function(h){return c.fromJSON(this,h)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray(&quot;be&quot;,this.curve.p.byteLength())},c.fromJSON=function(h,f){return new c(h,f[0],f[1]||h.one)},c.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;},c.prototype.isInfinity=function(){return this.z.cmpn(0)===0},c.prototype.dbl=function(){var h=this.x.redAdd(this.z).redSqr(),f=this.x.redSub(this.z).redSqr(),d=h.redSub(f),v=h.redMul(f),y=d.redMul(f.redAdd(this.curve.a24.redMul(d)));return this.curve.point(v,y)},c.prototype.add=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.diffAdd=function(h,f){var d=this.x.redAdd(this.z),v=this.x.redSub(this.z),y=h.x.redAdd(h.z),p=h.x.redSub(h.z).redMul(d),b=y.redMul(v),x=f.z.redMul(p.redAdd(b).redSqr()),_=f.x.redMul(p.redISub(b).redSqr());return this.curve.point(x,_)},c.prototype.mul=function(h){for(var f=h.clone(),d=this,v=this.curve.point(null,null),y=[];f.cmpn(0)!==0;f.iushrn(1))y.push(f.andln(1));for(var p=y.length-1;p&gt;=0;p--)y[p]===0?(d=d.diffAdd(v,this),v=v.dbl()):(v=d.diffAdd(v,this),d=d.dbl());return v},c.prototype.mulAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.jumlAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.eq=function(h){return this.getX().cmp(h.getX())===0},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],410:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;./base&quot;),i=s.assert;function c(d){l.call(this,&quot;short&quot;,d),this.a=new a(d.a,16).toRed(this.red),this.b=new a(d.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(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function h(d,v,y,p){l.BasePoint.call(this,d,&quot;affine&quot;),v===null&amp;&amp;y===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(v,16),this.y=new a(y,16),p&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 f(d,v,y,p){l.BasePoint.call(this,d,&quot;jacobian&quot;),v===null&amp;&amp;y===null&amp;&amp;p===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(v,16),this.y=new a(y,16),this.z=new a(p,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(c,l),n.exports=c,c.prototype._getEndomorphism=function(d){if(this.zeroA&amp;&amp;this.g&amp;&amp;this.n&amp;&amp;this.p.modn(3)===1){var v,y;if(d.beta)v=new a(d.beta,16).toRed(this.red);else{var p=this._getEndoRoots(this.p);v=(v=p[0].cmp(p[1])&lt;0?p[0]:p[1]).toRed(this.red)}if(d.lambda)y=new a(d.lambda,16);else{var b=this._getEndoRoots(this.n);this.g.mul(b[0]).x.cmp(this.g.x.redMul(v))===0?y=b[0]:(y=b[1],i(this.g.mul(y).x.cmp(this.g.x.redMul(v))===0))}return{beta:v,lambda:y,basis:d.basis?d.basis.map((function(x){return{a:new a(x.a,16),b:new a(x.b,16)}})):this._getEndoBasis(y)}}},c.prototype._getEndoRoots=function(d){var v=d===this.p?this.red:a.mont(d),y=new a(2).toRed(v).redInvm(),p=y.redNeg(),b=new a(3).toRed(v).redNeg().redSqrt().redMul(y);return[p.redAdd(b).fromRed(),p.redSub(b).fromRed()]},c.prototype._getEndoBasis=function(d){for(var v,y,p,b,x,_,E,M,D,W=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=d,V=this.n.clone(),H=new a(1),K=new a(0),z=new a(0),O=new a(1),I=0;L.cmpn(0)!==0;){var C=V.div(L);M=V.sub(C.mul(L)),D=z.sub(C.mul(H));var j=O.sub(C.mul(K));if(!p&amp;&amp;M.cmp(W)&lt;0)v=E.neg(),y=H,p=M.neg(),b=D;else if(p&amp;&amp;++I==2)break;E=M,V=L,L=M,z=H,H=D,O=K,K=j}x=M.neg(),_=D;var k=p.sqr().add(b.sqr());return x.sqr().add(_.sqr()).cmp(k)&gt;=0&amp;&amp;(x=v,_=y),p.negative&amp;&amp;(p=p.neg(),b=b.neg()),x.negative&amp;&amp;(x=x.neg(),_=_.neg()),[{a:p,b},{a:x,b:_}]},c.prototype._endoSplit=function(d){var v=this.endo.basis,y=v[0],p=v[1],b=p.b.mul(d).divRound(this.n),x=y.b.neg().mul(d).divRound(this.n),_=b.mul(y.a),E=x.mul(p.a),M=b.mul(y.b),D=x.mul(p.b);return{k1:d.sub(_).sub(E),k2:M.add(D).neg()}},c.prototype.pointFromX=function(d,v){(d=new a(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr().redMul(d).redIAdd(d.redMul(this.a)).redIAdd(this.b),p=y.redSqrt();if(p.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var b=p.fromRed().isOdd();return(v&amp;&amp;!b||!v&amp;&amp;b)&amp;&amp;(p=p.redNeg()),this.point(d,p)},c.prototype.validate=function(d){if(d.inf)return!0;var v=d.x,y=d.y,p=this.a.redMul(v),b=v.redSqr().redMul(v).redIAdd(p).redIAdd(this.b);return y.redSqr().redISub(b).cmpn(0)===0},c.prototype._endoWnafMulAdd=function(d,v,y){for(var p=this._endoWnafT1,b=this._endoWnafT2,x=0;x&lt;d.length;x++){var _=this._endoSplit(v[x]),E=d[x],M=E._getBeta();_.k1.negative&amp;&amp;(_.k1.ineg(),E=E.neg(!0)),_.k2.negative&amp;&amp;(_.k2.ineg(),M=M.neg(!0)),p[2*x]=E,p[2*x+1]=M,b[2*x]=_.k1,b[2*x+1]=_.k2}for(var D=this._wnafMulAdd(1,p,b,2*x,y),W=0;W&lt;2*x;W++)p[W]=null,b[W]=null;return D},u(h,l.BasePoint),c.prototype.point=function(d,v,y){return new h(this,d,v,y)},c.prototype.pointFromJSON=function(d,v){return h.fromJSON(this,d,v)},h.prototype._getBeta=function(){if(this.curve.endo){var d=this.precomputed;if(d&amp;&amp;d.beta)return d.beta;var v=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(d){var y=this.curve,p=function(b){return y.point(b.x.redMul(y.endo.beta),b.y)};d.beta=v,v.precomputed={beta:null,naf:d.naf&amp;&amp;{wnd:d.naf.wnd,points:d.naf.points.map(p)},doubles:d.doubles&amp;&amp;{step:d.doubles.step,points:d.doubles.points.map(p)}}}return v}},h.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]},h.fromJSON=function(d,v,y){typeof v==&quot;string&quot;&amp;&amp;(v=JSON.parse(v));var p=d.point(v[0],v[1],y);if(!v[2])return p;function b(_){return d.point(_[0],_[1],y)}var x=v[2];return p.precomputed={beta:null,doubles:x.doubles&amp;&amp;{step:x.doubles.step,points:[p].concat(x.doubles.points.map(b))},naf:x.naf&amp;&amp;{wnd:x.naf.wnd,points:[p].concat(x.naf.points.map(b))}},p},h.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;},h.prototype.isInfinity=function(){return this.inf},h.prototype.add=function(d){if(this.inf)return d;if(d.inf)return this;if(this.eq(d))return this.dbl();if(this.neg().eq(d))return this.curve.point(null,null);if(this.x.cmp(d.x)===0)return this.curve.point(null,null);var v=this.y.redSub(d.y);v.cmpn(0)!==0&amp;&amp;(v=v.redMul(this.x.redSub(d.x).redInvm()));var y=v.redSqr().redISub(this.x).redISub(d.x),p=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,p)},h.prototype.dbl=function(){if(this.inf)return this;var d=this.y.redAdd(this.y);if(d.cmpn(0)===0)return this.curve.point(null,null);var v=this.curve.a,y=this.x.redSqr(),p=d.redInvm(),b=y.redAdd(y).redIAdd(y).redIAdd(v).redMul(p),x=b.redSqr().redISub(this.x.redAdd(this.x)),_=b.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,_)},h.prototype.getX=function(){return this.x.fromRed()},h.prototype.getY=function(){return this.y.fromRed()},h.prototype.mul=function(d){return d=new a(d,16),this.isInfinity()?this:this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve.endo?this.curve._endoWnafMulAdd([this],[d]):this.curve._wnafMul(this,d)},h.prototype.mulAdd=function(d,v,y){var p=[this,v],b=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,b):this.curve._wnafMulAdd(1,p,b,2)},h.prototype.jmulAdd=function(d,v,y){var p=[this,v],b=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,b,!0):this.curve._wnafMulAdd(1,p,b,2,!0)},h.prototype.eq=function(d){return this===d||this.inf===d.inf&amp;&amp;(this.inf||this.x.cmp(d.x)===0&amp;&amp;this.y.cmp(d.y)===0)},h.prototype.neg=function(d){if(this.inf)return this;var v=this.curve.point(this.x,this.y.redNeg());if(d&amp;&amp;this.precomputed){var y=this.precomputed,p=function(b){return b.neg()};v.precomputed={naf:y.naf&amp;&amp;{wnd:y.naf.wnd,points:y.naf.points.map(p)},doubles:y.doubles&amp;&amp;{step:y.doubles.step,points:y.doubles.points.map(p)}}}return v},h.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(f,l.BasePoint),c.prototype.jpoint=function(d,v,y){return new f(this,d,v,y)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var d=this.z.redInvm(),v=d.redSqr(),y=this.x.redMul(v),p=this.y.redMul(v).redMul(d);return this.curve.point(y,p)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(d){if(this.isInfinity())return d;if(d.isInfinity())return this;var v=d.z.redSqr(),y=this.z.redSqr(),p=this.x.redMul(v),b=d.x.redMul(y),x=this.y.redMul(v.redMul(d.z)),_=d.y.redMul(y.redMul(this.z)),E=p.redSub(b),M=x.redSub(_);if(E.cmpn(0)===0)return M.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var D=E.redSqr(),W=D.redMul(E),L=p.redMul(D),V=M.redSqr().redIAdd(W).redISub(L).redISub(L),H=M.redMul(L.redISub(V)).redISub(x.redMul(W)),K=this.z.redMul(d.z).redMul(E);return this.curve.jpoint(V,H,K)},f.prototype.mixedAdd=function(d){if(this.isInfinity())return d.toJ();if(d.isInfinity())return this;var v=this.z.redSqr(),y=this.x,p=d.x.redMul(v),b=this.y,x=d.y.redMul(v).redMul(this.z),_=y.redSub(p),E=b.redSub(x);if(_.cmpn(0)===0)return E.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var M=_.redSqr(),D=M.redMul(_),W=y.redMul(M),L=E.redSqr().redIAdd(D).redISub(W).redISub(W),V=E.redMul(W.redISub(L)).redISub(b.redMul(D)),H=this.z.redMul(_);return this.curve.jpoint(L,V,H)},f.prototype.dblp=function(d){if(d===0)return this;if(this.isInfinity())return this;if(!d)return this.dbl();var v;if(this.curve.zeroA||this.curve.threeA){var y=this;for(v=0;v&lt;d;v++)y=y.dbl();return y}var p=this.curve.a,b=this.curve.tinv,x=this.x,_=this.y,E=this.z,M=E.redSqr().redSqr(),D=_.redAdd(_);for(v=0;v&lt;d;v++){var W=x.redSqr(),L=D.redSqr(),V=L.redSqr(),H=W.redAdd(W).redIAdd(W).redIAdd(p.redMul(M)),K=x.redMul(L),z=H.redSqr().redISub(K.redAdd(K)),O=K.redISub(z),I=H.redMul(O);I=I.redIAdd(I).redISub(V);var C=D.redMul(E);v+1&lt;d&amp;&amp;(M=M.redMul(V)),x=z,E=C,D=I}return this.curve.jpoint(x,D.redMul(b),E)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var d,v,y;if(this.zOne){var p=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(p).redISub(x);_=_.redIAdd(_);var E=p.redAdd(p).redIAdd(p),M=E.redSqr().redISub(_).redISub(_),D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),d=M,v=E.redMul(_.redISub(M)).redISub(D),y=this.y.redAdd(this.y)}else{var W=this.x.redSqr(),L=this.y.redSqr(),V=L.redSqr(),H=this.x.redAdd(L).redSqr().redISub(W).redISub(V);H=H.redIAdd(H);var K=W.redAdd(W).redIAdd(W),z=K.redSqr(),O=V.redIAdd(V);O=(O=O.redIAdd(O)).redIAdd(O),d=z.redISub(H).redISub(H),v=K.redMul(H.redISub(d)).redISub(O),y=(y=this.y.redMul(this.z)).redIAdd(y)}return this.curve.jpoint(d,v,y)},f.prototype._threeDbl=function(){var d,v,y;if(this.zOne){var p=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(p).redISub(x);_=_.redIAdd(_);var E=p.redAdd(p).redIAdd(p).redIAdd(this.curve.a),M=E.redSqr().redISub(_).redISub(_);d=M;var D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),v=E.redMul(_.redISub(M)).redISub(D),y=this.y.redAdd(this.y)}else{var W=this.z.redSqr(),L=this.y.redSqr(),V=this.x.redMul(L),H=this.x.redSub(W).redMul(this.x.redAdd(W));H=H.redAdd(H).redIAdd(H);var K=V.redIAdd(V),z=(K=K.redIAdd(K)).redAdd(K);d=H.redSqr().redISub(z),y=this.y.redAdd(this.z).redSqr().redISub(L).redISub(W);var O=L.redSqr();O=(O=(O=O.redIAdd(O)).redIAdd(O)).redIAdd(O),v=H.redMul(K.redISub(d)).redISub(O)}return this.curve.jpoint(d,v,y)},f.prototype._dbl=function(){var d=this.curve.a,v=this.x,y=this.y,p=this.z,b=p.redSqr().redSqr(),x=v.redSqr(),_=y.redSqr(),E=x.redAdd(x).redIAdd(x).redIAdd(d.redMul(b)),M=v.redAdd(v),D=(M=M.redIAdd(M)).redMul(_),W=E.redSqr().redISub(D.redAdd(D)),L=D.redISub(W),V=_.redSqr();V=(V=(V=V.redIAdd(V)).redIAdd(V)).redIAdd(V);var H=E.redMul(L).redISub(V),K=y.redAdd(y).redMul(p);return this.curve.jpoint(W,H,K)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var d=this.x.redSqr(),v=this.y.redSqr(),y=this.z.redSqr(),p=v.redSqr(),b=d.redAdd(d).redIAdd(d),x=b.redSqr(),_=this.x.redAdd(v).redSqr().redISub(d).redISub(p),E=(_=(_=(_=_.redIAdd(_)).redAdd(_).redIAdd(_)).redISub(x)).redSqr(),M=p.redIAdd(p);M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var D=b.redIAdd(_).redSqr().redISub(x).redISub(E).redISub(M),W=v.redMul(D);W=(W=W.redIAdd(W)).redIAdd(W);var L=this.x.redMul(E).redISub(W);L=(L=L.redIAdd(L)).redIAdd(L);var V=this.y.redMul(D.redMul(M.redISub(D)).redISub(_.redMul(E)));V=(V=(V=V.redIAdd(V)).redIAdd(V)).redIAdd(V);var H=this.z.redAdd(_).redSqr().redISub(y).redISub(E);return this.curve.jpoint(L,V,H)},f.prototype.mul=function(d,v){return d=new a(d,v),this.curve._wnafMul(this,d)},f.prototype.eq=function(d){if(d.type===&quot;affine&quot;)return this.eq(d.toJ());if(this===d)return!0;var v=this.z.redSqr(),y=d.z.redSqr();if(this.x.redMul(y).redISub(d.x.redMul(v)).cmpn(0)!==0)return!1;var p=v.redMul(this.z),b=y.redMul(d.z);return this.y.redMul(b).redISub(d.y.redMul(p)).cmpn(0)===0},f.prototype.eqXToP=function(d){var v=this.z.redSqr(),y=d.toRed(this.curve.red).redMul(v);if(this.x.cmp(y)===0)return!0;for(var p=d.clone(),b=this.curve.redN.redMul(v);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)&gt;=0)return!1;if(y.redIAdd(b),this.x.cmp(y)===0)return!0}},f.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;},f.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],411:[function(t,n,o){var s,a=o,u=t(&quot;hash.js&quot;),l=t(&quot;./curve&quot;),i=t(&quot;./utils&quot;).assert;function c(f){f.type===&quot;short&quot;?this.curve=new l.short(f):f.type===&quot;edwards&quot;?this.curve=new l.edwards(f):this.curve=new l.mont(f),this.g=this.curve.g,this.n=this.curve.n,this.hash=f.hash,i(this.g.validate(),&quot;Invalid curve&quot;),i(this.g.mul(this.n).isInfinity(),&quot;Invalid curve, G*N != O&quot;)}function h(f,d){Object.defineProperty(a,f,{configurable:!0,enumerable:!0,get:function(){var v=new c(d);return Object.defineProperty(a,f,{configurable:!0,enumerable:!0,value:v}),v}})}a.PresetCurve=c,h(&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;]}),h(&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;]}),h(&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;]}),h(&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;]}),h(&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;]}),h(&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;]}),h(&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{s=t(&quot;./precomputed/secp256k1&quot;)}catch{s=void 0}h(&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;,s]})},{&quot;./curve&quot;:408,&quot;./precomputed/secp256k1&quot;:418,&quot;./utils&quot;:419,&quot;hash.js&quot;:426}],412:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;hmac-drbg&quot;),u=t(&quot;../utils&quot;),l=t(&quot;../curves&quot;),i=t(&quot;brorand&quot;),c=u.assert,h=t(&quot;./key&quot;),f=t(&quot;./signature&quot;);function d(v){if(!(this instanceof d))return new d(v);typeof v==&quot;string&quot;&amp;&amp;(c(Object.prototype.hasOwnProperty.call(l,v),&quot;Unknown curve &quot;+v),v=l[v]),v instanceof l.PresetCurve&amp;&amp;(v={curve:v}),this.curve=v.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=v.curve.g,this.g.precompute(v.curve.n.bitLength()+1),this.hash=v.hash||v.curve.hash}n.exports=d,d.prototype.keyPair=function(v){return new h(this,v)},d.prototype.keyFromPrivate=function(v,y){return h.fromPrivate(this,v,y)},d.prototype.keyFromPublic=function(v,y){return h.fromPublic(this,v,y)},d.prototype.genKeyPair=function(v){v||(v={});for(var y=new a({hash:this.hash,pers:v.pers,persEnc:v.persEnc||&quot;utf8&quot;,entropy:v.entropy||i(this.hash.hmacStrength),entropyEnc:v.entropy&amp;&amp;v.entropyEnc||&quot;utf8&quot;,nonce:this.n.toArray()}),p=this.n.byteLength(),b=this.n.sub(new s(2));;){var x=new s(y.generate(p));if(!(x.cmp(b)&gt;0))return x.iaddn(1),this.keyFromPrivate(x)}},d.prototype._truncateToN=function(v,y){var p=8*v.byteLength()-this.n.bitLength();return p&gt;0&amp;&amp;(v=v.ushrn(p)),!y&amp;&amp;v.cmp(this.n)&gt;=0?v.sub(this.n):v},d.prototype.sign=function(v,y,p,b){typeof p==&quot;object&quot;&amp;&amp;(b=p,p=null),b||(b={}),y=this.keyFromPrivate(y,p),v=this._truncateToN(new s(v,16));for(var x=this.n.byteLength(),_=y.getPrivate().toArray(&quot;be&quot;,x),E=v.toArray(&quot;be&quot;,x),M=new a({hash:this.hash,entropy:_,nonce:E,pers:b.pers,persEnc:b.persEnc||&quot;utf8&quot;}),D=this.n.sub(new s(1)),W=0;;W++){var L=b.k?b.k(W):new s(M.generate(this.n.byteLength()));if(!((L=this._truncateToN(L,!0)).cmpn(1)&lt;=0||L.cmp(D)&gt;=0)){var V=this.g.mul(L);if(!V.isInfinity()){var H=V.getX(),K=H.umod(this.n);if(K.cmpn(0)!==0){var z=L.invm(this.n).mul(K.mul(y.getPrivate()).iadd(v));if((z=z.umod(this.n)).cmpn(0)!==0){var O=(V.getY().isOdd()?1:0)|(H.cmp(K)!==0?2:0);return b.canonical&amp;&amp;z.cmp(this.nh)&gt;0&amp;&amp;(z=this.n.sub(z),O^=1),new f({r:K,s:z,recoveryParam:O})}}}}}},d.prototype.verify=function(v,y,p,b){v=this._truncateToN(new s(v,16)),p=this.keyFromPublic(p,b);var x=(y=new f(y,&quot;hex&quot;)).r,_=y.s;if(x.cmpn(1)&lt;0||x.cmp(this.n)&gt;=0||_.cmpn(1)&lt;0||_.cmp(this.n)&gt;=0)return!1;var E,M=_.invm(this.n),D=M.mul(v).umod(this.n),W=M.mul(x).umod(this.n);return this.curve._maxwellTrick?!(E=this.g.jmulAdd(D,p.getPublic(),W)).isInfinity()&amp;&amp;E.eqXToP(x):!(E=this.g.mulAdd(D,p.getPublic(),W)).isInfinity()&amp;&amp;E.getX().umod(this.n).cmp(x)===0},d.prototype.recoverPubKey=function(v,y,p,b){c((3&amp;p)===p,&quot;The recovery param is more than two bits&quot;),y=new f(y,b);var x=this.n,_=new s(v),E=y.r,M=y.s,D=1&amp;p,W=p&gt;&gt;1;if(E.cmp(this.curve.p.umod(this.curve.n))&gt;=0&amp;&amp;W)throw new Error(&quot;Unable to find sencond key candinate&quot;);E=W?this.curve.pointFromX(E.add(this.curve.n),D):this.curve.pointFromX(E,D);var L=y.r.invm(x),V=x.sub(_).mul(L).umod(x),H=M.mul(L).umod(x);return this.g.mulAdd(V,E,H)},d.prototype.getKeyRecoveryParam=function(v,y,p,b){if((y=new f(y,b)).recoveryParam!==null)return y.recoveryParam;for(var x=0;x&lt;4;x++){var _;try{_=this.recoverPubKey(v,y,x)}catch{continue}if(_.eq(p))return x}throw new Error(&quot;Unable to find valid recovery factor&quot;)}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:413,&quot;./signature&quot;:414,&quot;bn.js&quot;:420,brorand:187,&quot;hmac-drbg&quot;:438}],413:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;).assert;function u(l,i){this.ec=l,this.priv=null,this.pub=null,i.priv&amp;&amp;this._importPrivate(i.priv,i.privEnc),i.pub&amp;&amp;this._importPublic(i.pub,i.pubEnc)}n.exports=u,u.fromPublic=function(l,i,c){return i instanceof u?i:new u(l,{pub:i,pubEnc:c})},u.fromPrivate=function(l,i,c){return i instanceof u?i:new u(l,{priv:i,privEnc:c})},u.prototype.validate=function(){var l=this.getPublic();return l.isInfinity()?{result:!1,reason:&quot;Invalid public key&quot;}:l.validate()?l.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:&quot;Public key * N != O&quot;}:{result:!1,reason:&quot;Public key is not a point&quot;}},u.prototype.getPublic=function(l,i){return typeof l==&quot;string&quot;&amp;&amp;(i=l,l=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),i?this.pub.encode(i,l):this.pub},u.prototype.getPrivate=function(l){return l===&quot;hex&quot;?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(l,i){this.priv=new s(l,i||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(l,i){if(l.x||l.y)return this.ec.curve.type===&quot;mont&quot;?a(l.x,&quot;Need x coordinate&quot;):this.ec.curve.type!==&quot;short&quot;&amp;&amp;this.ec.curve.type!==&quot;edwards&quot;||a(l.x&amp;&amp;l.y,&quot;Need both x and y coordinate&quot;),void(this.pub=this.ec.curve.point(l.x,l.y));this.pub=this.ec.curve.decodePoint(l,i)},u.prototype.derive=function(l){return l.validate()||a(l.validate(),&quot;public point not validated&quot;),l.mul(this.priv).getX()},u.prototype.sign=function(l,i,c){return this.ec.sign(l,this,i,c)},u.prototype.verify=function(l,i){return this.ec.verify(l,i,this)},u.prototype.inspect=function(){return&quot;&lt;Key priv: &quot;+(this.priv&amp;&amp;this.priv.toString(16,2))+&quot; pub: &quot;+(this.pub&amp;&amp;this.pub.inspect())+&quot; &gt;&quot;}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],414:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert;function l(d,v){if(d instanceof l)return d;this._importDER(d,v)||(u(d.r&amp;&amp;d.s,&quot;Signature without r or s&quot;),this.r=new s(d.r,16),this.s=new s(d.s,16),d.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=d.recoveryParam)}function i(){this.place=0}function c(d,v){var y=d[v.place++];if(!(128&amp;y))return y;var p=15&amp;y;if(p===0||p&gt;4)return!1;for(var b=0,x=0,_=v.place;x&lt;p;x++,_++)b&lt;&lt;=8,b|=d[_],b&gt;&gt;&gt;=0;return!(b&lt;=127)&amp;&amp;(v.place=_,b)}function h(d){for(var v=0,y=d.length-1;!d[v]&amp;&amp;!(128&amp;d[v+1])&amp;&amp;v&lt;y;)v++;return v===0?d:d.slice(v)}function f(d,v){if(v&lt;128)d.push(v);else{var y=1+(Math.log(v)/Math.LN2&gt;&gt;&gt;3);for(d.push(128|y);--y;)d.push(v&gt;&gt;&gt;(y&lt;&lt;3)&amp;255);d.push(v)}}n.exports=l,l.prototype._importDER=function(d,v){d=a.toArray(d,v);var y=new i;if(d[y.place++]!==48)return!1;var p=c(d,y);if(p===!1||p+y.place!==d.length||d[y.place++]!==2)return!1;var b=c(d,y);if(b===!1)return!1;var x=d.slice(y.place,b+y.place);if(y.place+=b,d[y.place++]!==2)return!1;var _=c(d,y);if(_===!1||d.length!==_+y.place)return!1;var E=d.slice(y.place,_+y.place);if(x[0]===0){if(!(128&amp;x[1]))return!1;x=x.slice(1)}if(E[0]===0){if(!(128&amp;E[1]))return!1;E=E.slice(1)}return this.r=new s(x),this.s=new s(E),this.recoveryParam=null,!0},l.prototype.toDER=function(d){var v=this.r.toArray(),y=this.s.toArray();for(128&amp;v[0]&amp;&amp;(v=[0].concat(v)),128&amp;y[0]&amp;&amp;(y=[0].concat(y)),v=h(v),y=h(y);!(y[0]||128&amp;y[1]);)y=y.slice(1);var p=[2];f(p,v.length),(p=p.concat(v)).push(2),f(p,y.length);var b=p.concat(y),x=[48];return f(x,b.length),x=x.concat(b),a.encode(x,d)}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],415:[function(t,n,o){var s=t(&quot;hash.js&quot;),a=t(&quot;../curves&quot;),u=t(&quot;../utils&quot;),l=u.assert,i=u.parseBytes,c=t(&quot;./key&quot;),h=t(&quot;./signature&quot;);function f(d){if(l(d===&quot;ed25519&quot;,&quot;only tested with ed25519 so far&quot;),!(this instanceof f))return new f(d);d=a[d].curve,this.curve=d,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=s.sha512}n.exports=f,f.prototype.sign=function(d,v){d=i(d);var y=this.keyFromSecret(v),p=this.hashInt(y.messagePrefix(),d),b=this.g.mul(p),x=this.encodePoint(b),_=this.hashInt(x,y.pubBytes(),d).mul(y.priv()),E=p.add(_).umod(this.curve.n);return this.makeSignature({R:b,S:E,Rencoded:x})},f.prototype.verify=function(d,v,y){d=i(d),v=this.makeSignature(v);var p=this.keyFromPublic(y),b=this.hashInt(v.Rencoded(),p.pubBytes(),d),x=this.g.mul(v.S());return v.R().add(p.pub().mul(b)).eq(x)},f.prototype.hashInt=function(){for(var d=this.hash(),v=0;v&lt;arguments.length;v++)d.update(arguments[v]);return u.intFromLE(d.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(d){return c.fromPublic(this,d)},f.prototype.keyFromSecret=function(d){return c.fromSecret(this,d)},f.prototype.makeSignature=function(d){return d instanceof h?d:new h(this,d)},f.prototype.encodePoint=function(d){var v=d.getY().toArray(&quot;le&quot;,this.encodingLength);return v[this.encodingLength-1]|=d.getX().isOdd()?128:0,v},f.prototype.decodePoint=function(d){var v=(d=u.parseBytes(d)).length-1,y=d.slice(0,v).concat(-129&amp;d[v]),p=(128&amp;d[v])!=0,b=u.intFromLE(y);return this.curve.pointFromY(b,p)},f.prototype.encodeInt=function(d){return d.toArray(&quot;le&quot;,this.encodingLength)},f.prototype.decodeInt=function(d){return u.intFromLE(d)},f.prototype.isPoint=function(d){return d instanceof this.pointClass}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:416,&quot;./signature&quot;:417,&quot;hash.js&quot;:426}],416:[function(t,n,o){var s=t(&quot;../utils&quot;),a=s.assert,u=s.parseBytes,l=s.cachedProperty;function i(c,h){this.eddsa=c,this._secret=u(h.secret),c.isPoint(h.pub)?this._pub=h.pub:this._pubBytes=u(h.pub)}i.fromPublic=function(c,h){return h instanceof i?h:new i(c,{pub:h})},i.fromSecret=function(c,h){return h instanceof i?h:new i(c,{secret:h})},i.prototype.secret=function(){return this._secret},l(i,&quot;pubBytes&quot;,(function(){return this.eddsa.encodePoint(this.pub())})),l(i,&quot;pub&quot;,(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),l(i,&quot;privBytes&quot;,(function(){var c=this.eddsa,h=this.hash(),f=c.encodingLength-1,d=h.slice(0,c.encodingLength);return d[0]&amp;=248,d[f]&amp;=127,d[f]|=64,d})),l(i,&quot;priv&quot;,(function(){return this.eddsa.decodeInt(this.privBytes())})),l(i,&quot;hash&quot;,(function(){return this.eddsa.hash().update(this.secret()).digest()})),l(i,&quot;messagePrefix&quot;,(function(){return this.hash().slice(this.eddsa.encodingLength)})),i.prototype.sign=function(c){return a(this._secret,&quot;KeyPair can only verify&quot;),this.eddsa.sign(c,this)},i.prototype.verify=function(c,h){return this.eddsa.verify(c,h,this)},i.prototype.getSecret=function(c){return a(this._secret,&quot;KeyPair is public only&quot;),s.encode(this.secret(),c)},i.prototype.getPublic=function(c){return s.encode(this.pubBytes(),c)},n.exports=i},{&quot;../utils&quot;:419}],417:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert,l=a.cachedProperty,i=a.parseBytes;function c(h,f){this.eddsa=h,typeof f!=&quot;object&quot;&amp;&amp;(f=i(f)),Array.isArray(f)&amp;&amp;(f={R:f.slice(0,h.encodingLength),S:f.slice(h.encodingLength)}),u(f.R&amp;&amp;f.S,&quot;Signature without R or S&quot;),h.isPoint(f.R)&amp;&amp;(this._R=f.R),f.S instanceof s&amp;&amp;(this._S=f.S),this._Rencoded=Array.isArray(f.R)?f.R:f.Rencoded,this._Sencoded=Array.isArray(f.S)?f.S:f.Sencoded}l(c,&quot;S&quot;,(function(){return this.eddsa.decodeInt(this.Sencoded())})),l(c,&quot;R&quot;,(function(){return this.eddsa.decodePoint(this.Rencoded())})),l(c,&quot;Rencoded&quot;,(function(){return this.eddsa.encodePoint(this.R())})),l(c,&quot;Sencoded&quot;,(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return a.encode(this.toBytes(),&quot;hex&quot;).toUpperCase()},n.exports=c},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],418:[function(t,n,o){n.exports={doubles:{step:4,points:[[&quot;e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a&quot;,&quot;f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821&quot;],[&quot;8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508&quot;,&quot;11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf&quot;],[&quot;175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739&quot;,&quot;d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695&quot;],[&quot;363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640&quot;,&quot;4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9&quot;],[&quot;8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c&quot;,&quot;4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36&quot;],[&quot;723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda&quot;,&quot;96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f&quot;],[&quot;eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa&quot;,&quot;5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999&quot;],[&quot;100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0&quot;,&quot;cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09&quot;],[&quot;e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d&quot;,&quot;9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d&quot;],[&quot;feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d&quot;,&quot;e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088&quot;],[&quot;da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1&quot;,&quot;9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d&quot;],[&quot;53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0&quot;,&quot;5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8&quot;],[&quot;8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047&quot;,&quot;10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a&quot;],[&quot;385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862&quot;,&quot;283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453&quot;],[&quot;6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7&quot;,&quot;7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160&quot;],[&quot;3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd&quot;,&quot;56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0&quot;],[&quot;85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83&quot;,&quot;7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6&quot;],[&quot;948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a&quot;,&quot;53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589&quot;],[&quot;6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8&quot;,&quot;bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17&quot;],[&quot;e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d&quot;,&quot;4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda&quot;],[&quot;e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725&quot;,&quot;7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd&quot;],[&quot;213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754&quot;,&quot;4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2&quot;],[&quot;4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c&quot;,&quot;17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6&quot;],[&quot;fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6&quot;,&quot;6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f&quot;],[&quot;76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39&quot;,&quot;c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01&quot;],[&quot;c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891&quot;,&quot;893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3&quot;],[&quot;d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b&quot;,&quot;febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f&quot;],[&quot;b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03&quot;,&quot;2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7&quot;],[&quot;e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d&quot;,&quot;eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78&quot;],[&quot;a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070&quot;,&quot;7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1&quot;],[&quot;90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4&quot;,&quot;e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150&quot;],[&quot;8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da&quot;,&quot;662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82&quot;],[&quot;e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11&quot;,&quot;1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc&quot;],[&quot;8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e&quot;,&quot;efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b&quot;],[&quot;e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41&quot;,&quot;2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51&quot;],[&quot;b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef&quot;,&quot;67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45&quot;],[&quot;d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8&quot;,&quot;db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120&quot;],[&quot;324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d&quot;,&quot;648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84&quot;],[&quot;4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96&quot;,&quot;35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d&quot;],[&quot;9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd&quot;,&quot;ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d&quot;],[&quot;6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5&quot;,&quot;9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8&quot;],[&quot;a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266&quot;,&quot;40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8&quot;],[&quot;7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71&quot;,&quot;34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac&quot;],[&quot;928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac&quot;,&quot;c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f&quot;],[&quot;85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751&quot;,&quot;1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962&quot;],[&quot;ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e&quot;,&quot;493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907&quot;],[&quot;827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241&quot;,&quot;c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec&quot;],[&quot;eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3&quot;,&quot;be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d&quot;],[&quot;e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f&quot;,&quot;4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414&quot;],[&quot;1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19&quot;,&quot;aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd&quot;],[&quot;146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be&quot;,&quot;b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0&quot;],[&quot;fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9&quot;,&quot;6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811&quot;],[&quot;da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2&quot;,&quot;8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1&quot;],[&quot;a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13&quot;,&quot;7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c&quot;],[&quot;174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c&quot;,&quot;ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73&quot;],[&quot;959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba&quot;,&quot;2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd&quot;],[&quot;d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151&quot;,&quot;e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405&quot;],[&quot;64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073&quot;,&quot;d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589&quot;],[&quot;8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458&quot;,&quot;38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e&quot;],[&quot;13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b&quot;,&quot;69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27&quot;],[&quot;bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366&quot;,&quot;d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1&quot;],[&quot;8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa&quot;,&quot;40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482&quot;],[&quot;8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0&quot;,&quot;620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945&quot;],[&quot;dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787&quot;,&quot;7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573&quot;],[&quot;f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e&quot;,&quot;ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82&quot;]]},naf:{wnd:7,points:[[&quot;f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9&quot;,&quot;388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672&quot;],[&quot;2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4&quot;,&quot;d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6&quot;],[&quot;5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc&quot;,&quot;6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da&quot;],[&quot;acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe&quot;,&quot;cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37&quot;],[&quot;774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb&quot;,&quot;d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b&quot;],[&quot;f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8&quot;,&quot;ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81&quot;],[&quot;d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e&quot;,&quot;581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58&quot;],[&quot;defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34&quot;,&quot;4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77&quot;],[&quot;2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c&quot;,&quot;85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a&quot;],[&quot;352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5&quot;,&quot;321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c&quot;],[&quot;2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f&quot;,&quot;2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67&quot;],[&quot;9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714&quot;,&quot;73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402&quot;],[&quot;daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729&quot;,&quot;a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55&quot;],[&quot;c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db&quot;,&quot;2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482&quot;],[&quot;6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4&quot;,&quot;e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82&quot;],[&quot;1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5&quot;,&quot;b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396&quot;],[&quot;605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479&quot;,&quot;2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49&quot;],[&quot;62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d&quot;,&quot;80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf&quot;],[&quot;80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f&quot;,&quot;1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a&quot;],[&quot;7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb&quot;,&quot;d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7&quot;],[&quot;d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9&quot;,&quot;eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933&quot;],[&quot;49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963&quot;,&quot;758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a&quot;],[&quot;77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74&quot;,&quot;958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6&quot;],[&quot;f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530&quot;,&quot;e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37&quot;],[&quot;463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b&quot;,&quot;5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e&quot;],[&quot;f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247&quot;,&quot;cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6&quot;],[&quot;caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1&quot;,&quot;cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476&quot;],[&quot;2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120&quot;,&quot;4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40&quot;],[&quot;7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435&quot;,&quot;91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61&quot;],[&quot;754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18&quot;,&quot;673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683&quot;],[&quot;e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8&quot;,&quot;59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5&quot;],[&quot;186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb&quot;,&quot;3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b&quot;],[&quot;df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f&quot;,&quot;55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417&quot;],[&quot;5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143&quot;,&quot;efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868&quot;],[&quot;290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba&quot;,&quot;e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a&quot;],[&quot;af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45&quot;,&quot;f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6&quot;],[&quot;766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a&quot;,&quot;744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996&quot;],[&quot;59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e&quot;,&quot;c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e&quot;],[&quot;f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8&quot;,&quot;e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d&quot;],[&quot;7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c&quot;,&quot;30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2&quot;],[&quot;948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519&quot;,&quot;e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e&quot;],[&quot;7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab&quot;,&quot;100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437&quot;],[&quot;3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca&quot;,&quot;ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311&quot;],[&quot;d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf&quot;,&quot;8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4&quot;],[&quot;1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610&quot;,&quot;68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575&quot;],[&quot;733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4&quot;,&quot;f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d&quot;],[&quot;15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c&quot;,&quot;d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d&quot;],[&quot;a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940&quot;,&quot;edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629&quot;],[&quot;e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980&quot;,&quot;a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06&quot;],[&quot;311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3&quot;,&quot;66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374&quot;],[&quot;34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf&quot;,&quot;9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee&quot;],[&quot;f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63&quot;,&quot;4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1&quot;],[&quot;d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448&quot;,&quot;fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b&quot;],[&quot;32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf&quot;,&quot;5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661&quot;],[&quot;7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5&quot;,&quot;8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6&quot;],[&quot;ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6&quot;,&quot;8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e&quot;],[&quot;16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5&quot;,&quot;5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d&quot;],[&quot;eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99&quot;,&quot;f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc&quot;],[&quot;78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51&quot;,&quot;f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4&quot;],[&quot;494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5&quot;,&quot;42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c&quot;],[&quot;a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5&quot;,&quot;204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b&quot;],[&quot;c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997&quot;,&quot;4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913&quot;],[&quot;841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881&quot;,&quot;73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154&quot;],[&quot;5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5&quot;,&quot;39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865&quot;],[&quot;36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66&quot;,&quot;d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc&quot;],[&quot;336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726&quot;,&quot;ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224&quot;],[&quot;8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede&quot;,&quot;6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e&quot;],[&quot;1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94&quot;,&quot;60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6&quot;],[&quot;85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31&quot;,&quot;3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511&quot;],[&quot;29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51&quot;,&quot;b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b&quot;],[&quot;a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252&quot;,&quot;ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2&quot;],[&quot;4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5&quot;,&quot;cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c&quot;],[&quot;d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b&quot;,&quot;6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3&quot;],[&quot;ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4&quot;,&quot;322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d&quot;],[&quot;af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f&quot;,&quot;6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700&quot;],[&quot;e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889&quot;,&quot;2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4&quot;],[&quot;591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246&quot;,&quot;b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196&quot;],[&quot;11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984&quot;,&quot;998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4&quot;],[&quot;3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a&quot;,&quot;b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257&quot;],[&quot;cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030&quot;,&quot;bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13&quot;],[&quot;c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197&quot;,&quot;6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096&quot;],[&quot;c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593&quot;,&quot;c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38&quot;],[&quot;a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef&quot;,&quot;21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f&quot;],[&quot;347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38&quot;,&quot;60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448&quot;],[&quot;da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a&quot;,&quot;49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a&quot;],[&quot;c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111&quot;,&quot;5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4&quot;],[&quot;4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502&quot;,&quot;7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437&quot;],[&quot;3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea&quot;,&quot;be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7&quot;],[&quot;cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26&quot;,&quot;8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d&quot;],[&quot;b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986&quot;,&quot;39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a&quot;],[&quot;d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e&quot;,&quot;62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54&quot;],[&quot;48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4&quot;,&quot;25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77&quot;],[&quot;dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda&quot;,&quot;ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517&quot;],[&quot;6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859&quot;,&quot;cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10&quot;],[&quot;e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f&quot;,&quot;f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125&quot;],[&quot;eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c&quot;,&quot;6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e&quot;],[&quot;13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942&quot;,&quot;fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1&quot;],[&quot;ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a&quot;,&quot;1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2&quot;],[&quot;b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80&quot;,&quot;5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423&quot;],[&quot;ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d&quot;,&quot;438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8&quot;],[&quot;8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1&quot;,&quot;cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758&quot;],[&quot;52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63&quot;,&quot;c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375&quot;],[&quot;e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352&quot;,&quot;6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d&quot;],[&quot;7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193&quot;,&quot;ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec&quot;],[&quot;5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00&quot;,&quot;9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0&quot;],[&quot;32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58&quot;,&quot;ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c&quot;],[&quot;e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7&quot;,&quot;d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4&quot;],[&quot;8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8&quot;,&quot;c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f&quot;],[&quot;4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e&quot;,&quot;67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649&quot;],[&quot;3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d&quot;,&quot;cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826&quot;],[&quot;674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b&quot;,&quot;299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5&quot;],[&quot;d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f&quot;,&quot;f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87&quot;],[&quot;30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6&quot;,&quot;462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b&quot;],[&quot;be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297&quot;,&quot;62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc&quot;],[&quot;93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a&quot;,&quot;7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c&quot;],[&quot;b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c&quot;,&quot;ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f&quot;],[&quot;d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52&quot;,&quot;4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a&quot;],[&quot;d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb&quot;,&quot;bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46&quot;],[&quot;463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065&quot;,&quot;bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f&quot;],[&quot;7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917&quot;,&quot;603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03&quot;],[&quot;74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9&quot;,&quot;cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08&quot;],[&quot;30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3&quot;,&quot;553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8&quot;],[&quot;9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57&quot;,&quot;712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373&quot;],[&quot;176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66&quot;,&quot;ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3&quot;],[&quot;75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8&quot;,&quot;9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8&quot;],[&quot;809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721&quot;,&quot;9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1&quot;],[&quot;1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180&quot;,&quot;4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9&quot;]]}}},{}],419:[function(t,n,o){var s=o,a=t(&quot;bn.js&quot;),u=t(&quot;minimalistic-assert&quot;),l=t(&quot;minimalistic-crypto-utils&quot;);s.assert=u,s.toArray=l.toArray,s.zero2=l.zero2,s.toHex=l.toHex,s.encode=l.encode,s.getNAF=function(i,c,h){var f=new Array(Math.max(i.bitLength(),h)+1);f.fill(0);for(var d=1&lt;&lt;c+1,v=i.clone(),y=0;y&lt;f.length;y++){var p,b=v.andln(d-1);v.isOdd()?(p=b&gt;(d&gt;&gt;1)-1?(d&gt;&gt;1)-b:b,v.isubn(p)):p=0,f[y]=p,v.iushrn(1)}return f},s.getJSF=function(i,c){var h=[[],[]];i=i.clone(),c=c.clone();for(var f,d=0,v=0;i.cmpn(-d)&gt;0||c.cmpn(-v)&gt;0;){var y,p,b=i.andln(3)+d&amp;3,x=c.andln(3)+v&amp;3;b===3&amp;&amp;(b=-1),x===3&amp;&amp;(x=-1),y=(1&amp;b)==0?0:(f=i.andln(7)+d&amp;7)!==3&amp;&amp;f!==5||x!==2?b:-b,h[0].push(y),p=(1&amp;x)==0?0:(f=c.andln(7)+v&amp;7)!==3&amp;&amp;f!==5||b!==2?x:-x,h[1].push(p),2*d===y+1&amp;&amp;(d=1-d),2*v===p+1&amp;&amp;(v=1-v),i.iushrn(1),c.iushrn(1)}return h},s.cachedProperty=function(i,c,h){var f=&quot;_&quot;+c;i.prototype[c]=function(){return this[f]!==void 0?this[f]:this[f]=h.call(this)}},s.parseBytes=function(i){return typeof i==&quot;string&quot;?s.toArray(i,&quot;hex&quot;):i},s.intFromLE=function(i){return new a(i,&quot;hex&quot;,&quot;le&quot;)}},{&quot;bn.js&quot;:420,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],420:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],421:[function(t,n,o){n.exports={name:&quot;elliptic&quot;,version:&quot;6.5.4&quot;,description:&quot;EC cryptography&quot;,main:&quot;lib/elliptic.js&quot;,files:[&quot;lib&quot;],scripts:{lint:&quot;eslint lib test&quot;,&quot;lint:fix&quot;:&quot;npm run lint -- --fix&quot;,unit:&quot;istanbul test _mocha --reporter=spec test/index.js&quot;,test:&quot;npm run lint &amp;&amp; npm run unit&quot;,version:&quot;grunt dist &amp;&amp; git add dist/&quot;},repository:{type:&quot;git&quot;,url:&quot;git@github.com:indutny/elliptic&quot;},keywords:[&quot;EC&quot;,&quot;Elliptic&quot;,&quot;curve&quot;,&quot;Cryptography&quot;],author:&quot;Fedor Indutny &lt;fedor@indutny.com&gt;&quot;,license:&quot;MIT&quot;,bugs:{url:&quot;https://github.com/indutny/elliptic/issues&quot;},homepage:&quot;https://github.com/indutny/elliptic&quot;,devDependencies:{brfs:&quot;^2.0.2&quot;,coveralls:&quot;^3.1.0&quot;,eslint:&quot;^7.6.0&quot;,grunt:&quot;^1.2.1&quot;,&quot;grunt-browserify&quot;:&quot;^5.3.0&quot;,&quot;grunt-cli&quot;:&quot;^1.3.2&quot;,&quot;grunt-contrib-connect&quot;:&quot;^3.0.0&quot;,&quot;grunt-contrib-copy&quot;:&quot;^1.0.0&quot;,&quot;grunt-contrib-uglify&quot;:&quot;^5.0.0&quot;,&quot;grunt-mocha-istanbul&quot;:&quot;^5.0.2&quot;,&quot;grunt-saucelabs&quot;:&quot;^9.0.1&quot;,istanbul:&quot;^0.4.5&quot;,mocha:&quot;^8.0.1&quot;},dependencies:{&quot;bn.js&quot;:&quot;^4.11.9&quot;,brorand:&quot;^1.1.0&quot;,&quot;hash.js&quot;:&quot;^1.0.0&quot;,&quot;hmac-drbg&quot;:&quot;^1.0.1&quot;,inherits:&quot;^2.0.4&quot;,&quot;minimalistic-assert&quot;:&quot;^1.0.1&quot;,&quot;minimalistic-crypto-utils&quot;:&quot;^1.0.1&quot;}}},{}],422:[function(t,n,o){var s=Object.create||function(L){var V=function(){};return V.prototype=L,new V},a=Object.keys||function(L){var V=[];for(var H in L)Object.prototype.hasOwnProperty.call(L,H)&amp;&amp;V.push(H);return H},u=Function.prototype.bind||function(L){var V=this;return function(){return V.apply(L,arguments)}};function l(){this._events&amp;&amp;Object.prototype.hasOwnProperty.call(this,&quot;_events&quot;)||(this._events=s(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}n.exports=l,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._maxListeners=void 0;var i,c=10;try{var h={};Object.defineProperty&amp;&amp;Object.defineProperty(h,&quot;x&quot;,{value:0}),i=h.x===0}catch{i=!1}function f(L){return L._maxListeners===void 0?l.defaultMaxListeners:L._maxListeners}function d(L,V,H){if(V)L.call(H);else for(var K=L.length,z=W(L,K),O=0;O&lt;K;++O)z[O].call(H)}function v(L,V,H,K){if(V)L.call(H,K);else for(var z=L.length,O=W(L,z),I=0;I&lt;z;++I)O[I].call(H,K)}function y(L,V,H,K,z){if(V)L.call(H,K,z);else for(var O=L.length,I=W(L,O),C=0;C&lt;O;++C)I[C].call(H,K,z)}function p(L,V,H,K,z,O){if(V)L.call(H,K,z,O);else for(var I=L.length,C=W(L,I),j=0;j&lt;I;++j)C[j].call(H,K,z,O)}function b(L,V,H,K){if(V)L.apply(H,K);else for(var z=L.length,O=W(L,z),I=0;I&lt;z;++I)O[I].apply(H,K)}function x(L,V,H,K){var z,O,I;if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if((O=L._events)?(O.newListener&amp;&amp;(L.emit(&quot;newListener&quot;,V,H.listener?H.listener:H),O=L._events),I=O[V]):(O=L._events=s(null),L._eventsCount=0),I){if(typeof I==&quot;function&quot;?I=O[V]=K?[H,I]:[I,H]:K?I.unshift(H):I.push(H),!I.warned&amp;&amp;(z=f(L))&amp;&amp;z&gt;0&amp;&amp;I.length&gt;z){I.warned=!0;var C=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+I.length+&#039; &quot;&#039;+String(V)+&#039;&quot; listeners added. Use emitter.setMaxListeners() to increase limit.&#039;);C.name=&quot;MaxListenersExceededWarning&quot;,C.emitter=L,C.type=V,C.count=I.length,typeof console==&quot;object&quot;&amp;&amp;console.warn&amp;&amp;console.warn(&quot;%s: %s&quot;,C.name,C.message)}}else I=O[V]=H,++L._eventsCount;return L}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 L=new Array(arguments.length),V=0;V&lt;L.length;++V)L[V]=arguments[V];this.listener.apply(this.target,L)}}function E(L,V,H){var K={fired:!1,wrapFn:void 0,target:L,type:V,listener:H},z=u.call(_,K);return z.listener=H,K.wrapFn=z,z}function M(L,V,H){var K=L._events;if(!K)return[];var z=K[V];return z?typeof z==&quot;function&quot;?H?[z.listener||z]:[z]:H?(function(O){for(var I=new Array(O.length),C=0;C&lt;I.length;++C)I[C]=O[C].listener||O[C];return I})(z):W(z,z.length):[]}function D(L){var V=this._events;if(V){var H=V[L];if(typeof H==&quot;function&quot;)return 1;if(H)return H.length}return 0}function W(L,V){for(var H=new Array(V),K=0;K&lt;V;++K)H[K]=L[K];return H}i?Object.defineProperty(l,&quot;defaultMaxListeners&quot;,{enumerable:!0,get:function(){return c},set:function(L){if(typeof L!=&quot;number&quot;||L&lt;0||L!=L)throw new TypeError(&#039;&quot;defaultMaxListeners&quot; must be a positive number&#039;);c=L}}):l.defaultMaxListeners=c,l.prototype.setMaxListeners=function(L){if(typeof L!=&quot;number&quot;||L&lt;0||isNaN(L))throw new TypeError(&#039;&quot;n&quot; argument must be a positive number&#039;);return this._maxListeners=L,this},l.prototype.getMaxListeners=function(){return f(this)},l.prototype.emit=function(L){var V,H,K,z,O,I,C=L===&quot;error&quot;;if(I=this._events)C=C&amp;&amp;I.error==null;else if(!C)return!1;if(C){if(arguments.length&gt;1&amp;&amp;(V=arguments[1]),V instanceof Error)throw V;var j=new Error(&#039;Unhandled &quot;error&quot; event. (&#039;+V+&quot;)&quot;);throw j.context=V,j}if(!(H=I[L]))return!1;var k=typeof H==&quot;function&quot;;switch(K=arguments.length){case 1:d(H,k,this);break;case 2:v(H,k,this,arguments[1]);break;case 3:y(H,k,this,arguments[1],arguments[2]);break;case 4:p(H,k,this,arguments[1],arguments[2],arguments[3]);break;default:for(z=new Array(K-1),O=1;O&lt;K;O++)z[O-1]=arguments[O];b(H,k,this,z)}return!0},l.prototype.addListener=function(L,V){return x(this,L,V,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(L,V){return x(this,L,V,!0)},l.prototype.once=function(L,V){if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.on(L,E(this,L,V)),this},l.prototype.prependOnceListener=function(L,V){if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.prependListener(L,E(this,L,V)),this},l.prototype.removeListener=function(L,V){var H,K,z,O,I;if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if(!(K=this._events))return this;if(!(H=K[L]))return this;if(H===V||H.listener===V)--this._eventsCount==0?this._events=s(null):(delete K[L],K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,H.listener||V));else if(typeof H!=&quot;function&quot;){for(z=-1,O=H.length-1;O&gt;=0;O--)if(H[O]===V||H[O].listener===V){I=H[O].listener,z=O;break}if(z&lt;0)return this;z===0?H.shift():(function(C,j){for(var k=j,S=k+1,N=C.length;S&lt;N;k+=1,S+=1)C[k]=C[S];C.pop()})(H,z),H.length===1&amp;&amp;(K[L]=H[0]),K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,I||V)}return this},l.prototype.removeAllListeners=function(L){var V,H,K;if(!(H=this._events))return this;if(!H.removeListener)return arguments.length===0?(this._events=s(null),this._eventsCount=0):H[L]&amp;&amp;(--this._eventsCount==0?this._events=s(null):delete H[L]),this;if(arguments.length===0){var z,O=a(H);for(K=0;K&lt;O.length;++K)(z=O[K])!==&quot;removeListener&quot;&amp;&amp;this.removeAllListeners(z);return this.removeAllListeners(&quot;removeListener&quot;),this._events=s(null),this._eventsCount=0,this}if(typeof(V=H[L])==&quot;function&quot;)this.removeListener(L,V);else if(V)for(K=V.length-1;K&gt;=0;K--)this.removeListener(L,V[K]);return this},l.prototype.listeners=function(L){return M(this,L,!0)},l.prototype.rawListeners=function(L){return M(this,L,!1)},l.listenerCount=function(L,V){return typeof L.listenerCount==&quot;function&quot;?L.listenerCount(V):D.call(L,V)},l.prototype.listenerCount=D,l.prototype.eventNames=function(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;md5.js&quot;);n.exports=function(u,l,i,c){if(s.isBuffer(u)||(u=s.from(u,&quot;binary&quot;)),l&amp;&amp;(s.isBuffer(l)||(l=s.from(l,&quot;binary&quot;)),l.length!==8))throw new RangeError(&quot;salt should be Buffer with 8 byte length&quot;);for(var h=i/8,f=s.alloc(h),d=s.alloc(c||0),v=s.alloc(0);h&gt;0||c&gt;0;){var y=new a;y.update(v),y.update(u),l&amp;&amp;y.update(l),v=y.digest();var p=0;if(h&gt;0){var b=f.length-h;p=Math.min(h,v.length),v.copy(f,b,0,p),h-=p}if(p&lt;v.length&amp;&amp;c&gt;0){var x=d.length-c,_=Math.min(c,v.length-p);v.copy(d,x,p,p+_),c-=_}}return v.fill(0),{key:f,iv:d}}},{&quot;md5.js&quot;:450,&quot;safe-buffer&quot;:494}],424:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=o.ParserOptions=o.parseFile=o.parseStream=o.parseString=o.parse=o.FormatterOptions=o.CsvFormatterStream=o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=void 0;var s=t(&quot;@fast-csv/format&quot;);Object.defineProperty(o,&quot;format&quot;,{enumerable:!0,get:function(){return s.format}}),Object.defineProperty(o,&quot;write&quot;,{enumerable:!0,get:function(){return s.write}}),Object.defineProperty(o,&quot;writeToStream&quot;,{enumerable:!0,get:function(){return s.writeToStream}}),Object.defineProperty(o,&quot;writeToBuffer&quot;,{enumerable:!0,get:function(){return s.writeToBuffer}}),Object.defineProperty(o,&quot;writeToString&quot;,{enumerable:!0,get:function(){return s.writeToString}}),Object.defineProperty(o,&quot;writeToPath&quot;,{enumerable:!0,get:function(){return s.writeToPath}}),Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return s.CsvFormatterStream}}),Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return s.FormatterOptions}});var a=t(&quot;@fast-csv/parse&quot;);Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(o,&quot;parseString&quot;,{enumerable:!0,get:function(){return a.parseString}}),Object.defineProperty(o,&quot;parseStream&quot;,{enumerable:!0,get:function(){return a.parseStream}}),Object.defineProperty(o,&quot;parseFile&quot;,{enumerable:!0,get:function(){return a.parseFile}}),Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return a.ParserOptions}}),Object.defineProperty(o,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return a.CsvParserStream}})},{&quot;@fast-csv/format&quot;:151,&quot;@fast-csv/parse&quot;:155}],425:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;readable-stream&quot;).Transform;function u(l){a.call(this),this._block=s.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(&quot;inherits&quot;)(u,a),u.prototype._transform=function(l,i,c){var h=null;try{this.update(l,i)}catch(f){h=f}c(h)},u.prototype._flush=function(l){var i=null;try{this.push(this.digest())}catch(c){i=c}l(i)},u.prototype.update=function(l,i){if((function(y,p){if(!s.isBuffer(y)&amp;&amp;typeof y!=&quot;string&quot;)throw new TypeError(p+&quot; must be a string or a buffer&quot;)})(l,&quot;Data&quot;),this._finalized)throw new Error(&quot;Digest already called&quot;);s.isBuffer(l)||(l=s.from(l,i));for(var c=this._block,h=0;this._blockOffset+l.length-h&gt;=this._blockSize;){for(var f=this._blockOffset;f&lt;this._blockSize;)c[f++]=l[h++];this._update(),this._blockOffset=0}for(;h&lt;l.length;)c[this._blockOffset++]=l[h++];for(var d=0,v=8*l.length;v&gt;0;++d)this._length[d]+=v,(v=this._length[d]/4294967296|0)&gt;0&amp;&amp;(this._length[d]-=4294967296*v);return this},u.prototype._update=function(){throw new Error(&quot;_update is not implemented&quot;)},u.prototype.digest=function(l){if(this._finalized)throw new Error(&quot;Digest already called&quot;);this._finalized=!0;var i=this._digest();l!==void 0&amp;&amp;(i=i.toString(l)),this._block.fill(0),this._blockOffset=0;for(var c=0;c&lt;4;++c)this._length[c]=0;return i},u.prototype._digest=function(){throw new Error(&quot;_digest is not implemented&quot;)},n.exports=u},{inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],426:[function(t,n,o){var s=o;s.utils=t(&quot;./hash/utils&quot;),s.common=t(&quot;./hash/common&quot;),s.sha=t(&quot;./hash/sha&quot;),s.ripemd=t(&quot;./hash/ripemd&quot;),s.hmac=t(&quot;./hash/hmac&quot;),s.sha1=s.sha.sha1,s.sha256=s.sha.sha256,s.sha224=s.sha.sha224,s.sha384=s.sha.sha384,s.sha512=s.sha.sha512,s.ripemd160=s.ripemd.ripemd160},{&quot;./hash/common&quot;:427,&quot;./hash/hmac&quot;:428,&quot;./hash/ripemd&quot;:429,&quot;./hash/sha&quot;:430,&quot;./hash/utils&quot;:437}],427:[function(t,n,o){var s=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian=&quot;big&quot;,this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}o.BlockHash=u,u.prototype.update=function(l,i){if(l=s.toArray(l,i),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length&gt;=this._delta8){var c=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-c,l.length),this.pending.length===0&amp;&amp;(this.pending=null),l=s.join32(l,0,l.length-c,this.endian);for(var h=0;h&lt;l.length;h+=this._delta32)this._update(l,h,h+this._delta32)}return this},u.prototype.digest=function(l){return this.update(this._pad()),a(this.pending===null),this._digest(l)},u.prototype._pad=function(){var l=this.pendingTotal,i=this._delta8,c=i-(l+this.padLength)%i,h=new Array(c+this.padLength);h[0]=128;for(var f=1;f&lt;c;f++)h[f]=0;if(l&lt;&lt;=3,this.endian===&quot;big&quot;){for(var d=8;d&lt;this.padLength;d++)h[f++]=0;h[f++]=0,h[f++]=0,h[f++]=0,h[f++]=0,h[f++]=l&gt;&gt;&gt;24&amp;255,h[f++]=l&gt;&gt;&gt;16&amp;255,h[f++]=l&gt;&gt;&gt;8&amp;255,h[f++]=255&amp;l}else for(h[f++]=255&amp;l,h[f++]=l&gt;&gt;&gt;8&amp;255,h[f++]=l&gt;&gt;&gt;16&amp;255,h[f++]=l&gt;&gt;&gt;24&amp;255,h[f++]=0,h[f++]=0,h[f++]=0,h[f++]=0,d=8;d&lt;this.padLength;d++)h[f++]=0;return h}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],428:[function(t,n,o){var s=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(l,i,c){if(!(this instanceof u))return new u(l,i,c);this.Hash=l,this.blockSize=l.blockSize/8,this.outSize=l.outSize/8,this.inner=null,this.outer=null,this._init(s.toArray(i,c))}n.exports=u,u.prototype._init=function(l){l.length&gt;this.blockSize&amp;&amp;(l=new this.Hash().update(l).digest()),a(l.length&lt;=this.blockSize);for(var i=l.length;i&lt;this.blockSize;i++)l.push(0);for(i=0;i&lt;l.length;i++)l[i]^=54;for(this.inner=new this.Hash().update(l),i=0;i&lt;l.length;i++)l[i]^=106;this.outer=new this.Hash().update(l)},u.prototype.update=function(l,i){return this.inner.update(l,i),this},u.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],429:[function(t,n,o){var s=t(&quot;./utils&quot;),a=t(&quot;./common&quot;),u=s.rotl32,l=s.sum32,i=s.sum32_3,c=s.sum32_4,h=a.BlockHash;function f(){if(!(this instanceof f))return new f;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian=&quot;little&quot;}function d(E,M,D,W){return E&lt;=15?M^D^W:E&lt;=31?M&amp;D|~M&amp;W:E&lt;=47?(M|~D)^W:E&lt;=63?M&amp;W|D&amp;~W:M^(D|~W)}function v(E){return E&lt;=15?0:E&lt;=31?1518500249:E&lt;=47?1859775393:E&lt;=63?2400959708:2840853838}function y(E){return E&lt;=15?1352829926:E&lt;=31?1548603684:E&lt;=47?1836072691:E&lt;=63?2053994217:0}s.inherits(f,h),o.ripemd160=f,f.blockSize=512,f.outSize=160,f.hmacStrength=192,f.padLength=64,f.prototype._update=function(E,M){for(var D=this.h[0],W=this.h[1],L=this.h[2],V=this.h[3],H=this.h[4],K=D,z=W,O=L,I=V,C=H,j=0;j&lt;80;j++){var k=l(u(c(D,d(j,W,L,V),E[p[j]+M],v(j)),x[j]),H);D=H,H=V,V=u(L,10),L=W,W=k,k=l(u(c(K,d(79-j,z,O,I),E[b[j]+M],y(j)),_[j]),C),K=C,C=I,I=u(O,10),O=z,z=k}k=i(this.h[1],L,I),this.h[1]=i(this.h[2],V,C),this.h[2]=i(this.h[3],H,K),this.h[3]=i(this.h[4],D,z),this.h[4]=i(this.h[0],W,O),this.h[0]=k},f.prototype._digest=function(E){return E===&quot;hex&quot;?s.toHex32(this.h,&quot;little&quot;):s.split32(this.h,&quot;little&quot;)};var p=[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],b=[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],x=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],_=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{&quot;./common&quot;:427,&quot;./utils&quot;:437}],430:[function(t,n,o){o.sha1=t(&quot;./sha/1&quot;),o.sha224=t(&quot;./sha/224&quot;),o.sha256=t(&quot;./sha/256&quot;),o.sha384=t(&quot;./sha/384&quot;),o.sha512=t(&quot;./sha/512&quot;)},{&quot;./sha/1&quot;:431,&quot;./sha/224&quot;:432,&quot;./sha/256&quot;:433,&quot;./sha/384&quot;:434,&quot;./sha/512&quot;:435}],431:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=s.rotl32,i=s.sum32,c=s.sum32_5,h=u.ft_1,f=a.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function v(){if(!(this instanceof v))return new v;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}s.inherits(v,f),n.exports=v,v.blockSize=512,v.outSize=160,v.hmacStrength=80,v.padLength=64,v.prototype._update=function(y,p){for(var b=this.W,x=0;x&lt;16;x++)b[x]=y[p+x];for(;x&lt;b.length;x++)b[x]=l(b[x-3]^b[x-8]^b[x-14]^b[x-16],1);var _=this.h[0],E=this.h[1],M=this.h[2],D=this.h[3],W=this.h[4];for(x=0;x&lt;b.length;x++){var L=~~(x/20),V=c(l(_,5),h(L,E,M,D),W,b[x],d[L]);W=D,D=M,M=l(E,30),E=_,_=V}this.h[0]=i(this.h[0],_),this.h[1]=i(this.h[1],E),this.h[2]=i(this.h[2],M),this.h[3]=i(this.h[3],D),this.h[4]=i(this.h[4],W)},v.prototype._digest=function(y){return y===&quot;hex&quot;?s.toHex32(this.h,&quot;big&quot;):s.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436}],432:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;./256&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}s.inherits(u,a),n.exports=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(l){return l===&quot;hex&quot;?s.toHex32(this.h.slice(0,7),&quot;big&quot;):s.split32(this.h.slice(0,7),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./256&quot;:433}],433:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=t(&quot;minimalistic-assert&quot;),i=s.sum32,c=s.sum32_4,h=s.sum32_5,f=u.ch32,d=u.maj32,v=u.s0_256,y=u.s1_256,p=u.g0_256,b=u.g1_256,x=a.BlockHash,_=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function E(){if(!(this instanceof E))return new E;x.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=_,this.W=new Array(64)}s.inherits(E,x),n.exports=E,E.blockSize=512,E.outSize=256,E.hmacStrength=192,E.padLength=64,E.prototype._update=function(M,D){for(var W=this.W,L=0;L&lt;16;L++)W[L]=M[D+L];for(;L&lt;W.length;L++)W[L]=c(b(W[L-2]),W[L-7],p(W[L-15]),W[L-16]);var V=this.h[0],H=this.h[1],K=this.h[2],z=this.h[3],O=this.h[4],I=this.h[5],C=this.h[6],j=this.h[7];for(l(this.k.length===W.length),L=0;L&lt;W.length;L++){var k=h(j,y(O),f(O,I,C),this.k[L],W[L]),S=i(v(V),d(V,H,K));j=C,C=I,I=O,O=i(z,k),z=K,K=H,H=V,V=i(k,S)}this.h[0]=i(this.h[0],V),this.h[1]=i(this.h[1],H),this.h[2]=i(this.h[2],K),this.h[3]=i(this.h[3],z),this.h[4]=i(this.h[4],O),this.h[5]=i(this.h[5],I),this.h[6]=i(this.h[6],C),this.h[7]=i(this.h[7],j)},E.prototype._digest=function(M){return M===&quot;hex&quot;?s.toHex32(this.h,&quot;big&quot;):s.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436,&quot;minimalistic-assert&quot;:453}],434:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;./512&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}s.inherits(u,a),n.exports=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(l){return l===&quot;hex&quot;?s.toHex32(this.h.slice(0,12),&quot;big&quot;):s.split32(this.h.slice(0,12),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./512&quot;:435}],435:[function(t,n,o){var s=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;minimalistic-assert&quot;),l=s.rotr64_hi,i=s.rotr64_lo,c=s.shr64_hi,h=s.shr64_lo,f=s.sum64,d=s.sum64_hi,v=s.sum64_lo,y=s.sum64_4_hi,p=s.sum64_4_lo,b=s.sum64_5_hi,x=s.sum64_5_lo,_=a.BlockHash,E=[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=E,this.W=new Array(160)}function D(S,N,T,R,B){var Y=S&amp;T^~S&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function W(S,N,T,R,B,Y){var Z=N&amp;R^~N&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function L(S,N,T,R,B){var Y=S&amp;T^S&amp;B^T&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function V(S,N,T,R,B,Y){var Z=N&amp;R^N&amp;Y^R&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function H(S,N){var T=l(S,N,28)^l(N,S,2)^l(N,S,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function K(S,N){var T=i(S,N,28)^i(N,S,2)^i(N,S,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function z(S,N){var T=l(S,N,14)^l(S,N,18)^l(N,S,9);return T&lt;0&amp;&amp;(T+=4294967296),T}function O(S,N){var T=i(S,N,14)^i(S,N,18)^i(N,S,9);return T&lt;0&amp;&amp;(T+=4294967296),T}function I(S,N){var T=l(S,N,1)^l(S,N,8)^c(S,N,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function C(S,N){var T=i(S,N,1)^i(S,N,8)^h(S,N,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function j(S,N){var T=l(S,N,19)^l(N,S,29)^c(S,N,6);return T&lt;0&amp;&amp;(T+=4294967296),T}function k(S,N){var T=i(S,N,19)^i(N,S,29)^h(S,N,6);return T&lt;0&amp;&amp;(T+=4294967296),T}s.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 T=this.W,R=0;R&lt;32;R++)T[R]=S[N+R];for(;R&lt;T.length;R+=2){var B=j(T[R-4],T[R-3]),Y=k(T[R-4],T[R-3]),Z=T[R-14],ne=T[R-13],U=I(T[R-30],T[R-29]),ee=C(T[R-30],T[R-29]),F=T[R-32],P=T[R-31];T[R]=y(B,Y,Z,ne,U,ee,F,P),T[R+1]=p(B,Y,Z,ne,U,ee,F,P)}},M.prototype._update=function(S,N){this._prepareBlock(S,N);var T=this.W,R=this.h[0],B=this.h[1],Y=this.h[2],Z=this.h[3],ne=this.h[4],U=this.h[5],ee=this.h[6],F=this.h[7],P=this.h[8],X=this.h[9],re=this.h[10],Q=this.h[11],te=this.h[12],ae=this.h[13],ce=this.h[14],he=this.h[15];u(this.k.length===T.length);for(var se=0;se&lt;T.length;se+=2){var de=ce,ie=he,me=z(P,X),ve=O(P,X),ge=D(P,X,re,Q,te),le=W(P,X,re,Q,te,ae),_e=this.k[se],Se=this.k[se+1],Oe=T[se],Te=T[se+1],Ie=b(de,ie,me,ve,ge,le,_e,Se,Oe,Te),Ve=x(de,ie,me,ve,ge,le,_e,Se,Oe,Te);de=H(R,B),ie=K(R,B),me=L(R,B,Y,Z,ne),ve=V(R,B,Y,Z,ne,U);var Ye=d(de,ie,me,ve),Ze=v(de,ie,me,ve);ce=te,he=ae,te=re,ae=Q,re=P,Q=X,P=d(ee,F,Ie,Ve),X=v(F,F,Ie,Ve),ee=ne,F=U,ne=Y,U=Z,Y=R,Z=B,R=d(Ie,Ve,Ye,Ze),B=v(Ie,Ve,Ye,Ze)}f(this.h,0,R,B),f(this.h,2,Y,Z),f(this.h,4,ne,U),f(this.h,6,ee,F),f(this.h,8,P,X),f(this.h,10,re,Q),f(this.h,12,te,ae),f(this.h,14,ce,he)},M.prototype._digest=function(S){return S===&quot;hex&quot;?s.toHex32(this.h,&quot;big&quot;):s.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;minimalistic-assert&quot;:453}],436:[function(t,n,o){var s=t(&quot;../utils&quot;).rotr32;function a(i,c,h){return i&amp;c^~i&amp;h}function u(i,c,h){return i&amp;c^i&amp;h^c&amp;h}function l(i,c,h){return i^c^h}o.ft_1=function(i,c,h,f){return i===0?a(c,h,f):i===1||i===3?l(c,h,f):i===2?u(c,h,f):void 0},o.ch32=a,o.maj32=u,o.p32=l,o.s0_256=function(i){return s(i,2)^s(i,13)^s(i,22)},o.s1_256=function(i){return s(i,6)^s(i,11)^s(i,25)},o.g0_256=function(i){return s(i,7)^s(i,18)^i&gt;&gt;&gt;3},o.g1_256=function(i){return s(i,17)^s(i,19)^i&gt;&gt;&gt;10}},{&quot;../utils&quot;:437}],437:[function(t,n,o){var s=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;);function u(h,f){return(64512&amp;h.charCodeAt(f))==55296&amp;&amp;!(f&lt;0||f+1&gt;=h.length)&amp;&amp;(64512&amp;h.charCodeAt(f+1))==56320}function l(h){return(h&gt;&gt;&gt;24|h&gt;&gt;&gt;8&amp;65280|h&lt;&lt;8&amp;16711680|(255&amp;h)&lt;&lt;24)&gt;&gt;&gt;0}function i(h){return h.length===1?&quot;0&quot;+h:h}function c(h){return h.length===7?&quot;0&quot;+h:h.length===6?&quot;00&quot;+h:h.length===5?&quot;000&quot;+h:h.length===4?&quot;0000&quot;+h:h.length===3?&quot;00000&quot;+h:h.length===2?&quot;000000&quot;+h:h.length===1?&quot;0000000&quot;+h:h}o.inherits=a,o.toArray=function(h,f){if(Array.isArray(h))return h.slice();if(!h)return[];var d=[];if(typeof h==&quot;string&quot;)if(f){if(f===&quot;hex&quot;)for((h=h.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(h=&quot;0&quot;+h),y=0;y&lt;h.length;y+=2)d.push(parseInt(h[y]+h[y+1],16))}else for(var v=0,y=0;y&lt;h.length;y++){var p=h.charCodeAt(y);p&lt;128?d[v++]=p:p&lt;2048?(d[v++]=p&gt;&gt;6|192,d[v++]=63&amp;p|128):u(h,y)?(p=65536+((1023&amp;p)&lt;&lt;10)+(1023&amp;h.charCodeAt(++y)),d[v++]=p&gt;&gt;18|240,d[v++]=p&gt;&gt;12&amp;63|128,d[v++]=p&gt;&gt;6&amp;63|128,d[v++]=63&amp;p|128):(d[v++]=p&gt;&gt;12|224,d[v++]=p&gt;&gt;6&amp;63|128,d[v++]=63&amp;p|128)}else for(y=0;y&lt;h.length;y++)d[y]=0|h[y];return d},o.toHex=function(h){for(var f=&quot;&quot;,d=0;d&lt;h.length;d++)f+=i(h[d].toString(16));return f},o.htonl=l,o.toHex32=function(h,f){for(var d=&quot;&quot;,v=0;v&lt;h.length;v++){var y=h[v];f===&quot;little&quot;&amp;&amp;(y=l(y)),d+=c(y.toString(16))}return d},o.zero2=i,o.zero8=c,o.join32=function(h,f,d,v){var y=d-f;s(y%4==0);for(var p=new Array(y/4),b=0,x=f;b&lt;p.length;b++,x+=4){var _;_=v===&quot;big&quot;?h[x]&lt;&lt;24|h[x+1]&lt;&lt;16|h[x+2]&lt;&lt;8|h[x+3]:h[x+3]&lt;&lt;24|h[x+2]&lt;&lt;16|h[x+1]&lt;&lt;8|h[x],p[b]=_&gt;&gt;&gt;0}return p},o.split32=function(h,f){for(var d=new Array(4*h.length),v=0,y=0;v&lt;h.length;v++,y+=4){var p=h[v];f===&quot;big&quot;?(d[y]=p&gt;&gt;&gt;24,d[y+1]=p&gt;&gt;&gt;16&amp;255,d[y+2]=p&gt;&gt;&gt;8&amp;255,d[y+3]=255&amp;p):(d[y+3]=p&gt;&gt;&gt;24,d[y+2]=p&gt;&gt;&gt;16&amp;255,d[y+1]=p&gt;&gt;&gt;8&amp;255,d[y]=255&amp;p)}return d},o.rotr32=function(h,f){return h&gt;&gt;&gt;f|h&lt;&lt;32-f},o.rotl32=function(h,f){return h&lt;&lt;f|h&gt;&gt;&gt;32-f},o.sum32=function(h,f){return h+f&gt;&gt;&gt;0},o.sum32_3=function(h,f,d){return h+f+d&gt;&gt;&gt;0},o.sum32_4=function(h,f,d,v){return h+f+d+v&gt;&gt;&gt;0},o.sum32_5=function(h,f,d,v,y){return h+f+d+v+y&gt;&gt;&gt;0},o.sum64=function(h,f,d,v){var y=h[f],p=v+h[f+1]&gt;&gt;&gt;0,b=(p&lt;v?1:0)+d+y;h[f]=b&gt;&gt;&gt;0,h[f+1]=p},o.sum64_hi=function(h,f,d,v){return(f+v&gt;&gt;&gt;0&lt;f?1:0)+h+d&gt;&gt;&gt;0},o.sum64_lo=function(h,f,d,v){return f+v&gt;&gt;&gt;0},o.sum64_4_hi=function(h,f,d,v,y,p,b,x){var _=0,E=f;return _+=(E=E+v&gt;&gt;&gt;0)&lt;f?1:0,_+=(E=E+p&gt;&gt;&gt;0)&lt;p?1:0,h+d+y+b+(_+=(E=E+x&gt;&gt;&gt;0)&lt;x?1:0)&gt;&gt;&gt;0},o.sum64_4_lo=function(h,f,d,v,y,p,b,x){return f+v+p+x&gt;&gt;&gt;0},o.sum64_5_hi=function(h,f,d,v,y,p,b,x,_,E){var M=0,D=f;return M+=(D=D+v&gt;&gt;&gt;0)&lt;f?1:0,M+=(D=D+p&gt;&gt;&gt;0)&lt;p?1:0,M+=(D=D+x&gt;&gt;&gt;0)&lt;x?1:0,h+d+y+b+_+(M+=(D=D+E&gt;&gt;&gt;0)&lt;E?1:0)&gt;&gt;&gt;0},o.sum64_5_lo=function(h,f,d,v,y,p,b,x,_,E){return f+v+p+x+E&gt;&gt;&gt;0},o.rotr64_hi=function(h,f,d){return(f&lt;&lt;32-d|h&gt;&gt;&gt;d)&gt;&gt;&gt;0},o.rotr64_lo=function(h,f,d){return(h&lt;&lt;32-d|f&gt;&gt;&gt;d)&gt;&gt;&gt;0},o.shr64_hi=function(h,f,d){return h&gt;&gt;&gt;d},o.shr64_lo=function(h,f,d){return(h&lt;&lt;32-d|f&gt;&gt;&gt;d)&gt;&gt;&gt;0}},{inherits:440,&quot;minimalistic-assert&quot;:453}],438:[function(t,n,o){var s=t(&quot;hash.js&quot;),a=t(&quot;minimalistic-crypto-utils&quot;),u=t(&quot;minimalistic-assert&quot;);function l(i){if(!(this instanceof l))return new l(i);this.hash=i.hash,this.predResist=!!i.predResist,this.outLen=this.hash.outSize,this.minEntropy=i.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var c=a.toArray(i.entropy,i.entropyEnc||&quot;hex&quot;),h=a.toArray(i.nonce,i.nonceEnc||&quot;hex&quot;),f=a.toArray(i.pers,i.persEnc||&quot;hex&quot;);u(c.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._init(c,h,f)}n.exports=l,l.prototype._init=function(i,c,h){var f=i.concat(c).concat(h);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var d=0;d&lt;this.V.length;d++)this.K[d]=0,this.V[d]=1;this._update(f),this._reseed=1,this.reseedInterval=281474976710656},l.prototype._hmac=function(){return new s.hmac(this.hash,this.K)},l.prototype._update=function(i){var c=this._hmac().update(this.V).update([0]);i&amp;&amp;(c=c.update(i)),this.K=c.digest(),this.V=this._hmac().update(this.V).digest(),i&amp;&amp;(this.K=this._hmac().update(this.V).update([1]).update(i).digest(),this.V=this._hmac().update(this.V).digest())},l.prototype.reseed=function(i,c,h,f){typeof c!=&quot;string&quot;&amp;&amp;(f=h,h=c,c=null),i=a.toArray(i,c),h=a.toArray(h,f),u(i.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._update(i.concat(h||[])),this._reseed=1},l.prototype.generate=function(i,c,h,f){if(this._reseed&gt;this.reseedInterval)throw new Error(&quot;Reseed is required&quot;);typeof c!=&quot;string&quot;&amp;&amp;(f=h,h=c,c=null),h&amp;&amp;(h=a.toArray(h,f||&quot;hex&quot;),this._update(h));for(var d=[];d.length&lt;i;)this.V=this._hmac().update(this.V).digest(),d=d.concat(this.V);var v=d.slice(0,i);return this._update(h),this._reseed++,a.encode(v,c)}},{&quot;hash.js&quot;:426,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],439:[function(t,n,o){o.read=function(s,a,u,l,i){var c,h,f=8*i-l-1,d=(1&lt;&lt;f)-1,v=d&gt;&gt;1,y=-7,p=u?i-1:0,b=u?-1:1,x=s[a+p];for(p+=b,c=x&amp;(1&lt;&lt;-y)-1,x&gt;&gt;=-y,y+=f;y&gt;0;c=256*c+s[a+p],p+=b,y-=8);for(h=c&amp;(1&lt;&lt;-y)-1,c&gt;&gt;=-y,y+=l;y&gt;0;h=256*h+s[a+p],p+=b,y-=8);if(c===0)c=1-v;else{if(c===d)return h?NaN:1/0*(x?-1:1);h+=Math.pow(2,l),c-=v}return(x?-1:1)*h*Math.pow(2,c-l)},o.write=function(s,a,u,l,i,c){var h,f,d,v=8*c-i-1,y=(1&lt;&lt;v)-1,p=y&gt;&gt;1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=l?0:c-1,_=l?1:-1,E=a&lt;0||a===0&amp;&amp;1/a&lt;0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(f=isNaN(a)?1:0,h=y):(h=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-h))&lt;1&amp;&amp;(h--,d*=2),(a+=h+p&gt;=1?b/d:b*Math.pow(2,1-p))*d&gt;=2&amp;&amp;(h++,d/=2),h+p&gt;=y?(f=0,h=y):h+p&gt;=1?(f=(a*d-1)*Math.pow(2,i),h+=p):(f=a*Math.pow(2,p-1)*Math.pow(2,i),h=0));i&gt;=8;s[u+x]=255&amp;f,x+=_,f/=256,i-=8);for(h=h&lt;&lt;i|f,v+=i;v&gt;0;s[u+x]=255&amp;h,x+=_,h/=256,v-=8);s[u+x-_]|=128*E}},{}],440:[function(t,n,o){typeof Object.create==&quot;function&quot;?n.exports=function(s,a){a&amp;&amp;(s.super_=a,s.prototype=Object.create(a.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(s,a){if(a){s.super_=a;var u=function(){};u.prototype=a.prototype,s.prototype=new u,s.prototype.constructor=s}}},{}],441:[function(t,n,o){(function(s,a,u,l,i,c,h,f){(function(){(function(d){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=d():(typeof window&lt;&quot;u&quot;?window:a!==void 0?a:typeof self&lt;&quot;u&quot;?self:this).JSZip=d()})((function(){return(function d(v,y,p){function b(E,M){if(!y[E]){if(!v[E]){var D=typeof t==&quot;function&quot;&amp;&amp;t;if(!M&amp;&amp;D)return D(E,!0);if(x)return x(E,!0);var W=new Error(&quot;Cannot find module &#039;&quot;+E+&quot;&#039;&quot;);throw W.code=&quot;MODULE_NOT_FOUND&quot;,W}var L=y[E]={exports:{}};v[E][0].call(L.exports,(function(V){return b(v[E][1][V]||V)}),L,L.exports,d,v,y,p)}return y[E].exports}for(var x=typeof t==&quot;function&quot;&amp;&amp;t,_=0;_&lt;p.length;_++)b(p[_]);return b})({1:[function(d,v,y){var p=d(&quot;./utils&quot;),b=d(&quot;./support&quot;),x=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;y.encode=function(_){for(var E,M,D,W,L,V,H,K=[],z=0,O=_.length,I=O,C=p.getTypeOf(_)!==&quot;string&quot;;z&lt;_.length;)I=O-z,D=C?(E=_[z++],M=z&lt;O?_[z++]:0,z&lt;O?_[z++]:0):(E=_.charCodeAt(z++),M=z&lt;O?_.charCodeAt(z++):0,z&lt;O?_.charCodeAt(z++):0),W=E&gt;&gt;2,L=(3&amp;E)&lt;&lt;4|M&gt;&gt;4,V=1&lt;I?(15&amp;M)&lt;&lt;2|D&gt;&gt;6:64,H=2&lt;I?63&amp;D:64,K.push(x.charAt(W)+x.charAt(L)+x.charAt(V)+x.charAt(H));return K.join(&quot;&quot;)},y.decode=function(_){var E,M,D,W,L,V,H=0,K=0,z=&quot;data:&quot;;if(_.substr(0,z.length)===z)throw new Error(&quot;Invalid base64 input, it looks like a data url.&quot;);var O,I=3*(_=_.replace(/[^A-Za-z0-9+/=]/g,&quot;&quot;)).length/4;if(_.charAt(_.length-1)===x.charAt(64)&amp;&amp;I--,_.charAt(_.length-2)===x.charAt(64)&amp;&amp;I--,I%1!=0)throw new Error(&quot;Invalid base64 input, bad content length.&quot;);for(O=b.uint8array?new Uint8Array(0|I):new Array(0|I);H&lt;_.length;)E=x.indexOf(_.charAt(H++))&lt;&lt;2|(W=x.indexOf(_.charAt(H++)))&gt;&gt;4,M=(15&amp;W)&lt;&lt;4|(L=x.indexOf(_.charAt(H++)))&gt;&gt;2,D=(3&amp;L)&lt;&lt;6|(V=x.indexOf(_.charAt(H++))),O[K++]=E,L!==64&amp;&amp;(O[K++]=M),V!==64&amp;&amp;(O[K++]=D);return O}},{&quot;./support&quot;:30,&quot;./utils&quot;:32}],2:[function(d,v,y){var p=d(&quot;./external&quot;),b=d(&quot;./stream/DataWorker&quot;),x=d(&quot;./stream/Crc32Probe&quot;),_=d(&quot;./stream/DataLengthProbe&quot;);function E(M,D,W,L,V){this.compressedSize=M,this.uncompressedSize=D,this.crc32=W,this.compression=L,this.compressedContent=V}E.prototype={getContentWorker:function(){var M=new b(p.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new _(&quot;data_length&quot;)),D=this;return M.on(&quot;end&quot;,(function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error(&quot;Bug : uncompressed data size mismatch&quot;)})),M},getCompressedWorker:function(){return new b(p.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)}},E.createWorkerFrom=function(M,D,W){return M.pipe(new x).pipe(new _(&quot;uncompressedSize&quot;)).pipe(D.compressWorker(W)).pipe(new _(&quot;compressedSize&quot;)).withStreamInfo(&quot;compression&quot;,D)},v.exports=E},{&quot;./external&quot;:6,&quot;./stream/Crc32Probe&quot;:25,&quot;./stream/DataLengthProbe&quot;:26,&quot;./stream/DataWorker&quot;:27}],3:[function(d,v,y){var p=d(&quot;./stream/GenericWorker&quot;);y.STORE={magic:&quot;\0\0&quot;,compressWorker:function(){return new p(&quot;STORE compression&quot;)},uncompressWorker:function(){return new p(&quot;STORE decompression&quot;)}},y.DEFLATE=d(&quot;./flate&quot;)},{&quot;./flate&quot;:7,&quot;./stream/GenericWorker&quot;:28}],4:[function(d,v,y){var p=d(&quot;./utils&quot;),b=(function(){for(var x,_=[],E=0;E&lt;256;E++){x=E;for(var M=0;M&lt;8;M++)x=1&amp;x?3988292384^x&gt;&gt;&gt;1:x&gt;&gt;&gt;1;_[E]=x}return _})();v.exports=function(x,_){return x!==void 0&amp;&amp;x.length?p.getTypeOf(x)!==&quot;string&quot;?(function(E,M,D,W){var L=b,V=0+D;E^=-1;for(var H=0;H&lt;V;H++)E=E&gt;&gt;&gt;8^L[255&amp;(E^M[H])];return-1^E})(0|_,x,x.length):(function(E,M,D,W){var L=b,V=0+D;E^=-1;for(var H=0;H&lt;V;H++)E=E&gt;&gt;&gt;8^L[255&amp;(E^M.charCodeAt(H))];return-1^E})(0|_,x,x.length):0}},{&quot;./utils&quot;:32}],5:[function(d,v,y){y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(d,v,y){var p;p=typeof Promise&lt;&quot;u&quot;?Promise:d(&quot;lie&quot;),v.exports={Promise:p}},{lie:37}],7:[function(d,v,y){var p=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Uint32Array&lt;&quot;u&quot;,b=d(&quot;pako&quot;),x=d(&quot;./utils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=p?&quot;uint8array&quot;:&quot;array&quot;;function M(D,W){_.call(this,&quot;FlateWorker/&quot;+D),this._pako=null,this._pakoAction=D,this._pakoOptions=W,this.meta={}}y.magic=&quot;\b\0&quot;,x.inherits(M,_),M.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&amp;&amp;this._createPako(),this._pako.push(x.transformTo(E,D.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 b[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(W){D.push({data:W,meta:D.meta})}},y.compressWorker=function(D){return new M(&quot;Deflate&quot;,D)},y.uncompressWorker=function(){return new M(&quot;Inflate&quot;,{})}},{&quot;./stream/GenericWorker&quot;:28,&quot;./utils&quot;:32,pako:38}],8:[function(d,v,y){function p(L,V){var H,K=&quot;&quot;;for(H=0;H&lt;V;H++)K+=String.fromCharCode(255&amp;L),L&gt;&gt;&gt;=8;return K}function b(L,V,H,K,z,O){var I,C,j=L.file,k=L.compression,S=O!==E.utf8encode,N=x.transformTo(&quot;string&quot;,O(j.name)),T=x.transformTo(&quot;string&quot;,E.utf8encode(j.name)),R=j.comment,B=x.transformTo(&quot;string&quot;,O(R)),Y=x.transformTo(&quot;string&quot;,E.utf8encode(R)),Z=T.length!==j.name.length,ne=Y.length!==R.length,U=&quot;&quot;,ee=&quot;&quot;,F=&quot;&quot;,P=j.dir,X=j.date,re={crc32:0,compressedSize:0,uncompressedSize:0};V&amp;&amp;!H||(re.crc32=L.crc32,re.compressedSize=L.compressedSize,re.uncompressedSize=L.uncompressedSize);var Q=0;V&amp;&amp;(Q|=8),S||!Z&amp;&amp;!ne||(Q|=2048);var te=0,ae=0;P&amp;&amp;(te|=16),z===&quot;UNIX&quot;?(ae=798,te|=(function(he,se){var de=he;return he||(de=se?16893:33204),(65535&amp;de)&lt;&lt;16})(j.unixPermissions,P)):(ae=20,te|=(function(he){return 63&amp;(he||0)})(j.dosPermissions)),I=X.getUTCHours(),I&lt;&lt;=6,I|=X.getUTCMinutes(),I&lt;&lt;=5,I|=X.getUTCSeconds()/2,C=X.getUTCFullYear()-1980,C&lt;&lt;=4,C|=X.getUTCMonth()+1,C&lt;&lt;=5,C|=X.getUTCDate(),Z&amp;&amp;(ee=p(1,1)+p(M(N),4)+T,U+=&quot;up&quot;+p(ee.length,2)+ee),ne&amp;&amp;(F=p(1,1)+p(M(B),4)+Y,U+=&quot;uc&quot;+p(F.length,2)+F);var ce=&quot;&quot;;return ce+=`
\0`,ce+=p(Q,2),ce+=k.magic,ce+=p(I,2),ce+=p(C,2),ce+=p(re.crc32,4),ce+=p(re.compressedSize,4),ce+=p(re.uncompressedSize,4),ce+=p(N.length,2),ce+=p(U.length,2),{fileRecord:D.LOCAL_FILE_HEADER+ce+N+U,dirRecord:D.CENTRAL_FILE_HEADER+p(ae,2)+ce+p(B.length,2)+&quot;\0\0\0\0&quot;+p(te,4)+p(K,4)+N+U+B}}var x=d(&quot;../utils&quot;),_=d(&quot;../stream/GenericWorker&quot;),E=d(&quot;../utf8&quot;),M=d(&quot;../crc32&quot;),D=d(&quot;../signature&quot;);function W(L,V,H,K){_.call(this,&quot;ZipFileWorker&quot;),this.bytesWritten=0,this.zipComment=V,this.zipPlatform=H,this.encodeFileName=K,this.streamFiles=L,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}x.inherits(W,_),W.prototype.push=function(L){var V=L.meta.percent||0,H=this.entriesCount,K=this._sources.length;this.accumulate?this.contentBuffer.push(L):(this.bytesWritten+=L.data.length,_.prototype.push.call(this,{data:L.data,meta:{currentFile:this.currentFile,percent:H?(V+100*(H-K-1))/H:100}}))},W.prototype.openedSource=function(L){this.currentSourceOffset=this.bytesWritten,this.currentFile=L.file.name;var V=this.streamFiles&amp;&amp;!L.file.dir;if(V){var H=b(L,V,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:H.fileRecord,meta:{percent:0}})}else this.accumulate=!0},W.prototype.closedSource=function(L){this.accumulate=!1;var V=this.streamFiles&amp;&amp;!L.file.dir,H=b(L,V,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(H.dirRecord),V)this.push({data:(function(K){return D.DATA_DESCRIPTOR+p(K.crc32,4)+p(K.compressedSize,4)+p(K.uncompressedSize,4)})(L),meta:{percent:100}});else for(this.push({data:H.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},W.prototype.flush=function(){for(var L=this.bytesWritten,V=0;V&lt;this.dirRecords.length;V++)this.push({data:this.dirRecords[V],meta:{percent:100}});var H=this.bytesWritten-L,K=(function(z,O,I,C,j){var k=x.transformTo(&quot;string&quot;,j(C));return D.CENTRAL_DIRECTORY_END+&quot;\0\0\0\0&quot;+p(z,2)+p(z,2)+p(O,4)+p(I,4)+p(k.length,2)+k})(this.dirRecords.length,H,L,this.zipComment,this.encodeFileName);this.push({data:K,meta:{percent:100}})},W.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},W.prototype.registerPrevious=function(L){this._sources.push(L);var V=this;return L.on(&quot;data&quot;,(function(H){V.processChunk(H)})),L.on(&quot;end&quot;,(function(){V.closedSource(V.previous.streamInfo),V._sources.length?V.prepareNextSource():V.end()})),L.on(&quot;error&quot;,(function(H){V.error(H)})),this},W.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))},W.prototype.error=function(L){var V=this._sources;if(!_.prototype.error.call(this,L))return!1;for(var H=0;H&lt;V.length;H++)try{V[H].error(L)}catch{}return!0},W.prototype.lock=function(){_.prototype.lock.call(this);for(var L=this._sources,V=0;V&lt;L.length;V++)L[V].lock()},v.exports=W},{&quot;../crc32&quot;:4,&quot;../signature&quot;:23,&quot;../stream/GenericWorker&quot;:28,&quot;../utf8&quot;:31,&quot;../utils&quot;:32}],9:[function(d,v,y){var p=d(&quot;../compressions&quot;),b=d(&quot;./ZipFileWorker&quot;);y.generateWorker=function(x,_,E){var M=new b(_.streamFiles,E,_.platform,_.encodeFileName),D=0;try{x.forEach((function(W,L){D++;var V=(function(O,I){var C=O||I,j=p[C];if(!j)throw new Error(C+&quot; is not a valid compression method !&quot;);return j})(L.options.compression,_.compression),H=L.options.compressionOptions||_.compressionOptions||{},K=L.dir,z=L.date;L._compressWorker(V,H).withStreamInfo(&quot;file&quot;,{name:W,dir:K,date:z,comment:L.comment||&quot;&quot;,unixPermissions:L.unixPermissions,dosPermissions:L.dosPermissions}).pipe(M)})),M.entriesCount=D}catch(W){M.error(W)}return M}},{&quot;../compressions&quot;:3,&quot;./ZipFileWorker&quot;:8}],10:[function(d,v,y){function p(){if(!(this instanceof p))return new p;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 b=new p;for(var x in this)typeof this[x]!=&quot;function&quot;&amp;&amp;(b[x]=this[x]);return b}}(p.prototype=d(&quot;./object&quot;)).loadAsync=d(&quot;./load&quot;),p.support=d(&quot;./support&quot;),p.defaults=d(&quot;./defaults&quot;),p.version=&quot;3.10.1&quot;,p.loadAsync=function(b,x){return new p().loadAsync(b,x)},p.external=d(&quot;./external&quot;),v.exports=p},{&quot;./defaults&quot;:5,&quot;./external&quot;:6,&quot;./load&quot;:11,&quot;./object&quot;:15,&quot;./support&quot;:30}],11:[function(d,v,y){var p=d(&quot;./utils&quot;),b=d(&quot;./external&quot;),x=d(&quot;./utf8&quot;),_=d(&quot;./zipEntries&quot;),E=d(&quot;./stream/Crc32Probe&quot;),M=d(&quot;./nodejsUtils&quot;);function D(W){return new b.Promise((function(L,V){var H=W.decompressed.getContentWorker().pipe(new E);H.on(&quot;error&quot;,(function(K){V(K)})).on(&quot;end&quot;,(function(){H.streamInfo.crc32!==W.decompressed.crc32?V(new Error(&quot;Corrupted zip : CRC32 mismatch&quot;)):L()})).resume()}))}v.exports=function(W,L){var V=this;return L=p.extend(L||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:x.utf8decode}),M.isNode&amp;&amp;M.isStream(W)?b.Promise.reject(new Error(&quot;JSZip can&#039;t accept a stream when loading a zip file.&quot;)):p.prepareContent(&quot;the loaded zip file&quot;,W,!0,L.optimizedBinaryString,L.base64).then((function(H){var K=new _(L);return K.load(H),K})).then((function(H){var K=[b.Promise.resolve(H)],z=H.files;if(L.checkCRC32)for(var O=0;O&lt;z.length;O++)K.push(D(z[O]));return b.Promise.all(K)})).then((function(H){for(var K=H.shift(),z=K.files,O=0;O&lt;z.length;O++){var I=z[O],C=I.fileNameStr,j=p.resolve(I.fileNameStr);V.file(j,I.decompressed,{binary:!0,optimizedBinaryString:!0,date:I.date,dir:I.dir,comment:I.fileCommentStr.length?I.fileCommentStr:null,unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions,createFolders:L.createFolders}),I.dir||(V.file(j).unsafeOriginalName=C)}return K.zipComment.length&amp;&amp;(V.comment=K.zipComment),V}))}},{&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(d,v,y){var p=d(&quot;../utils&quot;),b=d(&quot;../stream/GenericWorker&quot;);function x(_,E){b.call(this,&quot;Nodejs stream input adapter for &quot;+_),this._upstreamEnded=!1,this._bindStream(E)}p.inherits(x,b),x.prototype._bindStream=function(_){var E=this;(this._stream=_).pause(),_.on(&quot;data&quot;,(function(M){E.push({data:M,meta:{percent:0}})})).on(&quot;error&quot;,(function(M){E.isPaused?this.generatedError=M:E.error(M)})).on(&quot;end&quot;,(function(){E.isPaused?E._upstreamEnded=!0:E.end()}))},x.prototype.pause=function(){return!!b.prototype.pause.call(this)&amp;&amp;(this._stream.pause(),!0)},x.prototype.resume=function(){return!!b.prototype.resume.call(this)&amp;&amp;(this._upstreamEnded?this.end():this._stream.resume(),!0)},v.exports=x},{&quot;../stream/GenericWorker&quot;:28,&quot;../utils&quot;:32}],13:[function(d,v,y){var p=d(&quot;readable-stream&quot;).Readable;function b(x,_,E){p.call(this,_),this._helper=x;var M=this;x.on(&quot;data&quot;,(function(D,W){M.push(D)||M._helper.pause(),E&amp;&amp;E(W)})).on(&quot;error&quot;,(function(D){M.emit(&quot;error&quot;,D)})).on(&quot;end&quot;,(function(){M.push(null)}))}d(&quot;../utils&quot;).inherits(b,p),b.prototype._read=function(){this._helper.resume()},v.exports=b},{&quot;../utils&quot;:32,&quot;readable-stream&quot;:16}],14:[function(d,v,y){v.exports={isNode:u!==void 0,newBufferFrom:function(p,b){if(u.from&amp;&amp;u.from!==Uint8Array.from)return u.from(p,b);if(typeof p==&quot;number&quot;)throw new Error(&#039;The &quot;data&quot; argument must not be a number&#039;);return new u(p,b)},allocBuffer:function(p){if(u.alloc)return u.alloc(p);var b=new u(p);return b.fill(0),b},isBuffer:function(p){return u.isBuffer(p)},isStream:function(p){return p&amp;&amp;typeof p.on==&quot;function&quot;&amp;&amp;typeof p.pause==&quot;function&quot;&amp;&amp;typeof p.resume==&quot;function&quot;}}},{}],15:[function(d,v,y){function p(j,k,S){var N,T=x.getTypeOf(k),R=x.extend(S||{},M);R.date=R.date||new Date,R.compression!==null&amp;&amp;(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions==&quot;string&quot;&amp;&amp;(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&amp;&amp;16384&amp;R.unixPermissions&amp;&amp;(R.dir=!0),R.dosPermissions&amp;&amp;16&amp;R.dosPermissions&amp;&amp;(R.dir=!0),R.dir&amp;&amp;(j=z(j)),R.createFolders&amp;&amp;(N=K(j))&amp;&amp;O.call(this,N,!0);var B=T===&quot;string&quot;&amp;&amp;R.binary===!1&amp;&amp;R.base64===!1;S&amp;&amp;S.binary!==void 0||(R.binary=!B),(k instanceof D&amp;&amp;k.uncompressedSize===0||R.dir||!k||k.length===0)&amp;&amp;(R.base64=!1,R.binary=!0,k=&quot;&quot;,R.compression=&quot;STORE&quot;,T=&quot;string&quot;);var Y;Y=k instanceof D||k instanceof _?k:V.isNode&amp;&amp;V.isStream(k)?new H(j,k):x.prepareContent(j,k,R.binary,R.optimizedBinaryString,R.base64);var Z=new W(j,Y,R);this.files[j]=Z}var b=d(&quot;./utf8&quot;),x=d(&quot;./utils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=d(&quot;./stream/StreamHelper&quot;),M=d(&quot;./defaults&quot;),D=d(&quot;./compressedObject&quot;),W=d(&quot;./zipObject&quot;),L=d(&quot;./generate&quot;),V=d(&quot;./nodejsUtils&quot;),H=d(&quot;./nodejs/NodejsStreamInputAdapter&quot;),K=function(j){j.slice(-1)===&quot;/&quot;&amp;&amp;(j=j.substring(0,j.length-1));var k=j.lastIndexOf(&quot;/&quot;);return 0&lt;k?j.substring(0,k):&quot;&quot;},z=function(j){return j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),j},O=function(j,k){return k=k!==void 0?k:M.createFolders,j=z(j),this.files[j]||p.call(this,j,null,{dir:!0,createFolders:k}),this.files[j]};function I(j){return Object.prototype.toString.call(j)===&quot;[object RegExp]&quot;}var C={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,p.call(this,j,k,S),this;if(I(j)){var N=j;return this.filter((function(R,B){return!B.dir&amp;&amp;N.test(R)}))}var T=this.files[this.root+j];return T&amp;&amp;!T.dir?T:null},folder:function(j){if(!j)return this;if(I(j))return this.filter((function(T,R){return R.dir&amp;&amp;j.test(T)}));var k=this.root+j,S=O.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(T,R){return R.name.slice(0,j.length)===j})),N=0;N&lt;S.length;N++)delete this.files[S[N].name];return this},generate:function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},generateInternalStream:function(j){var k,S={};try{if((S=x.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:b.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;);x.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=L.generateWorker(this,S,N)}catch(T){(k=new _(&quot;error&quot;)).error(T)}return new E(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)}};v.exports=C},{&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(d,v,y){v.exports=d(&quot;stream&quot;)},{stream:void 0}],17:[function(d,v,y){var p=d(&quot;./DataReader&quot;);function b(x){p.call(this,x);for(var _=0;_&lt;this.data.length;_++)x[_]=255&amp;x[_]}d(&quot;../utils&quot;).inherits(b,p),b.prototype.byteAt=function(x){return this.data[this.zero+x]},b.prototype.lastIndexOfSignature=function(x){for(var _=x.charCodeAt(0),E=x.charCodeAt(1),M=x.charCodeAt(2),D=x.charCodeAt(3),W=this.length-4;0&lt;=W;--W)if(this.data[W]===_&amp;&amp;this.data[W+1]===E&amp;&amp;this.data[W+2]===M&amp;&amp;this.data[W+3]===D)return W-this.zero;return-1},b.prototype.readAndCheckSignature=function(x){var _=x.charCodeAt(0),E=x.charCodeAt(1),M=x.charCodeAt(2),D=x.charCodeAt(3),W=this.readData(4);return _===W[0]&amp;&amp;E===W[1]&amp;&amp;M===W[2]&amp;&amp;D===W[3]},b.prototype.readData=function(x){if(this.checkOffset(x),x===0)return[];var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},v.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],18:[function(d,v,y){var p=d(&quot;../utils&quot;);function b(x){this.data=x,this.length=x.length,this.index=0,this.zero=0}b.prototype={checkOffset:function(x){this.checkIndex(this.index+x)},checkIndex:function(x){if(this.length&lt;this.zero+x||x&lt;0)throw new Error(&quot;End of data reached (data length = &quot;+this.length+&quot;, asked index = &quot;+x+&quot;). Corrupted zip ?&quot;)},setIndex:function(x){this.checkIndex(x),this.index=x},skip:function(x){this.setIndex(this.index+x)},byteAt:function(){},readInt:function(x){var _,E=0;for(this.checkOffset(x),_=this.index+x-1;_&gt;=this.index;_--)E=(E&lt;&lt;8)+this.byteAt(_);return this.index+=x,E},readString:function(x){return p.transformTo(&quot;string&quot;,this.readData(x))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var x=this.readInt(4);return new Date(Date.UTC(1980+(x&gt;&gt;25&amp;127),(x&gt;&gt;21&amp;15)-1,x&gt;&gt;16&amp;31,x&gt;&gt;11&amp;31,x&gt;&gt;5&amp;63,(31&amp;x)&lt;&lt;1))}},v.exports=b},{&quot;../utils&quot;:32}],19:[function(d,v,y){var p=d(&quot;./Uint8ArrayReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),b.prototype.readData=function(x){this.checkOffset(x);var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},v.exports=b},{&quot;../utils&quot;:32,&quot;./Uint8ArrayReader&quot;:21}],20:[function(d,v,y){var p=d(&quot;./DataReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),b.prototype.byteAt=function(x){return this.data.charCodeAt(this.zero+x)},b.prototype.lastIndexOfSignature=function(x){return this.data.lastIndexOf(x)-this.zero},b.prototype.readAndCheckSignature=function(x){return x===this.readData(4)},b.prototype.readData=function(x){this.checkOffset(x);var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},v.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],21:[function(d,v,y){var p=d(&quot;./ArrayReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),b.prototype.readData=function(x){if(this.checkOffset(x),x===0)return new Uint8Array(0);var _=this.data.subarray(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},v.exports=b},{&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17}],22:[function(d,v,y){var p=d(&quot;../utils&quot;),b=d(&quot;../support&quot;),x=d(&quot;./ArrayReader&quot;),_=d(&quot;./StringReader&quot;),E=d(&quot;./NodeBufferReader&quot;),M=d(&quot;./Uint8ArrayReader&quot;);v.exports=function(D){var W=p.getTypeOf(D);return p.checkSupport(W),W!==&quot;string&quot;||b.uint8array?W===&quot;nodebuffer&quot;?new E(D):b.uint8array?new M(p.transformTo(&quot;uint8array&quot;,D)):new x(p.transformTo(&quot;array&quot;,D)):new _(D)}},{&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(d,v,y){y.LOCAL_FILE_HEADER=&quot;PK&quot;,y.CENTRAL_FILE_HEADER=&quot;PK&quot;,y.CENTRAL_DIRECTORY_END=&quot;PK&quot;,y.ZIP64_CENTRAL_DIRECTORY_LOCATOR=&quot;PK\x07&quot;,y.ZIP64_CENTRAL_DIRECTORY_END=&quot;PK&quot;,y.DATA_DESCRIPTOR=&quot;PK\x07\b&quot;},{}],24:[function(d,v,y){var p=d(&quot;./GenericWorker&quot;),b=d(&quot;../utils&quot;);function x(_){p.call(this,&quot;ConvertWorker to &quot;+_),this.destType=_}b.inherits(x,p),x.prototype.processChunk=function(_){this.push({data:b.transformTo(this.destType,_.data),meta:_.meta})},v.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],25:[function(d,v,y){var p=d(&quot;./GenericWorker&quot;),b=d(&quot;../crc32&quot;);function x(){p.call(this,&quot;Crc32Probe&quot;),this.withStreamInfo(&quot;crc32&quot;,0)}d(&quot;../utils&quot;).inherits(x,p),x.prototype.processChunk=function(_){this.streamInfo.crc32=b(_.data,this.streamInfo.crc32||0),this.push(_)},v.exports=x},{&quot;../crc32&quot;:4,&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],26:[function(d,v,y){var p=d(&quot;../utils&quot;),b=d(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataLengthProbe for &quot;+_),this.propName=_,this.withStreamInfo(_,0)}p.inherits(x,b),x.prototype.processChunk=function(_){if(_){var E=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=E+_.data.length}b.prototype.processChunk.call(this,_)},v.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],27:[function(d,v,y){var p=d(&quot;../utils&quot;),b=d(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataWorker&quot;);var E=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=&quot;&quot;,this._tickScheduled=!1,_.then((function(M){E.dataIsReady=!0,E.data=M,E.max=M&amp;&amp;M.length||0,E.type=p.getTypeOf(M),E.isPaused||E._tickAndRepeat()}),(function(M){E.error(M)}))}p.inherits(x,b),x.prototype.cleanUp=function(){b.prototype.cleanUp.call(this),this.data=null},x.prototype.resume=function(){return!!b.prototype.resume.call(this)&amp;&amp;(!this._tickScheduled&amp;&amp;this.dataIsReady&amp;&amp;(this._tickScheduled=!0,p.delay(this._tickAndRepeat,[],this)),!0)},x.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(p.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},x.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var _=null,E=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,E);break;case&quot;uint8array&quot;:_=this.data.subarray(this.index,E);break;case&quot;array&quot;:case&quot;nodebuffer&quot;:_=this.data.slice(this.index,E)}return this.index=E,this.push({data:_,meta:{percent:this.max?this.index/this.max*100:0}})},v.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],28:[function(d,v,y){function p(b){this.name=b||&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}p.prototype={push:function(b){this.emit(&quot;data&quot;,b)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(&quot;end&quot;),this.cleanUp(),this.isFinished=!0}catch(b){this.emit(&quot;error&quot;,b)}return!0},error:function(b){return!this.isFinished&amp;&amp;(this.isPaused?this.generatedError=b:(this.isFinished=!0,this.emit(&quot;error&quot;,b),this.previous&amp;&amp;this.previous.error(b),this.cleanUp()),!0)},on:function(b,x){return this._listeners[b].push(x),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(b,x){if(this._listeners[b])for(var _=0;_&lt;this._listeners[b].length;_++)this._listeners[b][_].call(this,x)},pipe:function(b){return b.registerPrevious(this)},registerPrevious:function(b){if(this.isLocked)throw new Error(&quot;The stream &#039;&quot;+this+&quot;&#039; has already been used.&quot;);this.streamInfo=b.streamInfo,this.mergeStreamInfo(),this.previous=b;var x=this;return b.on(&quot;data&quot;,(function(_){x.processChunk(_)})),b.on(&quot;end&quot;,(function(){x.end()})),b.on(&quot;error&quot;,(function(_){x.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 b=this.isPaused=!1;return this.generatedError&amp;&amp;(this.error(this.generatedError),b=!0),this.previous&amp;&amp;this.previous.resume(),!b},flush:function(){},processChunk:function(b){this.push(b)},withStreamInfo:function(b,x){return this.extraStreamInfo[b]=x,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var b in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,b)&amp;&amp;(this.streamInfo[b]=this.extraStreamInfo[b])},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 b=&quot;Worker &quot;+this.name;return this.previous?this.previous+&quot; -&gt; &quot;+b:b}},v.exports=p},{}],29:[function(d,v,y){var p=d(&quot;../utils&quot;),b=d(&quot;./ConvertWorker&quot;),x=d(&quot;./GenericWorker&quot;),_=d(&quot;../base64&quot;),E=d(&quot;../support&quot;),M=d(&quot;../external&quot;),D=null;if(E.nodestream)try{D=d(&quot;../nodejs/NodejsStreamOutputAdapter&quot;)}catch{}function W(L,V,H){var K=V;switch(V){case&quot;blob&quot;:case&quot;arraybuffer&quot;:K=&quot;uint8array&quot;;break;case&quot;base64&quot;:K=&quot;string&quot;}try{this._internalType=K,this._outputType=V,this._mimeType=H,p.checkSupport(K),this._worker=L.pipe(new b(K)),L.lock()}catch(z){this._worker=new x(&quot;error&quot;),this._worker.error(z)}}W.prototype={accumulate:function(L){return(function(V,H){return new M.Promise((function(K,z){var O=[],I=V._internalType,C=V._outputType,j=V._mimeType;V.on(&quot;data&quot;,(function(k,S){O.push(k),H&amp;&amp;H(S)})).on(&quot;error&quot;,(function(k){O=[],z(k)})).on(&quot;end&quot;,(function(){try{var k=(function(S,N,T){switch(S){case&quot;blob&quot;:return p.newBlob(p.transformTo(&quot;arraybuffer&quot;,N),T);case&quot;base64&quot;:return _.encode(N);default:return p.transformTo(S,N)}})(C,(function(S,N){var T,R=0,B=null,Y=0;for(T=0;T&lt;N.length;T++)Y+=N[T].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),T=0;T&lt;N.length;T++)B.set(N[T],R),R+=N[T].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;)}})(I,O),j);K(k)}catch(S){z(S)}O=[]})).resume()}))})(this,L)},on:function(L,V){var H=this;return L===&quot;data&quot;?this._worker.on(L,(function(K){V.call(H,K.data,K.meta)})):this._worker.on(L,(function(){p.delay(V,arguments,H)})),this},resume:function(){return p.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(L){if(p.checkSupport(&quot;nodestream&quot;),this._outputType!==&quot;nodebuffer&quot;)throw new Error(this._outputType+&quot; is not supported by this method&quot;);return new D(this,{objectMode:this._outputType!==&quot;nodebuffer&quot;},L)}},v.exports=W},{&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(d,v,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer&lt;&quot;u&quot;&amp;&amp;typeof Uint8Array&lt;&quot;u&quot;,y.nodebuffer=u!==void 0,y.uint8array=typeof Uint8Array&lt;&quot;u&quot;,typeof ArrayBuffer&gt;&quot;u&quot;)y.blob=!1;else{var p=new ArrayBuffer(0);try{y.blob=new Blob([p],{type:&quot;application/zip&quot;}).size===0}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);b.append(p),y.blob=b.getBlob(&quot;application/zip&quot;).size===0}catch{y.blob=!1}}}try{y.nodestream=!!d(&quot;readable-stream&quot;).Readable}catch{y.nodestream=!1}},{&quot;readable-stream&quot;:16}],31:[function(d,v,y){for(var p=d(&quot;./utils&quot;),b=d(&quot;./support&quot;),x=d(&quot;./nodejsUtils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=new Array(256),M=0;M&lt;256;M++)E[M]=252&lt;=M?6:248&lt;=M?5:240&lt;=M?4:224&lt;=M?3:192&lt;=M?2:1;function D(){_.call(this,&quot;utf-8 decode&quot;),this.leftOver=null}function W(){_.call(this,&quot;utf-8 encode&quot;)}E[254]=E[254]=1,y.utf8encode=function(L){return b.nodebuffer?x.newBufferFrom(L,&quot;utf-8&quot;):(function(V){var H,K,z,O,I,C=V.length,j=0;for(O=0;O&lt;C;O++)(64512&amp;(K=V.charCodeAt(O)))==55296&amp;&amp;O+1&lt;C&amp;&amp;(64512&amp;(z=V.charCodeAt(O+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(z-56320),O++),j+=K&lt;128?1:K&lt;2048?2:K&lt;65536?3:4;for(H=b.uint8array?new Uint8Array(j):new Array(j),O=I=0;I&lt;j;O++)(64512&amp;(K=V.charCodeAt(O)))==55296&amp;&amp;O+1&lt;C&amp;&amp;(64512&amp;(z=V.charCodeAt(O+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(z-56320),O++),K&lt;128?H[I++]=K:(K&lt;2048?H[I++]=192|K&gt;&gt;&gt;6:(K&lt;65536?H[I++]=224|K&gt;&gt;&gt;12:(H[I++]=240|K&gt;&gt;&gt;18,H[I++]=128|K&gt;&gt;&gt;12&amp;63),H[I++]=128|K&gt;&gt;&gt;6&amp;63),H[I++]=128|63&amp;K);return H})(L)},y.utf8decode=function(L){return b.nodebuffer?p.transformTo(&quot;nodebuffer&quot;,L).toString(&quot;utf-8&quot;):(function(V){var H,K,z,O,I=V.length,C=new Array(2*I);for(H=K=0;H&lt;I;)if((z=V[H++])&lt;128)C[K++]=z;else if(4&lt;(O=E[z]))C[K++]=65533,H+=O-1;else{for(z&amp;=O===2?31:O===3?15:7;1&lt;O&amp;&amp;H&lt;I;)z=z&lt;&lt;6|63&amp;V[H++],O--;1&lt;O?C[K++]=65533:z&lt;65536?C[K++]=z:(z-=65536,C[K++]=55296|z&gt;&gt;10&amp;1023,C[K++]=56320|1023&amp;z)}return C.length!==K&amp;&amp;(C.subarray?C=C.subarray(0,K):C.length=K),p.applyFromCharCode(C)})(L=p.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L))},p.inherits(D,_),D.prototype.processChunk=function(L){var V=p.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L.data);if(this.leftOver&amp;&amp;this.leftOver.length){if(b.uint8array){var H=V;(V=new Uint8Array(H.length+this.leftOver.length)).set(this.leftOver,0),V.set(H,this.leftOver.length)}else V=this.leftOver.concat(V);this.leftOver=null}var K=(function(O,I){var C;for((I=I||O.length)&gt;O.length&amp;&amp;(I=O.length),C=I-1;0&lt;=C&amp;&amp;(192&amp;O[C])==128;)C--;return C&lt;0||C===0?I:C+E[O[C]]&gt;I?C:I})(V),z=V;K!==V.length&amp;&amp;(b.uint8array?(z=V.subarray(0,K),this.leftOver=V.subarray(K,V.length)):(z=V.slice(0,K),this.leftOver=V.slice(K,V.length))),this.push({data:y.utf8decode(z),meta:L.meta})},D.prototype.flush=function(){this.leftOver&amp;&amp;this.leftOver.length&amp;&amp;(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=D,p.inherits(W,_),W.prototype.processChunk=function(L){this.push({data:y.utf8encode(L.data),meta:L.meta})},y.Utf8EncodeWorker=W},{&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./support&quot;:30,&quot;./utils&quot;:32}],32:[function(d,v,y){var p=d(&quot;./support&quot;),b=d(&quot;./base64&quot;),x=d(&quot;./nodejsUtils&quot;),_=d(&quot;./external&quot;);function E(H){return H}function M(H,K){for(var z=0;z&lt;H.length;++z)K[z]=255&amp;H.charCodeAt(z);return K}d(&quot;setimmediate&quot;),y.newBlob=function(H,K){y.checkSupport(&quot;blob&quot;);try{return new Blob([H],{type:K})}catch{try{var z=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return z.append(H),z.getBlob(K)}catch{throw new Error(&quot;Bug : can&#039;t construct the Blob.&quot;)}}};var D={stringifyByChunk:function(H,K,z){var O=[],I=0,C=H.length;if(C&lt;=z)return String.fromCharCode.apply(null,H);for(;I&lt;C;)K===&quot;array&quot;||K===&quot;nodebuffer&quot;?O.push(String.fromCharCode.apply(null,H.slice(I,Math.min(I+z,C)))):O.push(String.fromCharCode.apply(null,H.subarray(I,Math.min(I+z,C)))),I+=z;return O.join(&quot;&quot;)},stringifyByChar:function(H){for(var K=&quot;&quot;,z=0;z&lt;H.length;z++)K+=String.fromCharCode(H[z]);return K},applyCanBeUsed:{uint8array:(function(){try{return p.uint8array&amp;&amp;String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return p.nodebuffer&amp;&amp;String.fromCharCode.apply(null,x.allocBuffer(1)).length===1}catch{return!1}})()}};function W(H){var K=65536,z=y.getTypeOf(H),O=!0;if(z===&quot;uint8array&quot;?O=D.applyCanBeUsed.uint8array:z===&quot;nodebuffer&quot;&amp;&amp;(O=D.applyCanBeUsed.nodebuffer),O)for(;1&lt;K;)try{return D.stringifyByChunk(H,z,K)}catch{K=Math.floor(K/2)}return D.stringifyByChar(H)}function L(H,K){for(var z=0;z&lt;H.length;z++)K[z]=H[z];return K}y.applyFromCharCode=W;var V={};V.string={string:E,array:function(H){return M(H,new Array(H.length))},arraybuffer:function(H){return V.string.uint8array(H).buffer},uint8array:function(H){return M(H,new Uint8Array(H.length))},nodebuffer:function(H){return M(H,x.allocBuffer(H.length))}},V.array={string:W,array:E,arraybuffer:function(H){return new Uint8Array(H).buffer},uint8array:function(H){return new Uint8Array(H)},nodebuffer:function(H){return x.newBufferFrom(H)}},V.arraybuffer={string:function(H){return W(new Uint8Array(H))},array:function(H){return L(new Uint8Array(H),new Array(H.byteLength))},arraybuffer:E,uint8array:function(H){return new Uint8Array(H)},nodebuffer:function(H){return x.newBufferFrom(new Uint8Array(H))}},V.uint8array={string:W,array:function(H){return L(H,new Array(H.length))},arraybuffer:function(H){return H.buffer},uint8array:E,nodebuffer:function(H){return x.newBufferFrom(H)}},V.nodebuffer={string:W,array:function(H){return L(H,new Array(H.length))},arraybuffer:function(H){return V.nodebuffer.uint8array(H).buffer},uint8array:function(H){return L(H,new Uint8Array(H.length))},nodebuffer:E},y.transformTo=function(H,K){if(K=K||&quot;&quot;,!H)return K;y.checkSupport(H);var z=y.getTypeOf(K);return V[z][H](K)},y.resolve=function(H){for(var K=H.split(&quot;/&quot;),z=[],O=0;O&lt;K.length;O++){var I=K[O];I===&quot;.&quot;||I===&quot;&quot;&amp;&amp;O!==0&amp;&amp;O!==K.length-1||(I===&quot;..&quot;?z.pop():z.push(I))}return z.join(&quot;/&quot;)},y.getTypeOf=function(H){return typeof H==&quot;string&quot;?&quot;string&quot;:Object.prototype.toString.call(H)===&quot;[object Array]&quot;?&quot;array&quot;:p.nodebuffer&amp;&amp;x.isBuffer(H)?&quot;nodebuffer&quot;:p.uint8array&amp;&amp;H instanceof Uint8Array?&quot;uint8array&quot;:p.arraybuffer&amp;&amp;H instanceof ArrayBuffer?&quot;arraybuffer&quot;:void 0},y.checkSupport=function(H){if(!p[H.toLowerCase()])throw new Error(H+&quot; is not supported by this platform&quot;)},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(H){var K,z,O=&quot;&quot;;for(z=0;z&lt;(H||&quot;&quot;).length;z++)O+=&quot;\\x&quot;+((K=H.charCodeAt(z))&lt;16?&quot;0&quot;:&quot;&quot;)+K.toString(16).toUpperCase();return O},y.delay=function(H,K,z){f((function(){H.apply(z||null,K||[])}))},y.inherits=function(H,K){function z(){}z.prototype=K.prototype,H.prototype=new z},y.extend=function(){var H,K,z={};for(H=0;H&lt;arguments.length;H++)for(K in arguments[H])Object.prototype.hasOwnProperty.call(arguments[H],K)&amp;&amp;z[K]===void 0&amp;&amp;(z[K]=arguments[H][K]);return z},y.prepareContent=function(H,K,z,O,I){return _.Promise.resolve(K).then((function(C){return p.blob&amp;&amp;(C instanceof Blob||[&quot;[object File]&quot;,&quot;[object Blob]&quot;].indexOf(Object.prototype.toString.call(C))!==-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(C)})):C})).then((function(C){var j=y.getTypeOf(C);return j?(j===&quot;arraybuffer&quot;?C=y.transformTo(&quot;uint8array&quot;,C):j===&quot;string&quot;&amp;&amp;(I?C=b.decode(C):z&amp;&amp;O!==!0&amp;&amp;(C=(function(k){return M(k,p.uint8array?new Uint8Array(k.length):new Array(k.length))})(C))),C):_.Promise.reject(new Error(&quot;Can&#039;t read the data of &#039;&quot;+H+&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(d,v,y){var p=d(&quot;./reader/readerFor&quot;),b=d(&quot;./utils&quot;),x=d(&quot;./signature&quot;),_=d(&quot;./zipEntry&quot;),E=d(&quot;./support&quot;);function M(D){this.files=[],this.loadOptions=D}M.prototype={checkSignature:function(D){if(!this.reader.readAndCheckSignature(D)){this.reader.index-=4;var W=this.reader.readString(4);throw new Error(&quot;Corrupted zip or bug: unexpected signature (&quot;+b.pretty(W)+&quot;, expected &quot;+b.pretty(D)+&quot;)&quot;)}},isSignature:function(D,W){var L=this.reader.index;this.reader.setIndex(D);var V=this.reader.readString(4)===W;return this.reader.setIndex(L),V},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 D=this.reader.readData(this.zipCommentLength),W=E.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L=b.transformTo(W,D);this.zipComment=this.loadOptions.decodeFileName(L)},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 D,W,L,V=this.zip64EndOfCentralSize-44;0&lt;V;)D=this.reader.readInt(2),W=this.reader.readInt(4),L=this.reader.readData(W),this.zip64ExtensibleData[D]={id:D,length:W,value:L}},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 D,W;for(D=0;D&lt;this.files.length;D++)W=this.files[D],this.reader.setIndex(W.localHeaderOffset),this.checkSignature(x.LOCAL_FILE_HEADER),W.readLocalPart(this.reader),W.handleUTF8(),W.processAttributes()},readCentralDir:function(){var D;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(x.CENTRAL_FILE_HEADER);)(D=new _({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(D);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 D=this.reader.lastIndexOfSignature(x.CENTRAL_DIRECTORY_END);if(D&lt;0)throw this.isSignature(0,x.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(D);var W=D;if(this.checkSignature(x.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===b.MAX_VALUE_16BITS||this.diskWithCentralDirStart===b.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===b.MAX_VALUE_16BITS||this.centralDirRecords===b.MAX_VALUE_16BITS||this.centralDirSize===b.MAX_VALUE_32BITS||this.centralDirOffset===b.MAX_VALUE_32BITS){if(this.zip64=!0,(D=this.reader.lastIndexOfSignature(x.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(D),this.checkSignature(x.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,x.ZIP64_CENTRAL_DIRECTORY_END)&amp;&amp;(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(x.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(x.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var L=this.centralDirOffset+this.centralDirSize;this.zip64&amp;&amp;(L+=20,L+=12+this.zip64EndOfCentralSize);var V=W-L;if(0&lt;V)this.isSignature(W,x.CENTRAL_FILE_HEADER)||(this.reader.zero=V);else if(V&lt;0)throw new Error(&quot;Corrupted zip: missing &quot;+Math.abs(V)+&quot; bytes.&quot;)},prepareReader:function(D){this.reader=p(D)},load:function(D){this.prepareReader(D),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},v.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(d,v,y){var p=d(&quot;./reader/readerFor&quot;),b=d(&quot;./utils&quot;),x=d(&quot;./compressedObject&quot;),_=d(&quot;./crc32&quot;),E=d(&quot;./utf8&quot;),M=d(&quot;./compressions&quot;),D=d(&quot;./support&quot;);function W(L,V){this.options=L,this.loadOptions=V}W.prototype={isEncrypted:function(){return(1&amp;this.bitFlag)==1},useUTF8:function(){return(2048&amp;this.bitFlag)==2048},readLocalPart:function(L){var V,H;if(L.skip(22),this.fileNameLength=L.readInt(2),H=L.readInt(2),this.fileName=L.readData(this.fileNameLength),L.skip(H),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((V=(function(K){for(var z in M)if(Object.prototype.hasOwnProperty.call(M,z)&amp;&amp;M[z].magic===K)return M[z];return null})(this.compressionMethod))===null)throw new Error(&quot;Corrupted zip : compression &quot;+b.pretty(this.compressionMethod)+&quot; unknown (inner file : &quot;+b.transformTo(&quot;string&quot;,this.fileName)+&quot;)&quot;);this.decompressed=new x(this.compressedSize,this.uncompressedSize,this.crc32,V,L.readData(this.compressedSize))},readCentralPart:function(L){this.versionMadeBy=L.readInt(2),L.skip(2),this.bitFlag=L.readInt(2),this.compressionMethod=L.readString(2),this.date=L.readDate(),this.crc32=L.readInt(4),this.compressedSize=L.readInt(4),this.uncompressedSize=L.readInt(4);var V=L.readInt(2);if(this.extraFieldsLength=L.readInt(2),this.fileCommentLength=L.readInt(2),this.diskNumberStart=L.readInt(2),this.internalFileAttributes=L.readInt(2),this.externalFileAttributes=L.readInt(4),this.localHeaderOffset=L.readInt(4),this.isEncrypted())throw new Error(&quot;Encrypted zip are not supported&quot;);L.skip(V),this.readExtraFields(L),this.parseZIP64ExtraField(L),this.fileComment=L.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var L=this.versionMadeBy&gt;&gt;8;this.dir=!!(16&amp;this.externalFileAttributes),L==0&amp;&amp;(this.dosPermissions=63&amp;this.externalFileAttributes),L==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 L=p(this.extraFields[1].value);this.uncompressedSize===b.MAX_VALUE_32BITS&amp;&amp;(this.uncompressedSize=L.readInt(8)),this.compressedSize===b.MAX_VALUE_32BITS&amp;&amp;(this.compressedSize=L.readInt(8)),this.localHeaderOffset===b.MAX_VALUE_32BITS&amp;&amp;(this.localHeaderOffset=L.readInt(8)),this.diskNumberStart===b.MAX_VALUE_32BITS&amp;&amp;(this.diskNumberStart=L.readInt(4))}},readExtraFields:function(L){var V,H,K,z=L.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});L.index+4&lt;z;)V=L.readInt(2),H=L.readInt(2),K=L.readData(H),this.extraFields[V]={id:V,length:H,value:K};L.setIndex(z)},handleUTF8:function(){var L=D.uint8array?&quot;uint8array&quot;:&quot;array&quot;;if(this.useUTF8())this.fileNameStr=E.utf8decode(this.fileName),this.fileCommentStr=E.utf8decode(this.fileComment);else{var V=this.findExtraFieldUnicodePath();if(V!==null)this.fileNameStr=V;else{var H=b.transformTo(L,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(H)}var K=this.findExtraFieldUnicodeComment();if(K!==null)this.fileCommentStr=K;else{var z=b.transformTo(L,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(z)}}},findExtraFieldUnicodePath:function(){var L=this.extraFields[28789];if(L){var V=p(L.value);return V.readInt(1)!==1||_(this.fileName)!==V.readInt(4)?null:E.utf8decode(V.readData(L.length-5))}return null},findExtraFieldUnicodeComment:function(){var L=this.extraFields[25461];if(L){var V=p(L.value);return V.readInt(1)!==1||_(this.fileComment)!==V.readInt(4)?null:E.utf8decode(V.readData(L.length-5))}return null}},v.exports=W},{&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(d,v,y){function p(V,H,K){this.name=V,this.dir=K.dir,this.date=K.date,this.comment=K.comment,this.unixPermissions=K.unixPermissions,this.dosPermissions=K.dosPermissions,this._data=H,this._dataBinary=K.binary,this.options={compression:K.compression,compressionOptions:K.compressionOptions}}var b=d(&quot;./stream/StreamHelper&quot;),x=d(&quot;./stream/DataWorker&quot;),_=d(&quot;./utf8&quot;),E=d(&quot;./compressedObject&quot;),M=d(&quot;./stream/GenericWorker&quot;);p.prototype={internalStream:function(V){var H=null,K=&quot;string&quot;;try{if(!V)throw new Error(&quot;No output type specified.&quot;);var z=(K=V.toLowerCase())===&quot;string&quot;||K===&quot;text&quot;;K!==&quot;binarystring&quot;&amp;&amp;K!==&quot;text&quot;||(K=&quot;string&quot;),H=this._decompressWorker();var O=!this._dataBinary;O&amp;&amp;!z&amp;&amp;(H=H.pipe(new _.Utf8EncodeWorker)),!O&amp;&amp;z&amp;&amp;(H=H.pipe(new _.Utf8DecodeWorker))}catch(I){(H=new M(&quot;error&quot;)).error(I)}return new b(H,K,&quot;&quot;)},async:function(V,H){return this.internalStream(V).accumulate(H)},nodeStream:function(V,H){return this.internalStream(V||&quot;nodebuffer&quot;).toNodejsStream(H)},_compressWorker:function(V,H){if(this._data instanceof E&amp;&amp;this._data.compression.magic===V.magic)return this._data.getCompressedWorker();var K=this._decompressWorker();return this._dataBinary||(K=K.pipe(new _.Utf8EncodeWorker)),E.createWorkerFrom(K,V,H)},_decompressWorker:function(){return this._data instanceof E?this._data.getContentWorker():this._data instanceof M?this._data:new x(this._data)}};for(var D=[&quot;asText&quot;,&quot;asBinary&quot;,&quot;asNodeBuffer&quot;,&quot;asUint8Array&quot;,&quot;asArrayBuffer&quot;],W=function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},L=0;L&lt;D.length;L++)p.prototype[D[L]]=W;v.exports=p},{&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(d,v,y){(function(p){var b,x,_=p.MutationObserver||p.WebKitMutationObserver;if(_){var E=0,M=new _(V),D=p.document.createTextNode(&quot;&quot;);M.observe(D,{characterData:!0}),b=function(){D.data=E=++E%2}}else if(p.setImmediate||p.MessageChannel===void 0)b=&quot;document&quot;in p&amp;&amp;&quot;onreadystatechange&quot;in p.document.createElement(&quot;script&quot;)?function(){var H=p.document.createElement(&quot;script&quot;);H.onreadystatechange=function(){V(),H.onreadystatechange=null,H.parentNode.removeChild(H),H=null},p.document.documentElement.appendChild(H)}:function(){setTimeout(V,0)};else{var W=new p.MessageChannel;W.port1.onmessage=V,b=function(){W.port2.postMessage(0)}}var L=[];function V(){var H,K;x=!0;for(var z=L.length;z;){for(K=L,L=[],H=-1;++H&lt;z;)K[H]();z=L.length}x=!1}v.exports=function(H){L.push(H)!==1||x||b()}}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],37:[function(d,v,y){var p=d(&quot;immediate&quot;);function b(){}var x={},_=[&quot;REJECTED&quot;],E=[&quot;FULFILLED&quot;],M=[&quot;PENDING&quot;];function D(z){if(typeof z!=&quot;function&quot;)throw new TypeError(&quot;resolver must be a function&quot;);this.state=M,this.queue=[],this.outcome=void 0,z!==b&amp;&amp;H(this,z)}function W(z,O,I){this.promise=z,typeof O==&quot;function&quot;&amp;&amp;(this.onFulfilled=O,this.callFulfilled=this.otherCallFulfilled),typeof I==&quot;function&quot;&amp;&amp;(this.onRejected=I,this.callRejected=this.otherCallRejected)}function L(z,O,I){p((function(){var C;try{C=O(I)}catch(j){return x.reject(z,j)}C===z?x.reject(z,new TypeError(&quot;Cannot resolve promise with itself&quot;)):x.resolve(z,C)}))}function V(z){var O=z&amp;&amp;z.then;if(z&amp;&amp;(typeof z==&quot;object&quot;||typeof z==&quot;function&quot;)&amp;&amp;typeof O==&quot;function&quot;)return function(){O.apply(z,arguments)}}function H(z,O){var I=!1;function C(S){I||(I=!0,x.reject(z,S))}function j(S){I||(I=!0,x.resolve(z,S))}var k=K((function(){O(j,C)}));k.status===&quot;error&quot;&amp;&amp;C(k.value)}function K(z,O){var I={};try{I.value=z(O),I.status=&quot;success&quot;}catch(C){I.status=&quot;error&quot;,I.value=C}return I}(v.exports=D).prototype.finally=function(z){if(typeof z!=&quot;function&quot;)return this;var O=this.constructor;return this.then((function(I){return O.resolve(z()).then((function(){return I}))}),(function(I){return O.resolve(z()).then((function(){throw I}))}))},D.prototype.catch=function(z){return this.then(null,z)},D.prototype.then=function(z,O){if(typeof z!=&quot;function&quot;&amp;&amp;this.state===E||typeof O!=&quot;function&quot;&amp;&amp;this.state===_)return this;var I=new this.constructor(b);return this.state!==M?L(I,this.state===E?z:O,this.outcome):this.queue.push(new W(I,z,O)),I},W.prototype.callFulfilled=function(z){x.resolve(this.promise,z)},W.prototype.otherCallFulfilled=function(z){L(this.promise,this.onFulfilled,z)},W.prototype.callRejected=function(z){x.reject(this.promise,z)},W.prototype.otherCallRejected=function(z){L(this.promise,this.onRejected,z)},x.resolve=function(z,O){var I=K(V,O);if(I.status===&quot;error&quot;)return x.reject(z,I.value);var C=I.value;if(C)H(z,C);else{z.state=E,z.outcome=O;for(var j=-1,k=z.queue.length;++j&lt;k;)z.queue[j].callFulfilled(O)}return z},x.reject=function(z,O){z.state=_,z.outcome=O;for(var I=-1,C=z.queue.length;++I&lt;C;)z.queue[I].callRejected(O);return z},D.resolve=function(z){return z instanceof this?z:x.resolve(new this(b),z)},D.reject=function(z){var O=new this(b);return x.reject(O,z)},D.all=function(z){var O=this;if(Object.prototype.toString.call(z)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var I=z.length,C=!1;if(!I)return this.resolve([]);for(var j=new Array(I),k=0,S=-1,N=new this(b);++S&lt;I;)T(z[S],S);return N;function T(R,B){O.resolve(R).then((function(Y){j[B]=Y,++k!==I||C||(C=!0,x.resolve(N,j))}),(function(Y){C||(C=!0,x.reject(N,Y))}))}},D.race=function(z){if(Object.prototype.toString.call(z)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var O=z.length,I=!1;if(!O)return this.resolve([]);for(var C,j=-1,k=new this(b);++j&lt;O;)C=z[j],this.resolve(C).then((function(S){I||(I=!0,x.resolve(k,S))}),(function(S){I||(I=!0,x.reject(k,S))}));return k}},{immediate:36}],38:[function(d,v,y){var p={};(0,d(&quot;./lib/utils/common&quot;).assign)(p,d(&quot;./lib/deflate&quot;),d(&quot;./lib/inflate&quot;),d(&quot;./lib/zlib/constants&quot;)),v.exports=p},{&quot;./lib/deflate&quot;:39,&quot;./lib/inflate&quot;:40,&quot;./lib/utils/common&quot;:41,&quot;./lib/zlib/constants&quot;:44}],39:[function(d,v,y){var p=d(&quot;./zlib/deflate&quot;),b=d(&quot;./utils/common&quot;),x=d(&quot;./utils/strings&quot;),_=d(&quot;./zlib/messages&quot;),E=d(&quot;./zlib/zstream&quot;),M=Object.prototype.toString;function D(L){if(!(this instanceof D))return new D(L);this.options=b.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:&quot;&quot;},L||{});var V=this.options;V.raw&amp;&amp;0&lt;V.windowBits?V.windowBits=-V.windowBits:V.gzip&amp;&amp;0&lt;V.windowBits&amp;&amp;V.windowBits&lt;16&amp;&amp;(V.windowBits+=16),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new E,this.strm.avail_out=0;var H=p.deflateInit2(this.strm,V.level,V.method,V.windowBits,V.memLevel,V.strategy);if(H!==0)throw new Error(_[H]);if(V.header&amp;&amp;p.deflateSetHeader(this.strm,V.header),V.dictionary){var K;if(K=typeof V.dictionary==&quot;string&quot;?x.string2buf(V.dictionary):M.call(V.dictionary)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(V.dictionary):V.dictionary,(H=p.deflateSetDictionary(this.strm,K))!==0)throw new Error(_[H]);this._dict_set=!0}}function W(L,V){var H=new D(V);if(H.push(L,!0),H.err)throw H.msg||_[H.err];return H.result}D.prototype.push=function(L,V){var H,K,z=this.strm,O=this.options.chunkSize;if(this.ended)return!1;K=V===~~V?V:V===!0?4:0,typeof L==&quot;string&quot;?z.input=x.string2buf(L):M.call(L)===&quot;[object ArrayBuffer]&quot;?z.input=new Uint8Array(L):z.input=L,z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0&amp;&amp;(z.output=new b.Buf8(O),z.next_out=0,z.avail_out=O),(H=p.deflate(z,K))!==1&amp;&amp;H!==0)return this.onEnd(H),!(this.ended=!0);z.avail_out!==0&amp;&amp;(z.avail_in!==0||K!==4&amp;&amp;K!==2)||(this.options.to===&quot;string&quot;?this.onData(x.buf2binstring(b.shrinkBuf(z.output,z.next_out))):this.onData(b.shrinkBuf(z.output,z.next_out)))}while((0&lt;z.avail_in||z.avail_out===0)&amp;&amp;H!==1);return K===4?(H=p.deflateEnd(this.strm),this.onEnd(H),this.ended=!0,H===0):K!==2||(this.onEnd(0),!(z.avail_out=0))},D.prototype.onData=function(L){this.chunks.push(L)},D.prototype.onEnd=function(L){L===0&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=b.flattenChunks(this.chunks)),this.chunks=[],this.err=L,this.msg=this.strm.msg},y.Deflate=D,y.deflate=W,y.deflateRaw=function(L,V){return(V=V||{}).raw=!0,W(L,V)},y.gzip=function(L,V){return(V=V||{}).gzip=!0,W(L,V)}},{&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(d,v,y){var p=d(&quot;./zlib/inflate&quot;),b=d(&quot;./utils/common&quot;),x=d(&quot;./utils/strings&quot;),_=d(&quot;./zlib/constants&quot;),E=d(&quot;./zlib/messages&quot;),M=d(&quot;./zlib/zstream&quot;),D=d(&quot;./zlib/gzheader&quot;),W=Object.prototype.toString;function L(H){if(!(this instanceof L))return new L(H);this.options=b.assign({chunkSize:16384,windowBits:0,to:&quot;&quot;},H||{});var K=this.options;K.raw&amp;&amp;0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16&amp;&amp;(K.windowBits=-K.windowBits,K.windowBits===0&amp;&amp;(K.windowBits=-15)),!(0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16)||H&amp;&amp;H.windowBits||(K.windowBits+=32),15&lt;K.windowBits&amp;&amp;K.windowBits&lt;48&amp;&amp;(15&amp;K.windowBits)==0&amp;&amp;(K.windowBits|=15),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new M,this.strm.avail_out=0;var z=p.inflateInit2(this.strm,K.windowBits);if(z!==_.Z_OK)throw new Error(E[z]);this.header=new D,p.inflateGetHeader(this.strm,this.header)}function V(H,K){var z=new L(K);if(z.push(H,!0),z.err)throw z.msg||E[z.err];return z.result}L.prototype.push=function(H,K){var z,O,I,C,j,k,S=this.strm,N=this.options.chunkSize,T=this.options.dictionary,R=!1;if(this.ended)return!1;O=K===~~K?K:K===!0?_.Z_FINISH:_.Z_NO_FLUSH,typeof H==&quot;string&quot;?S.input=x.binstring2buf(H):W.call(H)===&quot;[object ArrayBuffer]&quot;?S.input=new Uint8Array(H):S.input=H,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&amp;&amp;(S.output=new b.Buf8(N),S.next_out=0,S.avail_out=N),(z=p.inflate(S,_.Z_NO_FLUSH))===_.Z_NEED_DICT&amp;&amp;T&amp;&amp;(k=typeof T==&quot;string&quot;?x.string2buf(T):W.call(T)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(T):T,z=p.inflateSetDictionary(this.strm,k)),z===_.Z_BUF_ERROR&amp;&amp;R===!0&amp;&amp;(z=_.Z_OK,R=!1),z!==_.Z_STREAM_END&amp;&amp;z!==_.Z_OK)return this.onEnd(z),!(this.ended=!0);S.next_out&amp;&amp;(S.avail_out!==0&amp;&amp;z!==_.Z_STREAM_END&amp;&amp;(S.avail_in!==0||O!==_.Z_FINISH&amp;&amp;O!==_.Z_SYNC_FLUSH)||(this.options.to===&quot;string&quot;?(I=x.utf8border(S.output,S.next_out),C=S.next_out-I,j=x.buf2string(S.output,I),S.next_out=C,S.avail_out=N-C,C&amp;&amp;b.arraySet(S.output,S.output,I,C,0),this.onData(j)):this.onData(b.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&amp;&amp;S.avail_out===0&amp;&amp;(R=!0)}while((0&lt;S.avail_in||S.avail_out===0)&amp;&amp;z!==_.Z_STREAM_END);return z===_.Z_STREAM_END&amp;&amp;(O=_.Z_FINISH),O===_.Z_FINISH?(z=p.inflateEnd(this.strm),this.onEnd(z),this.ended=!0,z===_.Z_OK):O!==_.Z_SYNC_FLUSH||(this.onEnd(_.Z_OK),!(S.avail_out=0))},L.prototype.onData=function(H){this.chunks.push(H)},L.prototype.onEnd=function(H){H===_.Z_OK&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=b.flattenChunks(this.chunks)),this.chunks=[],this.err=H,this.msg=this.strm.msg},y.Inflate=L,y.inflate=V,y.inflateRaw=function(H,K){return(K=K||{}).raw=!0,V(H,K)},y.ungzip=V},{&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(d,v,y){var p=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Int32Array&lt;&quot;u&quot;;y.assign=function(_){for(var E=Array.prototype.slice.call(arguments,1);E.length;){var M=E.shift();if(M){if(typeof M!=&quot;object&quot;)throw new TypeError(M+&quot;must be non-object&quot;);for(var D in M)M.hasOwnProperty(D)&amp;&amp;(_[D]=M[D])}}return _},y.shrinkBuf=function(_,E){return _.length===E?_:_.subarray?_.subarray(0,E):(_.length=E,_)};var b={arraySet:function(_,E,M,D,W){if(E.subarray&amp;&amp;_.subarray)_.set(E.subarray(M,M+D),W);else for(var L=0;L&lt;D;L++)_[W+L]=E[M+L]},flattenChunks:function(_){var E,M,D,W,L,V;for(E=D=0,M=_.length;E&lt;M;E++)D+=_[E].length;for(V=new Uint8Array(D),E=W=0,M=_.length;E&lt;M;E++)L=_[E],V.set(L,W),W+=L.length;return V}},x={arraySet:function(_,E,M,D,W){for(var L=0;L&lt;D;L++)_[W+L]=E[M+L]},flattenChunks:function(_){return[].concat.apply([],_)}};y.setTyped=function(_){_?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,b)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,x))},y.setTyped(p)},{}],42:[function(d,v,y){var p=d(&quot;./common&quot;),b=!0,x=!0;try{String.fromCharCode.apply(null,[0])}catch{b=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{x=!1}for(var _=new p.Buf8(256),E=0;E&lt;256;E++)_[E]=252&lt;=E?6:248&lt;=E?5:240&lt;=E?4:224&lt;=E?3:192&lt;=E?2:1;function M(D,W){if(W&lt;65537&amp;&amp;(D.subarray&amp;&amp;x||!D.subarray&amp;&amp;b))return String.fromCharCode.apply(null,p.shrinkBuf(D,W));for(var L=&quot;&quot;,V=0;V&lt;W;V++)L+=String.fromCharCode(D[V]);return L}_[254]=_[254]=1,y.string2buf=function(D){var W,L,V,H,K,z=D.length,O=0;for(H=0;H&lt;z;H++)(64512&amp;(L=D.charCodeAt(H)))==55296&amp;&amp;H+1&lt;z&amp;&amp;(64512&amp;(V=D.charCodeAt(H+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(V-56320),H++),O+=L&lt;128?1:L&lt;2048?2:L&lt;65536?3:4;for(W=new p.Buf8(O),H=K=0;K&lt;O;H++)(64512&amp;(L=D.charCodeAt(H)))==55296&amp;&amp;H+1&lt;z&amp;&amp;(64512&amp;(V=D.charCodeAt(H+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(V-56320),H++),L&lt;128?W[K++]=L:(L&lt;2048?W[K++]=192|L&gt;&gt;&gt;6:(L&lt;65536?W[K++]=224|L&gt;&gt;&gt;12:(W[K++]=240|L&gt;&gt;&gt;18,W[K++]=128|L&gt;&gt;&gt;12&amp;63),W[K++]=128|L&gt;&gt;&gt;6&amp;63),W[K++]=128|63&amp;L);return W},y.buf2binstring=function(D){return M(D,D.length)},y.binstring2buf=function(D){for(var W=new p.Buf8(D.length),L=0,V=W.length;L&lt;V;L++)W[L]=D.charCodeAt(L);return W},y.buf2string=function(D,W){var L,V,H,K,z=W||D.length,O=new Array(2*z);for(L=V=0;L&lt;z;)if((H=D[L++])&lt;128)O[V++]=H;else if(4&lt;(K=_[H]))O[V++]=65533,L+=K-1;else{for(H&amp;=K===2?31:K===3?15:7;1&lt;K&amp;&amp;L&lt;z;)H=H&lt;&lt;6|63&amp;D[L++],K--;1&lt;K?O[V++]=65533:H&lt;65536?O[V++]=H:(H-=65536,O[V++]=55296|H&gt;&gt;10&amp;1023,O[V++]=56320|1023&amp;H)}return M(O,V)},y.utf8border=function(D,W){var L;for((W=W||D.length)&gt;D.length&amp;&amp;(W=D.length),L=W-1;0&lt;=L&amp;&amp;(192&amp;D[L])==128;)L--;return L&lt;0||L===0?W:L+_[D[L]]&gt;W?L:W}},{&quot;./common&quot;:41}],43:[function(d,v,y){v.exports=function(p,b,x,_){for(var E=65535&amp;p|0,M=p&gt;&gt;&gt;16&amp;65535|0,D=0;x!==0;){for(x-=D=2e3&lt;x?2e3:x;M=M+(E=E+b[_++]|0)|0,--D;);E%=65521,M%=65521}return E|M&lt;&lt;16|0}},{}],44:[function(d,v,y){v.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(d,v,y){var p=(function(){for(var b,x=[],_=0;_&lt;256;_++){b=_;for(var E=0;E&lt;8;E++)b=1&amp;b?3988292384^b&gt;&gt;&gt;1:b&gt;&gt;&gt;1;x[_]=b}return x})();v.exports=function(b,x,_,E){var M=p,D=E+_;b^=-1;for(var W=E;W&lt;D;W++)b=b&gt;&gt;&gt;8^M[255&amp;(b^x[W])];return-1^b}},{}],46:[function(d,v,y){var p,b=d(&quot;../utils/common&quot;),x=d(&quot;./trees&quot;),_=d(&quot;./adler32&quot;),E=d(&quot;./crc32&quot;),M=d(&quot;./messages&quot;),D=-2,W=258,L=262,V=113;function H(U,ee){return U.msg=M[ee],ee}function K(U){return(U&lt;&lt;1)-(4&lt;U?9:0)}function z(U){for(var ee=U.length;0&lt;=--ee;)U[ee]=0}function O(U){var ee=U.state,F=ee.pending;F&gt;U.avail_out&amp;&amp;(F=U.avail_out),F!==0&amp;&amp;(b.arraySet(U.output,ee.pending_buf,ee.pending_out,F,U.next_out),U.next_out+=F,ee.pending_out+=F,U.total_out+=F,U.avail_out-=F,ee.pending-=F,ee.pending===0&amp;&amp;(ee.pending_out=0))}function I(U,ee){x._tr_flush_block(U,0&lt;=U.block_start?U.block_start:-1,U.strstart-U.block_start,ee),U.block_start=U.strstart,O(U.strm)}function C(U,ee){U.pending_buf[U.pending++]=ee}function j(U,ee){U.pending_buf[U.pending++]=ee&gt;&gt;&gt;8&amp;255,U.pending_buf[U.pending++]=255&amp;ee}function k(U,ee){var F,P,X=U.max_chain_length,re=U.strstart,Q=U.prev_length,te=U.nice_match,ae=U.strstart&gt;U.w_size-L?U.strstart-(U.w_size-L):0,ce=U.window,he=U.w_mask,se=U.prev,de=U.strstart+W,ie=ce[re+Q-1],me=ce[re+Q];U.prev_length&gt;=U.good_match&amp;&amp;(X&gt;&gt;=2),te&gt;U.lookahead&amp;&amp;(te=U.lookahead);do if(ce[(F=ee)+Q]===me&amp;&amp;ce[F+Q-1]===ie&amp;&amp;ce[F]===ce[re]&amp;&amp;ce[++F]===ce[re+1]){re+=2,F++;do;while(ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;re&lt;de);if(P=W-(de-re),re=de-W,Q&lt;P){if(U.match_start=ee,te&lt;=(Q=P))break;ie=ce[re+Q-1],me=ce[re+Q]}}while((ee=se[ee&amp;he])&gt;ae&amp;&amp;--X!=0);return Q&lt;=U.lookahead?Q:U.lookahead}function S(U){var ee,F,P,X,re,Q,te,ae,ce,he,se=U.w_size;do{if(X=U.window_size-U.lookahead-U.strstart,U.strstart&gt;=se+(se-L)){for(b.arraySet(U.window,U.window,se,se,0),U.match_start-=se,U.strstart-=se,U.block_start-=se,ee=F=U.hash_size;P=U.head[--ee],U.head[ee]=se&lt;=P?P-se:0,--F;);for(ee=F=se;P=U.prev[--ee],U.prev[ee]=se&lt;=P?P-se:0,--F;);X+=se}if(U.strm.avail_in===0)break;if(Q=U.strm,te=U.window,ae=U.strstart+U.lookahead,he=void 0,(ce=X)&lt;(he=Q.avail_in)&amp;&amp;(he=ce),F=he===0?0:(Q.avail_in-=he,b.arraySet(te,Q.input,Q.next_in,he,ae),Q.state.wrap===1?Q.adler=_(Q.adler,te,he,ae):Q.state.wrap===2&amp;&amp;(Q.adler=E(Q.adler,te,he,ae)),Q.next_in+=he,Q.total_in+=he,he),U.lookahead+=F,U.lookahead+U.insert&gt;=3)for(re=U.strstart-U.insert,U.ins_h=U.window[re],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+1])&amp;U.hash_mask;U.insert&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+3-1])&amp;U.hash_mask,U.prev[re&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=re,re++,U.insert--,!(U.lookahead+U.insert&lt;3)););}while(U.lookahead&lt;L&amp;&amp;U.strm.avail_in!==0)}function N(U,ee){for(var F,P;;){if(U.lookahead&lt;L){if(S(U),U.lookahead&lt;L&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(F=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),F!==0&amp;&amp;U.strstart-F&lt;=U.w_size-L&amp;&amp;(U.match_length=k(U,F)),U.match_length&gt;=3)if(P=x._tr_tally(U,U.strstart-U.match_start,U.match_length-3),U.lookahead-=U.match_length,U.match_length&lt;=U.max_lazy_match&amp;&amp;U.lookahead&gt;=3){for(U.match_length--;U.strstart++,U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart,--U.match_length!=0;);U.strstart++}else U.strstart+=U.match_length,U.match_length=0,U.ins_h=U.window[U.strstart],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+1])&amp;U.hash_mask;else P=x._tr_tally(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++;if(P&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}return U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(I(U,!1),U.strm.avail_out===0)?1:2}function T(U,ee){for(var F,P,X;;){if(U.lookahead&lt;L){if(S(U),U.lookahead&lt;L&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(F=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),U.prev_length=U.match_length,U.prev_match=U.match_start,U.match_length=2,F!==0&amp;&amp;U.prev_length&lt;U.max_lazy_match&amp;&amp;U.strstart-F&lt;=U.w_size-L&amp;&amp;(U.match_length=k(U,F),U.match_length&lt;=5&amp;&amp;(U.strategy===1||U.match_length===3&amp;&amp;4096&lt;U.strstart-U.match_start)&amp;&amp;(U.match_length=2)),U.prev_length&gt;=3&amp;&amp;U.match_length&lt;=U.prev_length){for(X=U.strstart+U.lookahead-3,P=x._tr_tally(U,U.strstart-1-U.prev_match,U.prev_length-3),U.lookahead-=U.prev_length-1,U.prev_length-=2;++U.strstart&lt;=X&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),--U.prev_length!=0;);if(U.match_available=0,U.match_length=2,U.strstart++,P&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}else if(U.match_available){if((P=x._tr_tally(U,0,U.window[U.strstart-1]))&amp;&amp;I(U,!1),U.strstart++,U.lookahead--,U.strm.avail_out===0)return 1}else U.match_available=1,U.strstart++,U.lookahead--}return U.match_available&amp;&amp;(P=x._tr_tally(U,0,U.window[U.strstart-1]),U.match_available=0),U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(I(U,!1),U.strm.avail_out===0)?1:2}function R(U,ee,F,P,X){this.good_length=U,this.max_lazy=ee,this.nice_length=F,this.max_chain=P,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 b.Buf16(1146),this.dyn_dtree=new b.Buf16(122),this.bl_tree=new b.Buf16(78),z(this.dyn_ltree),z(this.dyn_dtree),z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new b.Buf16(16),this.heap=new b.Buf16(573),z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new b.Buf16(573),z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Y(U){var ee;return U&amp;&amp;U.state?(U.total_in=U.total_out=0,U.data_type=2,(ee=U.state).pending=0,ee.pending_out=0,ee.wrap&lt;0&amp;&amp;(ee.wrap=-ee.wrap),ee.status=ee.wrap?42:V,U.adler=ee.wrap===2?0:1,ee.last_flush=0,x._tr_init(ee),0):H(U,D)}function Z(U){var ee=Y(U);return ee===0&amp;&amp;(function(F){F.window_size=2*F.w_size,z(F.head),F.max_lazy_match=p[F.level].max_lazy,F.good_match=p[F.level].good_length,F.nice_match=p[F.level].nice_length,F.max_chain_length=p[F.level].max_chain,F.strstart=0,F.block_start=0,F.lookahead=0,F.insert=0,F.match_length=F.prev_length=2,F.match_available=0,F.ins_h=0})(U.state),ee}function ne(U,ee,F,P,X,re){if(!U)return D;var Q=1;if(ee===-1&amp;&amp;(ee=6),P&lt;0?(Q=0,P=-P):15&lt;P&amp;&amp;(Q=2,P-=16),X&lt;1||9&lt;X||F!==8||P&lt;8||15&lt;P||ee&lt;0||9&lt;ee||re&lt;0||4&lt;re)return H(U,D);P===8&amp;&amp;(P=9);var te=new B;return(U.state=te).strm=U,te.wrap=Q,te.gzhead=null,te.w_bits=P,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 b.Buf8(2*te.w_size),te.head=new b.Buf16(te.hash_size),te.prev=new b.Buf16(te.w_size),te.lit_bufsize=1&lt;&lt;X+6,te.pending_buf_size=4*te.lit_bufsize,te.pending_buf=new b.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=F,Z(U)}p=[new R(0,0,0,0,(function(U,ee){var F=65535;for(F&gt;U.pending_buf_size-5&amp;&amp;(F=U.pending_buf_size-5);;){if(U.lookahead&lt;=1){if(S(U),U.lookahead===0&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}U.strstart+=U.lookahead,U.lookahead=0;var P=U.block_start+F;if((U.strstart===0||U.strstart&gt;=P)&amp;&amp;(U.lookahead=U.strstart-P,U.strstart=P,I(U,!1),U.strm.avail_out===0)||U.strstart-U.block_start&gt;=U.w_size-L&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}return U.insert=0,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):(U.strstart&gt;U.block_start&amp;&amp;(I(U,!1),U.strm.avail_out),1)})),new R(4,4,8,4,N),new R(4,5,16,8,N),new R(4,6,32,32,N),new R(4,4,16,16,T),new R(8,16,32,32,T),new R(8,16,128,128,T),new R(8,32,128,256,T),new R(32,128,258,1024,T),new R(32,258,258,4096,T)],y.deflateInit=function(U,ee){return ne(U,ee,8,15,8,0)},y.deflateInit2=ne,y.deflateReset=Z,y.deflateResetKeep=Y,y.deflateSetHeader=function(U,ee){return U&amp;&amp;U.state?U.state.wrap!==2?D:(U.state.gzhead=ee,0):D},y.deflate=function(U,ee){var F,P,X,re;if(!U||!U.state||5&lt;ee||ee&lt;0)return U?H(U,D):D;if(P=U.state,!U.output||!U.input&amp;&amp;U.avail_in!==0||P.status===666&amp;&amp;ee!==4)return H(U,U.avail_out===0?-5:D);if(P.strm=U,F=P.last_flush,P.last_flush=ee,P.status===42)if(P.wrap===2)U.adler=0,C(P,31),C(P,139),C(P,8),P.gzhead?(C(P,(P.gzhead.text?1:0)+(P.gzhead.hcrc?2:0)+(P.gzhead.extra?4:0)+(P.gzhead.name?8:0)+(P.gzhead.comment?16:0)),C(P,255&amp;P.gzhead.time),C(P,P.gzhead.time&gt;&gt;8&amp;255),C(P,P.gzhead.time&gt;&gt;16&amp;255),C(P,P.gzhead.time&gt;&gt;24&amp;255),C(P,P.level===9?2:2&lt;=P.strategy||P.level&lt;2?4:0),C(P,255&amp;P.gzhead.os),P.gzhead.extra&amp;&amp;P.gzhead.extra.length&amp;&amp;(C(P,255&amp;P.gzhead.extra.length),C(P,P.gzhead.extra.length&gt;&gt;8&amp;255)),P.gzhead.hcrc&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending,0)),P.gzindex=0,P.status=69):(C(P,0),C(P,0),C(P,0),C(P,0),C(P,0),C(P,P.level===9?2:2&lt;=P.strategy||P.level&lt;2?4:0),C(P,3),P.status=V);else{var Q=8+(P.w_bits-8&lt;&lt;4)&lt;&lt;8;Q|=(2&lt;=P.strategy||P.level&lt;2?0:P.level&lt;6?1:P.level===6?2:3)&lt;&lt;6,P.strstart!==0&amp;&amp;(Q|=32),Q+=31-Q%31,P.status=V,j(P,Q),P.strstart!==0&amp;&amp;(j(P,U.adler&gt;&gt;&gt;16),j(P,65535&amp;U.adler)),U.adler=1}if(P.status===69)if(P.gzhead.extra){for(X=P.pending;P.gzindex&lt;(65535&amp;P.gzhead.extra.length)&amp;&amp;(P.pending!==P.pending_buf_size||(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending!==P.pending_buf_size));)C(P,255&amp;P.gzhead.extra[P.gzindex]),P.gzindex++;P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),P.gzindex===P.gzhead.extra.length&amp;&amp;(P.gzindex=0,P.status=73)}else P.status=73;if(P.status===73)if(P.gzhead.name){X=P.pending;do{if(P.pending===P.pending_buf_size&amp;&amp;(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending===P.pending_buf_size)){re=1;break}re=P.gzindex&lt;P.gzhead.name.length?255&amp;P.gzhead.name.charCodeAt(P.gzindex++):0,C(P,re)}while(re!==0);P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),re===0&amp;&amp;(P.gzindex=0,P.status=91)}else P.status=91;if(P.status===91)if(P.gzhead.comment){X=P.pending;do{if(P.pending===P.pending_buf_size&amp;&amp;(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending===P.pending_buf_size)){re=1;break}re=P.gzindex&lt;P.gzhead.comment.length?255&amp;P.gzhead.comment.charCodeAt(P.gzindex++):0,C(P,re)}while(re!==0);P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),re===0&amp;&amp;(P.status=103)}else P.status=103;if(P.status===103&amp;&amp;(P.gzhead.hcrc?(P.pending+2&gt;P.pending_buf_size&amp;&amp;O(U),P.pending+2&lt;=P.pending_buf_size&amp;&amp;(C(P,255&amp;U.adler),C(P,U.adler&gt;&gt;8&amp;255),U.adler=0,P.status=V)):P.status=V),P.pending!==0){if(O(U),U.avail_out===0)return P.last_flush=-1,0}else if(U.avail_in===0&amp;&amp;K(ee)&lt;=K(F)&amp;&amp;ee!==4)return H(U,-5);if(P.status===666&amp;&amp;U.avail_in!==0)return H(U,-5);if(U.avail_in!==0||P.lookahead!==0||ee!==0&amp;&amp;P.status!==666){var te=P.strategy===2?(function(ae,ce){for(var he;;){if(ae.lookahead===0&amp;&amp;(S(ae),ae.lookahead===0)){if(ce===0)return 1;break}if(ae.match_length=0,he=x._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++,he&amp;&amp;(I(ae,!1),ae.strm.avail_out===0))return 1}return ae.insert=0,ce===4?(I(ae,!0),ae.strm.avail_out===0?3:4):ae.last_lit&amp;&amp;(I(ae,!1),ae.strm.avail_out===0)?1:2})(P,ee):P.strategy===3?(function(ae,ce){for(var he,se,de,ie,me=ae.window;;){if(ae.lookahead&lt;=W){if(S(ae),ae.lookahead&lt;=W&amp;&amp;ce===0)return 1;if(ae.lookahead===0)break}if(ae.match_length=0,ae.lookahead&gt;=3&amp;&amp;0&lt;ae.strstart&amp;&amp;(se=me[de=ae.strstart-1])===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]){ie=ae.strstart+W;do;while(se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;se===me[++de]&amp;&amp;de&lt;ie);ae.match_length=W-(ie-de),ae.match_length&gt;ae.lookahead&amp;&amp;(ae.match_length=ae.lookahead)}if(ae.match_length&gt;=3?(he=x._tr_tally(ae,1,ae.match_length-3),ae.lookahead-=ae.match_length,ae.strstart+=ae.match_length,ae.match_length=0):(he=x._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++),he&amp;&amp;(I(ae,!1),ae.strm.avail_out===0))return 1}return ae.insert=0,ce===4?(I(ae,!0),ae.strm.avail_out===0?3:4):ae.last_lit&amp;&amp;(I(ae,!1),ae.strm.avail_out===0)?1:2})(P,ee):p[P.level].func(P,ee);if(te!==3&amp;&amp;te!==4||(P.status=666),te===1||te===3)return U.avail_out===0&amp;&amp;(P.last_flush=-1),0;if(te===2&amp;&amp;(ee===1?x._tr_align(P):ee!==5&amp;&amp;(x._tr_stored_block(P,0,0,!1),ee===3&amp;&amp;(z(P.head),P.lookahead===0&amp;&amp;(P.strstart=0,P.block_start=0,P.insert=0))),O(U),U.avail_out===0))return P.last_flush=-1,0}return ee!==4?0:P.wrap&lt;=0?1:(P.wrap===2?(C(P,255&amp;U.adler),C(P,U.adler&gt;&gt;8&amp;255),C(P,U.adler&gt;&gt;16&amp;255),C(P,U.adler&gt;&gt;24&amp;255),C(P,255&amp;U.total_in),C(P,U.total_in&gt;&gt;8&amp;255),C(P,U.total_in&gt;&gt;16&amp;255),C(P,U.total_in&gt;&gt;24&amp;255)):(j(P,U.adler&gt;&gt;&gt;16),j(P,65535&amp;U.adler)),O(U),0&lt;P.wrap&amp;&amp;(P.wrap=-P.wrap),P.pending!==0?0:1)},y.deflateEnd=function(U){var ee;return U&amp;&amp;U.state?(ee=U.state.status)!==42&amp;&amp;ee!==69&amp;&amp;ee!==73&amp;&amp;ee!==91&amp;&amp;ee!==103&amp;&amp;ee!==V&amp;&amp;ee!==666?H(U,D):(U.state=null,ee===V?H(U,-3):0):D},y.deflateSetDictionary=function(U,ee){var F,P,X,re,Q,te,ae,ce,he=ee.length;if(!U||!U.state||(re=(F=U.state).wrap)===2||re===1&amp;&amp;F.status!==42||F.lookahead)return D;for(re===1&amp;&amp;(U.adler=_(U.adler,ee,he,0)),F.wrap=0,he&gt;=F.w_size&amp;&amp;(re===0&amp;&amp;(z(F.head),F.strstart=0,F.block_start=0,F.insert=0),ce=new b.Buf8(F.w_size),b.arraySet(ce,ee,he-F.w_size,F.w_size,0),ee=ce,he=F.w_size),Q=U.avail_in,te=U.next_in,ae=U.input,U.avail_in=he,U.next_in=0,U.input=ee,S(F);F.lookahead&gt;=3;){for(P=F.strstart,X=F.lookahead-2;F.ins_h=(F.ins_h&lt;&lt;F.hash_shift^F.window[P+3-1])&amp;F.hash_mask,F.prev[P&amp;F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=P,P++,--X;);F.strstart=P,F.lookahead=2,S(F)}return F.strstart+=F.lookahead,F.block_start=F.strstart,F.insert=F.lookahead,F.lookahead=0,F.match_length=F.prev_length=2,F.match_available=0,U.next_in=te,U.input=ae,U.avail_in=Q,F.wrap=re,0},y.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(d,v,y){v.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(d,v,y){v.exports=function(p,b){var x,_,E,M,D,W,L,V,H,K,z,O,I,C,j,k,S,N,T,R,B,Y,Z,ne,U;x=p.state,_=p.next_in,ne=p.input,E=_+(p.avail_in-5),M=p.next_out,U=p.output,D=M-(b-p.avail_out),W=M+(p.avail_out-257),L=x.dmax,V=x.wsize,H=x.whave,K=x.wnext,z=x.window,O=x.hold,I=x.bits,C=x.lencode,j=x.distcode,k=(1&lt;&lt;x.lenbits)-1,S=(1&lt;&lt;x.distbits)-1;e:do{I&lt;15&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8,O+=ne[_++]&lt;&lt;I,I+=8),N=C[O&amp;k];t:for(;;){if(O&gt;&gt;&gt;=T=N&gt;&gt;&gt;24,I-=T,(T=N&gt;&gt;&gt;16&amp;255)==0)U[M++]=65535&amp;N;else{if(!(16&amp;T)){if((64&amp;T)==0){N=C[(65535&amp;N)+(O&amp;(1&lt;&lt;T)-1)];continue t}if(32&amp;T){x.mode=12;break e}p.msg=&quot;invalid literal/length code&quot;,x.mode=30;break e}R=65535&amp;N,(T&amp;=15)&amp;&amp;(I&lt;T&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8),R+=O&amp;(1&lt;&lt;T)-1,O&gt;&gt;&gt;=T,I-=T),I&lt;15&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8,O+=ne[_++]&lt;&lt;I,I+=8),N=j[O&amp;S];r:for(;;){if(O&gt;&gt;&gt;=T=N&gt;&gt;&gt;24,I-=T,!(16&amp;(T=N&gt;&gt;&gt;16&amp;255))){if((64&amp;T)==0){N=j[(65535&amp;N)+(O&amp;(1&lt;&lt;T)-1)];continue r}p.msg=&quot;invalid distance code&quot;,x.mode=30;break e}if(B=65535&amp;N,I&lt;(T&amp;=15)&amp;&amp;(O+=ne[_++]&lt;&lt;I,(I+=8)&lt;T&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8)),L&lt;(B+=O&amp;(1&lt;&lt;T)-1)){p.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(O&gt;&gt;&gt;=T,I-=T,(T=M-D)&lt;B){if(H&lt;(T=B-T)&amp;&amp;x.sane){p.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(Z=z,(Y=0)===K){if(Y+=V-T,T&lt;R){for(R-=T;U[M++]=z[Y++],--T;);Y=M-B,Z=U}}else if(K&lt;T){if(Y+=V+K-T,(T-=K)&lt;R){for(R-=T;U[M++]=z[Y++],--T;);if(Y=0,K&lt;R){for(R-=T=K;U[M++]=z[Y++],--T;);Y=M-B,Z=U}}}else if(Y+=K-T,T&lt;R){for(R-=T;U[M++]=z[Y++],--T;);Y=M-B,Z=U}for(;2&lt;R;)U[M++]=Z[Y++],U[M++]=Z[Y++],U[M++]=Z[Y++],R-=3;R&amp;&amp;(U[M++]=Z[Y++],1&lt;R&amp;&amp;(U[M++]=Z[Y++]))}else{for(Y=M-B;U[M++]=U[Y++],U[M++]=U[Y++],U[M++]=U[Y++],2&lt;(R-=3););R&amp;&amp;(U[M++]=U[Y++],1&lt;R&amp;&amp;(U[M++]=U[Y++]))}break}}break}}while(_&lt;E&amp;&amp;M&lt;W);_-=R=I&gt;&gt;3,O&amp;=(1&lt;&lt;(I-=R&lt;&lt;3))-1,p.next_in=_,p.next_out=M,p.avail_in=_&lt;E?E-_+5:5-(_-E),p.avail_out=M&lt;W?W-M+257:257-(M-W),x.hold=O,x.bits=I}},{}],49:[function(d,v,y){var p=d(&quot;../utils/common&quot;),b=d(&quot;./adler32&quot;),x=d(&quot;./crc32&quot;),_=d(&quot;./inffast&quot;),E=d(&quot;./inftrees&quot;),M=-2;function D(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 W(){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 p.Buf16(320),this.work=new p.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function L(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 p.Buf32(852),S.distcode=S.distdyn=new p.Buf32(592),S.sane=1,S.back=-1,0):M}function V(k){var S;return k&amp;&amp;k.state?((S=k.state).wsize=0,S.whave=0,S.wnext=0,L(k)):M}function H(k,S){var N,T;return k&amp;&amp;k.state?(T=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:(T.window!==null&amp;&amp;T.wbits!==S&amp;&amp;(T.window=null),T.wrap=N,T.wbits=S,V(k))):M}function K(k,S){var N,T;return k?(T=new W,(k.state=T).window=null,(N=H(k,S))!==0&amp;&amp;(k.state=null),N):M}var z,O,I=!0;function C(k){if(I){var S;for(z=new p.Buf32(512),O=new p.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(E(1,k.lens,0,288,z,0,k.work,{bits:9}),S=0;S&lt;32;)k.lens[S++]=5;E(2,k.lens,0,32,O,0,k.work,{bits:5}),I=!1}k.lencode=z,k.lenbits=9,k.distcode=O,k.distbits=5}function j(k,S,N,T){var R,B=k.state;return B.window===null&amp;&amp;(B.wsize=1&lt;&lt;B.wbits,B.wnext=0,B.whave=0,B.window=new p.Buf8(B.wsize)),T&gt;=B.wsize?(p.arraySet(B.window,S,N-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(T&lt;(R=B.wsize-B.wnext)&amp;&amp;(R=T),p.arraySet(B.window,S,N-T,R,B.wnext),(T-=R)?(p.arraySet(B.window,S,N-T,T,0),B.wnext=T,B.whave=B.wsize):(B.wnext+=R,B.wnext===B.wsize&amp;&amp;(B.wnext=0),B.whave&lt;B.wsize&amp;&amp;(B.whave+=R))),0}y.inflateReset=V,y.inflateReset2=H,y.inflateResetKeep=L,y.inflateInit=function(k){return K(k,15)},y.inflateInit2=K,y.inflate=function(k,S){var N,T,R,B,Y,Z,ne,U,ee,F,P,X,re,Q,te,ae,ce,he,se,de,ie,me,ve,ge,le=0,_e=new p.Buf8(4),Se=[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,R=k.output,ne=k.avail_out,B=k.next_in,T=k.input,Z=k.avail_in,U=N.hold,ee=N.bits,F=Z,P=ne,me=0;e:for(;;)switch(N.mode){case 1:if(N.wrap===0){N.mode=13;break}for(;ee&lt;16;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(2&amp;N.wrap&amp;&amp;U===35615){_e[N.check=0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0),ee=U=0,N.mode=2;break}if(N.flags=0,N.head&amp;&amp;(N.head.done=!1),!(1&amp;N.wrap)||(((255&amp;U)&lt;&lt;8)+(U&gt;&gt;8))%31){k.msg=&quot;incorrect header check&quot;,N.mode=30;break}if((15&amp;U)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(ee-=4,ie=8+(15&amp;(U&gt;&gt;&gt;=4)),N.wbits===0)N.wbits=ie;else if(ie&gt;N.wbits){k.msg=&quot;invalid window size&quot;,N.mode=30;break}N.dmax=1&lt;&lt;ie,k.adler=N.check=1,N.mode=512&amp;U?10:12,ee=U=0;break;case 2:for(;ee&lt;16;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(N.flags=U,(255&amp;N.flags)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(57344&amp;N.flags){k.msg=&quot;unknown header flags set&quot;,N.mode=30;break}N.head&amp;&amp;(N.head.text=U&gt;&gt;8&amp;1),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0,N.mode=3;case 3:for(;ee&lt;32;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.time=U),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,_e[2]=U&gt;&gt;&gt;16&amp;255,_e[3]=U&gt;&gt;&gt;24&amp;255,N.check=x(N.check,_e,4,0)),ee=U=0,N.mode=4;case 4:for(;ee&lt;16;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.xflags=255&amp;U,N.head.os=U&gt;&gt;8),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0,N.mode=5;case 5:if(1024&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.length=U,N.head&amp;&amp;(N.head.extra_len=U),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0}else N.head&amp;&amp;(N.head.extra=null);N.mode=6;case 6:if(1024&amp;N.flags&amp;&amp;(Z&lt;(X=N.length)&amp;&amp;(X=Z),X&amp;&amp;(N.head&amp;&amp;(ie=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),p.arraySet(N.head.extra,T,B,X,ie)),512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,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;ie=T[B+X++],N.head&amp;&amp;ie&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.name+=String.fromCharCode(ie)),ie&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,X,B)),Z-=X,B+=X,ie)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;ie=T[B+X++],N.head&amp;&amp;ie&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.comment+=String.fromCharCode(ie)),ie&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,X,B)),Z-=X,B+=X,ie)break e}else N.head&amp;&amp;(N.head.comment=null);N.mode=9;case 9:if(512&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U!==(65535&amp;N.check)){k.msg=&quot;header crc mismatch&quot;,N.mode=30;break}ee=U=0}N.head&amp;&amp;(N.head.hcrc=N.flags&gt;&gt;9&amp;1,N.head.done=!0),k.adler=N.check=0,N.mode=12;break;case 10:for(;ee&lt;32;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}k.adler=N.check=D(U),ee=U=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=U,N.bits=ee,2;k.adler=N.check=1,N.mode=12;case 12:if(S===5||S===6)break e;case 13:if(N.last){U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee,N.mode=27;break}for(;ee&lt;3;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}switch(N.last=1&amp;U,ee-=1,3&amp;(U&gt;&gt;&gt;=1)){case 0:N.mode=14;break;case 1:if(C(N),N.mode=20,S!==6)break;U&gt;&gt;&gt;=2,ee-=2;break e;case 2:N.mode=17;break;case 3:k.msg=&quot;invalid block type&quot;,N.mode=30}U&gt;&gt;&gt;=2,ee-=2;break;case 14:for(U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee;ee&lt;32;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if((65535&amp;U)!=(U&gt;&gt;&gt;16^65535)){k.msg=&quot;invalid stored block lengths&quot;,N.mode=30;break}if(N.length=65535&amp;U,ee=U=0,N.mode=15,S===6)break e;case 15:N.mode=16;case 16:if(X=N.length){if(Z&lt;X&amp;&amp;(X=Z),ne&lt;X&amp;&amp;(X=ne),X===0)break e;p.arraySet(R,T,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--,U+=T[B++]&lt;&lt;ee,ee+=8}if(N.nlen=257+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ndist=1+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ncode=4+(15&amp;U),U&gt;&gt;&gt;=4,ee-=4,286&lt;N.nlen||30&lt;N.ndist){k.msg=&quot;too many length or distance symbols&quot;,N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have&lt;N.ncode;){for(;ee&lt;3;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.lens[Se[N.have++]]=7&amp;U,U&gt;&gt;&gt;=3,ee-=3}for(;N.have&lt;19;)N.lens[Se[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ve={bits:N.lenbits},me=E(0,N.lens,0,19,N.lencode,0,N.work,ve),N.lenbits=ve.bits,me){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(;ae=(le=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(ce&lt;16)U&gt;&gt;&gt;=te,ee-=te,N.lens[N.have++]=ce;else{if(ce===16){for(ge=te+2;ee&lt;ge;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U&gt;&gt;&gt;=te,ee-=te,N.have===0){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}ie=N.lens[N.have-1],X=3+(3&amp;U),U&gt;&gt;&gt;=2,ee-=2}else if(ce===17){for(ge=te+3;ee&lt;ge;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}ee-=te,ie=0,X=3+(7&amp;(U&gt;&gt;&gt;=te)),U&gt;&gt;&gt;=3,ee-=3}else{for(ge=te+7;ee&lt;ge;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}ee-=te,ie=0,X=11+(127&amp;(U&gt;&gt;&gt;=te)),U&gt;&gt;&gt;=7,ee-=7}if(N.have+X&gt;N.nlen+N.ndist){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}for(;X--;)N.lens[N.have++]=ie}}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,ve={bits:N.lenbits},me=E(1,N.lens,0,N.nlen,N.lencode,0,N.work,ve),N.lenbits=ve.bits,me){k.msg=&quot;invalid literal/lengths set&quot;,N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ve={bits:N.distbits},me=E(2,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ve),N.distbits=ve.bits,me){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=U,N.bits=ee,_(k,P),Y=k.next_out,R=k.output,ne=k.avail_out,B=k.next_in,T=k.input,Z=k.avail_in,U=N.hold,ee=N.bits,N.mode===12&amp;&amp;(N.back=-1);break}for(N.back=0;ae=(le=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(ae&amp;&amp;(240&amp;ae)==0){for(he=te,se=ae,de=ce;ae=(le=N.lencode[de+((U&amp;(1&lt;&lt;he+se)-1)&gt;&gt;he)])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!(he+(te=le&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=he,ee-=he,N.back+=he}if(U&gt;&gt;&gt;=te,ee-=te,N.back+=te,N.length=ce,ae===0){N.mode=26;break}if(32&amp;ae){N.back=-1,N.mode=12;break}if(64&amp;ae){k.msg=&quot;invalid literal/length code&quot;,N.mode=30;break}N.extra=15&amp;ae,N.mode=22;case 22:if(N.extra){for(ge=N.extra;ee&lt;ge;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.length+=U&amp;(1&lt;&lt;N.extra)-1,U&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;ae=(le=N.distcode[U&amp;(1&lt;&lt;N.distbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if((240&amp;ae)==0){for(he=te,se=ae,de=ce;ae=(le=N.distcode[de+((U&amp;(1&lt;&lt;he+se)-1)&gt;&gt;he)])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!(he+(te=le&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=he,ee-=he,N.back+=he}if(U&gt;&gt;&gt;=te,ee-=te,N.back+=te,64&amp;ae){k.msg=&quot;invalid distance code&quot;,N.mode=30;break}N.offset=ce,N.extra=15&amp;ae,N.mode=24;case 24:if(N.extra){for(ge=N.extra;ee&lt;ge;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}N.offset+=U&amp;(1&lt;&lt;N.extra)-1,U&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}if(N.offset&gt;N.dmax){k.msg=&quot;invalid distance too far back&quot;,N.mode=30;break}N.mode=25;case 25:if(ne===0)break e;if(X=P-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=R,re=Y-N.offset,X=N.length;for(ne&lt;X&amp;&amp;(X=ne),ne-=X,N.length-=X;R[Y++]=Q[re++],--X;);N.length===0&amp;&amp;(N.mode=21);break;case 26:if(ne===0)break e;R[Y++]=N.length,ne--,N.mode=21;break;case 27:if(N.wrap){for(;ee&lt;32;){if(Z===0)break e;Z--,U|=T[B++]&lt;&lt;ee,ee+=8}if(P-=ne,k.total_out+=P,N.total+=P,P&amp;&amp;(k.adler=N.check=N.flags?x(N.check,R,P,Y-P):b(N.check,R,P,Y-P)),P=ne,(N.flags?U:D(U))!==N.check){k.msg=&quot;incorrect data check&quot;,N.mode=30;break}ee=U=0}N.mode=28;case 28:if(N.wrap&amp;&amp;N.flags){for(;ee&lt;32;){if(Z===0)break e;Z--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U!==(4294967295&amp;N.total)){k.msg=&quot;incorrect length check&quot;,N.mode=30;break}ee=U=0}N.mode=29;case 29:me=1;break e;case 30:me=-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=U,N.bits=ee,(N.wsize||P!==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,P-k.avail_out)?(N.mode=31,-4):(F-=k.avail_in,P-=k.avail_out,k.total_in+=F,k.total_out+=P,N.total+=P,N.wrap&amp;&amp;P&amp;&amp;(k.adler=N.check=N.flags?x(N.check,R,P,k.next_out-P):b(N.check,R,P,k.next_out-P)),k.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(F==0&amp;&amp;P===0||S===4)&amp;&amp;me===0&amp;&amp;(me=-5),me)},y.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},y.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},y.inflateSetDictionary=function(k,S){var N,T=S.length;return k&amp;&amp;k.state?(N=k.state).wrap!==0&amp;&amp;N.mode!==11?M:N.mode===11&amp;&amp;b(1,S,T,0)!==N.check?-3:j(k,S,T,T)?(N.mode=31,-4):(N.havedict=1,0):M},y.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(d,v,y){var p=d(&quot;../utils/common&quot;),b=[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],x=[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],E=[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];v.exports=function(M,D,W,L,V,H,K,z){var O,I,C,j,k,S,N,T,R,B=z.bits,Y=0,Z=0,ne=0,U=0,ee=0,F=0,P=0,X=0,re=0,Q=0,te=null,ae=0,ce=new p.Buf16(16),he=new p.Buf16(16),se=null,de=0;for(Y=0;Y&lt;=15;Y++)ce[Y]=0;for(Z=0;Z&lt;L;Z++)ce[D[W+Z]]++;for(ee=B,U=15;1&lt;=U&amp;&amp;ce[U]===0;U--);if(U&lt;ee&amp;&amp;(ee=U),U===0)return V[H++]=20971520,V[H++]=20971520,z.bits=1,0;for(ne=1;ne&lt;U&amp;&amp;ce[ne]===0;ne++);for(ee&lt;ne&amp;&amp;(ee=ne),Y=X=1;Y&lt;=15;Y++)if(X&lt;&lt;=1,(X-=ce[Y])&lt;0)return-1;if(0&lt;X&amp;&amp;(M===0||U!==1))return-1;for(he[1]=0,Y=1;Y&lt;15;Y++)he[Y+1]=he[Y]+ce[Y];for(Z=0;Z&lt;L;Z++)D[W+Z]!==0&amp;&amp;(K[he[D[W+Z]]++]=Z);if(S=M===0?(te=se=K,19):M===1?(te=b,ae-=257,se=x,de-=257,256):(te=_,se=E,-1),Y=ne,k=H,P=Z=Q=0,C=-1,j=(re=1&lt;&lt;(F=ee))-1,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;for(;;){for(N=Y-P,R=K[Z]&lt;S?(T=0,K[Z]):K[Z]&gt;S?(T=se[de+K[Z]],te[ae+K[Z]]):(T=96,0),O=1&lt;&lt;Y-P,ne=I=1&lt;&lt;F;V[k+(Q&gt;&gt;P)+(I-=O)]=N&lt;&lt;24|T&lt;&lt;16|R|0,I!==0;);for(O=1&lt;&lt;Y-1;Q&amp;O;)O&gt;&gt;=1;if(O!==0?(Q&amp;=O-1,Q+=O):Q=0,Z++,--ce[Y]==0){if(Y===U)break;Y=D[W+K[Z]]}if(ee&lt;Y&amp;&amp;(Q&amp;j)!==C){for(P===0&amp;&amp;(P=ee),k+=ne,X=1&lt;&lt;(F=Y-P);F+P&lt;U&amp;&amp;!((X-=ce[F+P])&lt;=0);)F++,X&lt;&lt;=1;if(re+=1&lt;&lt;F,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;V[C=Q&amp;j]=ee&lt;&lt;24|F&lt;&lt;16|k-H|0}}return Q!==0&amp;&amp;(V[k+Q]=Y-P&lt;&lt;24|64&lt;&lt;16|0),z.bits=ee,0}},{&quot;../utils/common&quot;:41}],51:[function(d,v,y){v.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(d,v,y){var p=d(&quot;../utils/common&quot;);function b(se){for(var de=se.length;0&lt;=--de;)se[de]=0}var x=256,_=286,E=30,M=15,D=[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],W=[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],L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=new Array(576);b(H);var K=new Array(60);b(K);var z=new Array(512);b(z);var O=new Array(256);b(O);var I=new Array(29);b(I);var C,j,k,S=new Array(E);function N(se,de,ie,me,ve){this.static_tree=se,this.extra_bits=de,this.extra_base=ie,this.elems=me,this.max_length=ve,this.has_stree=se&amp;&amp;se.length}function T(se,de){this.dyn_tree=se,this.max_code=0,this.stat_desc=de}function R(se){return se&lt;256?z[se]:z[256+(se&gt;&gt;&gt;7)]}function B(se,de){se.pending_buf[se.pending++]=255&amp;de,se.pending_buf[se.pending++]=de&gt;&gt;&gt;8&amp;255}function Y(se,de,ie){se.bi_valid&gt;16-ie?(se.bi_buf|=de&lt;&lt;se.bi_valid&amp;65535,B(se,se.bi_buf),se.bi_buf=de&gt;&gt;16-se.bi_valid,se.bi_valid+=ie-16):(se.bi_buf|=de&lt;&lt;se.bi_valid&amp;65535,se.bi_valid+=ie)}function Z(se,de,ie){Y(se,ie[2*de],ie[2*de+1])}function ne(se,de){for(var ie=0;ie|=1&amp;se,se&gt;&gt;&gt;=1,ie&lt;&lt;=1,0&lt;--de;);return ie&gt;&gt;&gt;1}function U(se,de,ie){var me,ve,ge=new Array(16),le=0;for(me=1;me&lt;=M;me++)ge[me]=le=le+ie[me-1]&lt;&lt;1;for(ve=0;ve&lt;=de;ve++){var _e=se[2*ve+1];_e!==0&amp;&amp;(se[2*ve]=ne(ge[_e]++,_e))}}function ee(se){var de;for(de=0;de&lt;_;de++)se.dyn_ltree[2*de]=0;for(de=0;de&lt;E;de++)se.dyn_dtree[2*de]=0;for(de=0;de&lt;19;de++)se.bl_tree[2*de]=0;se.dyn_ltree[512]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function F(se){8&lt;se.bi_valid?B(se,se.bi_buf):0&lt;se.bi_valid&amp;&amp;(se.pending_buf[se.pending++]=se.bi_buf),se.bi_buf=0,se.bi_valid=0}function P(se,de,ie,me){var ve=2*de,ge=2*ie;return se[ve]&lt;se[ge]||se[ve]===se[ge]&amp;&amp;me[de]&lt;=me[ie]}function X(se,de,ie){for(var me=se.heap[ie],ve=ie&lt;&lt;1;ve&lt;=se.heap_len&amp;&amp;(ve&lt;se.heap_len&amp;&amp;P(de,se.heap[ve+1],se.heap[ve],se.depth)&amp;&amp;ve++,!P(de,me,se.heap[ve],se.depth));)se.heap[ie]=se.heap[ve],ie=ve,ve&lt;&lt;=1;se.heap[ie]=me}function re(se,de,ie){var me,ve,ge,le,_e=0;if(se.last_lit!==0)for(;me=se.pending_buf[se.d_buf+2*_e]&lt;&lt;8|se.pending_buf[se.d_buf+2*_e+1],ve=se.pending_buf[se.l_buf+_e],_e++,me===0?Z(se,ve,de):(Z(se,(ge=O[ve])+x+1,de),(le=D[ge])!==0&amp;&amp;Y(se,ve-=I[ge],le),Z(se,ge=R(--me),ie),(le=W[ge])!==0&amp;&amp;Y(se,me-=S[ge],le)),_e&lt;se.last_lit;);Z(se,256,de)}function Q(se,de){var ie,me,ve,ge=de.dyn_tree,le=de.stat_desc.static_tree,_e=de.stat_desc.has_stree,Se=de.stat_desc.elems,Oe=-1;for(se.heap_len=0,se.heap_max=573,ie=0;ie&lt;Se;ie++)ge[2*ie]!==0?(se.heap[++se.heap_len]=Oe=ie,se.depth[ie]=0):ge[2*ie+1]=0;for(;se.heap_len&lt;2;)ge[2*(ve=se.heap[++se.heap_len]=Oe&lt;2?++Oe:0)]=1,se.depth[ve]=0,se.opt_len--,_e&amp;&amp;(se.static_len-=le[2*ve+1]);for(de.max_code=Oe,ie=se.heap_len&gt;&gt;1;1&lt;=ie;ie--)X(se,ge,ie);for(ve=Se;ie=se.heap[1],se.heap[1]=se.heap[se.heap_len--],X(se,ge,1),me=se.heap[1],se.heap[--se.heap_max]=ie,se.heap[--se.heap_max]=me,ge[2*ve]=ge[2*ie]+ge[2*me],se.depth[ve]=(se.depth[ie]&gt;=se.depth[me]?se.depth[ie]:se.depth[me])+1,ge[2*ie+1]=ge[2*me+1]=ve,se.heap[1]=ve++,X(se,ge,1),2&lt;=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],(function(Te,Ie){var Ve,Ye,Ze,ct,Ge,Be,Xe=Ie.dyn_tree,rt=Ie.max_code,Je=Ie.stat_desc.static_tree,Mt=Ie.stat_desc.has_stree,Wt=Ie.stat_desc.extra_bits,et=Ie.stat_desc.extra_base,Tt=Ie.stat_desc.max_length,ut=0;for(ct=0;ct&lt;=M;ct++)Te.bl_count[ct]=0;for(Xe[2*Te.heap[Te.heap_max]+1]=0,Ve=Te.heap_max+1;Ve&lt;573;Ve++)Tt&lt;(ct=Xe[2*Xe[2*(Ye=Te.heap[Ve])+1]+1]+1)&amp;&amp;(ct=Tt,ut++),Xe[2*Ye+1]=ct,rt&lt;Ye||(Te.bl_count[ct]++,Ge=0,et&lt;=Ye&amp;&amp;(Ge=Wt[Ye-et]),Be=Xe[2*Ye],Te.opt_len+=Be*(ct+Ge),Mt&amp;&amp;(Te.static_len+=Be*(Je[2*Ye+1]+Ge)));if(ut!==0){do{for(ct=Tt-1;Te.bl_count[ct]===0;)ct--;Te.bl_count[ct]--,Te.bl_count[ct+1]+=2,Te.bl_count[Tt]--,ut-=2}while(0&lt;ut);for(ct=Tt;ct!==0;ct--)for(Ye=Te.bl_count[ct];Ye!==0;)rt&lt;(Ze=Te.heap[--Ve])||(Xe[2*Ze+1]!==ct&amp;&amp;(Te.opt_len+=(ct-Xe[2*Ze+1])*Xe[2*Ze],Xe[2*Ze+1]=ct),Ye--)}})(se,de),U(ge,Oe,se.bl_count)}function te(se,de,ie){var me,ve,ge=-1,le=de[1],_e=0,Se=7,Oe=4;for(le===0&amp;&amp;(Se=138,Oe=3),de[2*(ie+1)+1]=65535,me=0;me&lt;=ie;me++)ve=le,le=de[2*(me+1)+1],++_e&lt;Se&amp;&amp;ve===le||(_e&lt;Oe?se.bl_tree[2*ve]+=_e:ve!==0?(ve!==ge&amp;&amp;se.bl_tree[2*ve]++,se.bl_tree[32]++):_e&lt;=10?se.bl_tree[34]++:se.bl_tree[36]++,ge=ve,Oe=(_e=0)===le?(Se=138,3):ve===le?(Se=6,3):(Se=7,4))}function ae(se,de,ie){var me,ve,ge=-1,le=de[1],_e=0,Se=7,Oe=4;for(le===0&amp;&amp;(Se=138,Oe=3),me=0;me&lt;=ie;me++)if(ve=le,le=de[2*(me+1)+1],!(++_e&lt;Se&amp;&amp;ve===le)){if(_e&lt;Oe)for(;Z(se,ve,se.bl_tree),--_e!=0;);else ve!==0?(ve!==ge&amp;&amp;(Z(se,ve,se.bl_tree),_e--),Z(se,16,se.bl_tree),Y(se,_e-3,2)):_e&lt;=10?(Z(se,17,se.bl_tree),Y(se,_e-3,3)):(Z(se,18,se.bl_tree),Y(se,_e-11,7));ge=ve,Oe=(_e=0)===le?(Se=138,3):ve===le?(Se=6,3):(Se=7,4)}}b(S);var ce=!1;function he(se,de,ie,me){Y(se,0+(me?1:0),3),(function(ve,ge,le,_e){F(ve),B(ve,le),B(ve,~le),p.arraySet(ve.pending_buf,ve.window,ge,le,ve.pending),ve.pending+=le})(se,de,ie)}y._tr_init=function(se){ce||((function(){var de,ie,me,ve,ge,le=new Array(16);for(ve=me=0;ve&lt;28;ve++)for(I[ve]=me,de=0;de&lt;1&lt;&lt;D[ve];de++)O[me++]=ve;for(O[me-1]=ve,ve=ge=0;ve&lt;16;ve++)for(S[ve]=ge,de=0;de&lt;1&lt;&lt;W[ve];de++)z[ge++]=ve;for(ge&gt;&gt;=7;ve&lt;E;ve++)for(S[ve]=ge&lt;&lt;7,de=0;de&lt;1&lt;&lt;W[ve]-7;de++)z[256+ge++]=ve;for(ie=0;ie&lt;=M;ie++)le[ie]=0;for(de=0;de&lt;=143;)H[2*de+1]=8,de++,le[8]++;for(;de&lt;=255;)H[2*de+1]=9,de++,le[9]++;for(;de&lt;=279;)H[2*de+1]=7,de++,le[7]++;for(;de&lt;=287;)H[2*de+1]=8,de++,le[8]++;for(U(H,287,le),de=0;de&lt;E;de++)K[2*de+1]=5,K[2*de]=ne(de,5);C=new N(H,D,257,_,M),j=new N(K,W,0,E,M),k=new N(new Array(0),L,0,19,7)})(),ce=!0),se.l_desc=new T(se.dyn_ltree,C),se.d_desc=new T(se.dyn_dtree,j),se.bl_desc=new T(se.bl_tree,k),se.bi_buf=0,se.bi_valid=0,ee(se)},y._tr_stored_block=he,y._tr_flush_block=function(se,de,ie,me){var ve,ge,le=0;0&lt;se.level?(se.strm.data_type===2&amp;&amp;(se.strm.data_type=(function(_e){var Se,Oe=4093624447;for(Se=0;Se&lt;=31;Se++,Oe&gt;&gt;&gt;=1)if(1&amp;Oe&amp;&amp;_e.dyn_ltree[2*Se]!==0)return 0;if(_e.dyn_ltree[18]!==0||_e.dyn_ltree[20]!==0||_e.dyn_ltree[26]!==0)return 1;for(Se=32;Se&lt;x;Se++)if(_e.dyn_ltree[2*Se]!==0)return 1;return 0})(se)),Q(se,se.l_desc),Q(se,se.d_desc),le=(function(_e){var Se;for(te(_e,_e.dyn_ltree,_e.l_desc.max_code),te(_e,_e.dyn_dtree,_e.d_desc.max_code),Q(_e,_e.bl_desc),Se=18;3&lt;=Se&amp;&amp;_e.bl_tree[2*V[Se]+1]===0;Se--);return _e.opt_len+=3*(Se+1)+5+5+4,Se})(se),ve=se.opt_len+3+7&gt;&gt;&gt;3,(ge=se.static_len+3+7&gt;&gt;&gt;3)&lt;=ve&amp;&amp;(ve=ge)):ve=ge=ie+5,ie+4&lt;=ve&amp;&amp;de!==-1?he(se,de,ie,me):se.strategy===4||ge===ve?(Y(se,2+(me?1:0),3),re(se,H,K)):(Y(se,4+(me?1:0),3),(function(_e,Se,Oe,Te){var Ie;for(Y(_e,Se-257,5),Y(_e,Oe-1,5),Y(_e,Te-4,4),Ie=0;Ie&lt;Te;Ie++)Y(_e,_e.bl_tree[2*V[Ie]+1],3);ae(_e,_e.dyn_ltree,Se-1),ae(_e,_e.dyn_dtree,Oe-1)})(se,se.l_desc.max_code+1,se.d_desc.max_code+1,le+1),re(se,se.dyn_ltree,se.dyn_dtree)),ee(se),me&amp;&amp;F(se)},y._tr_tally=function(se,de,ie){return se.pending_buf[se.d_buf+2*se.last_lit]=de&gt;&gt;&gt;8&amp;255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&amp;de,se.pending_buf[se.l_buf+se.last_lit]=255&amp;ie,se.last_lit++,de===0?se.dyn_ltree[2*ie]++:(se.matches++,de--,se.dyn_ltree[2*(O[ie]+x+1)]++,se.dyn_dtree[2*R(de)]++),se.last_lit===se.lit_bufsize-1},y._tr_align=function(se){Y(se,2,3),Z(se,256,H),(function(de){de.bi_valid===16?(B(de,de.bi_buf),de.bi_buf=0,de.bi_valid=0):8&lt;=de.bi_valid&amp;&amp;(de.pending_buf[de.pending++]=255&amp;de.bi_buf,de.bi_buf&gt;&gt;=8,de.bi_valid-=8)})(se)}},{&quot;../utils/common&quot;:41}],53:[function(d,v,y){v.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(d,v,y){(function(p){(function(b,x){if(!b.setImmediate){var _,E,M,D,W=1,L={},V=!1,H=b.document,K=Object.getPrototypeOf&amp;&amp;Object.getPrototypeOf(b);K=K&amp;&amp;K.setTimeout?K:b,_={}.toString.call(b.process)===&quot;[object process]&quot;?function(C){s.nextTick((function(){O(C)}))}:(function(){if(b.postMessage&amp;&amp;!b.importScripts){var C=!0,j=b.onmessage;return b.onmessage=function(){C=!1},b.postMessage(&quot;&quot;,&quot;*&quot;),b.onmessage=j,C}})()?(D=&quot;setImmediate$&quot;+Math.random()+&quot;$&quot;,b.addEventListener?b.addEventListener(&quot;message&quot;,I,!1):b.attachEvent(&quot;onmessage&quot;,I),function(C){b.postMessage(D+C,&quot;*&quot;)}):b.MessageChannel?((M=new MessageChannel).port1.onmessage=function(C){O(C.data)},function(C){M.port2.postMessage(C)}):H&amp;&amp;&quot;onreadystatechange&quot;in H.createElement(&quot;script&quot;)?(E=H.documentElement,function(C){var j=H.createElement(&quot;script&quot;);j.onreadystatechange=function(){O(C),j.onreadystatechange=null,E.removeChild(j),j=null},E.appendChild(j)}):function(C){setTimeout(O,0,C)},K.setImmediate=function(C){typeof C!=&quot;function&quot;&amp;&amp;(C=new Function(&quot;&quot;+C));for(var j=new Array(arguments.length-1),k=0;k&lt;j.length;k++)j[k]=arguments[k+1];var S={callback:C,args:j};return L[W]=S,_(W),W++},K.clearImmediate=z}function z(C){delete L[C]}function O(C){if(V)setTimeout(O,0,C);else{var j=L[C];if(j){V=!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{z(C),V=!1}}}}function I(C){C.source===b&amp;&amp;typeof C.data==&quot;string&quot;&amp;&amp;C.data.indexOf(D)===0&amp;&amp;O(+C.data.slice(D.length))}})(typeof self&gt;&quot;u&quot;?p===void 0?this:p:self)}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;buffer&quot;).Buffer,arguments[3],arguments[4],arguments[5],arguments[6],t(&quot;timers&quot;).setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(t,n,o){(function(s){(function(){var a=/[\\^$.*+?()[\]{}|]/g,u=RegExp(a.source),l=typeof s==&quot;object&quot;&amp;&amp;s&amp;&amp;s.Object===Object&amp;&amp;s,i=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,c=l||i||Function(&quot;return this&quot;)(),h=Object.prototype.toString,f=c.Symbol,d=f?f.prototype:void 0,v=d?d.toString:void 0;function y(p){if(typeof p==&quot;string&quot;)return p;if((function(x){return typeof x==&quot;symbol&quot;||(function(_){return!!_&amp;&amp;typeof _==&quot;object&quot;})(x)&amp;&amp;h.call(x)==&quot;[object Symbol]&quot;})(p))return v?v.call(p):&quot;&quot;;var b=p+&quot;&quot;;return b==&quot;0&quot;&amp;&amp;1/p==-1/0?&quot;-0&quot;:b}n.exports=function(p){var b;return(p=(b=p)==null?&quot;&quot;:y(b))&amp;&amp;u.test(p)?p.replace(a,&quot;\\$&amp;&quot;):p}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],443:[function(t,n,o){(function(s){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,i=&quot;[object Set]&quot;,c=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,h=/^\w*$/,f=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&quot;&#039;])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v=/\\(\\)?/g,y=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,b={};b[&quot;[object Float32Array]&quot;]=b[&quot;[object Float64Array]&quot;]=b[&quot;[object Int8Array]&quot;]=b[&quot;[object Int16Array]&quot;]=b[&quot;[object Int32Array]&quot;]=b[&quot;[object Uint8Array]&quot;]=b[&quot;[object Uint8ClampedArray]&quot;]=b[&quot;[object Uint16Array]&quot;]=b[&quot;[object Uint32Array]&quot;]=!0,b[a]=b[&quot;[object Array]&quot;]=b[&quot;[object ArrayBuffer]&quot;]=b[&quot;[object Boolean]&quot;]=b[&quot;[object DataView]&quot;]=b[&quot;[object Date]&quot;]=b[&quot;[object Error]&quot;]=b[&quot;[object Function]&quot;]=b[u]=b[&quot;[object Number]&quot;]=b[l]=b[&quot;[object RegExp]&quot;]=b[i]=b[&quot;[object String]&quot;]=b[&quot;[object WeakMap]&quot;]=!1;var x=typeof s==&quot;object&quot;&amp;&amp;s&amp;&amp;s.Object===Object&amp;&amp;s,_=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,E=x||_||Function(&quot;return this&quot;)(),M=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,D=M&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,W=D&amp;&amp;D.exports===M&amp;&amp;x.process,L=(function(){try{return W&amp;&amp;W.binding(&quot;util&quot;)}catch{}})(),V=L&amp;&amp;L.isTypedArray;function H(fe,we,Pe,Re){for(var tt=-1,$e=fe?fe.length:0;++tt&lt;$e;){var He=fe[tt];we(Re,He,Pe(He),fe)}return Re}function K(fe,we){for(var Pe=-1,Re=fe?fe.length:0;++Pe&lt;Re;)if(we(fe[Pe],Pe,fe))return!0;return!1}function z(fe){var we=!1;if(fe!=null&amp;&amp;typeof fe.toString!=&quot;function&quot;)try{we=!!(fe+&quot;&quot;)}catch{}return we}function O(fe){var we=-1,Pe=Array(fe.size);return fe.forEach((function(Re,tt){Pe[++we]=[tt,Re]})),Pe}function I(fe){var we=-1,Pe=Array(fe.size);return fe.forEach((function(Re){Pe[++we]=Re})),Pe}var C,j,k,S=Array.prototype,N=Function.prototype,T=Object.prototype,R=E[&quot;__core-js_shared__&quot;],B=(C=/[^.]+$/.exec(R&amp;&amp;R.keys&amp;&amp;R.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+C:&quot;&quot;,Y=N.toString,Z=T.hasOwnProperty,ne=T.toString,U=RegExp(&quot;^&quot;+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),ee=E.Symbol,F=E.Uint8Array,P=T.propertyIsEnumerable,X=S.splice,re=(j=Object.keys,k=Object,function(fe){return j(k(fe))}),Q=nt(E,&quot;DataView&quot;),te=nt(E,&quot;Map&quot;),ae=nt(E,&quot;Promise&quot;),ce=nt(E,&quot;Set&quot;),he=nt(E,&quot;WeakMap&quot;),se=nt(Object,&quot;create&quot;),de=je(Q),ie=je(te),me=je(ae),ve=je(ce),ge=je(he),le=ee?ee.prototype:void 0,_e=le?le.valueOf:void 0,Se=le?le.toString:void 0;function Oe(fe){var we=-1,Pe=fe?fe.length:0;for(this.clear();++we&lt;Pe;){var Re=fe[we];this.set(Re[0],Re[1])}}function Te(fe){var we=-1,Pe=fe?fe.length:0;for(this.clear();++we&lt;Pe;){var Re=fe[we];this.set(Re[0],Re[1])}}function Ie(fe){var we=-1,Pe=fe?fe.length:0;for(this.clear();++we&lt;Pe;){var Re=fe[we];this.set(Re[0],Re[1])}}function Ve(fe){var we=-1,Pe=fe?fe.length:0;for(this.__data__=new Ie;++we&lt;Pe;)this.add(fe[we])}function Ye(fe){this.__data__=new Te(fe)}function Ze(fe,we){var Pe=vt(fe)||jt(fe)?(function(He,Ft){for(var At=-1,St=Array(He);++At&lt;He;)St[At]=Ft(At);return St})(fe.length,String):[],Re=Pe.length,tt=!!Re;for(var $e in fe)!Z.call(fe,$e)||tt&amp;&amp;($e==&quot;length&quot;||Kt($e,Re))||Pe.push($e);return Pe}function ct(fe,we){for(var Pe=fe.length;Pe--;)if(qe(fe[Pe][0],we))return Pe;return-1}function Ge(fe,we,Pe,Re){return Xe(fe,(function(tt,$e,He){we(Re,tt,Pe(tt),He)})),Re}Oe.prototype.clear=function(){this.__data__=se?se(null):{}},Oe.prototype.delete=function(fe){return this.has(fe)&amp;&amp;delete this.__data__[fe]},Oe.prototype.get=function(fe){var we=this.__data__;if(se){var Pe=we[fe];return Pe===&quot;__lodash_hash_undefined__&quot;?void 0:Pe}return Z.call(we,fe)?we[fe]:void 0},Oe.prototype.has=function(fe){var we=this.__data__;return se?we[fe]!==void 0:Z.call(we,fe)},Oe.prototype.set=function(fe,we){return this.__data__[fe]=se&amp;&amp;we===void 0?&quot;__lodash_hash_undefined__&quot;:we,this},Te.prototype.clear=function(){this.__data__=[]},Te.prototype.delete=function(fe){var we=this.__data__,Pe=ct(we,fe);return!(Pe&lt;0)&amp;&amp;(Pe==we.length-1?we.pop():X.call(we,Pe,1),!0)},Te.prototype.get=function(fe){var we=this.__data__,Pe=ct(we,fe);return Pe&lt;0?void 0:we[Pe][1]},Te.prototype.has=function(fe){return ct(this.__data__,fe)&gt;-1},Te.prototype.set=function(fe,we){var Pe=this.__data__,Re=ct(Pe,fe);return Re&lt;0?Pe.push([fe,we]):Pe[Re][1]=we,this},Ie.prototype.clear=function(){this.__data__={hash:new Oe,map:new(te||Te),string:new Oe}},Ie.prototype.delete=function(fe){return Ut(this,fe).delete(fe)},Ie.prototype.get=function(fe){return Ut(this,fe).get(fe)},Ie.prototype.has=function(fe){return Ut(this,fe).has(fe)},Ie.prototype.set=function(fe,we){return Ut(this,fe).set(fe,we),this},Ve.prototype.add=Ve.prototype.push=function(fe){return this.__data__.set(fe,&quot;__lodash_hash_undefined__&quot;),this},Ve.prototype.has=function(fe){return this.__data__.has(fe)},Ye.prototype.clear=function(){this.__data__=new Te},Ye.prototype.delete=function(fe){return this.__data__.delete(fe)},Ye.prototype.get=function(fe){return this.__data__.get(fe)},Ye.prototype.has=function(fe){return this.__data__.has(fe)},Ye.prototype.set=function(fe,we){var Pe=this.__data__;if(Pe instanceof Te){var Re=Pe.__data__;if(!te||Re.length&lt;199)return Re.push([fe,we]),this;Pe=this.__data__=new Ie(Re)}return Pe.set(fe,we),this};var Be,Xe=(Be=function(fe,we){return fe&amp;&amp;rt(fe,we,cr)},function(fe,we){if(fe==null)return fe;if(!it(fe))return Be(fe,we);for(var Pe=fe.length,Re=-1,tt=Object(fe);++Re&lt;Pe&amp;&amp;we(tt[Re],Re,tt)!==!1;);return fe}),rt=(function(fe){return function(we,Pe,Re){for(var tt=-1,$e=Object(we),He=Re(we),Ft=He.length;Ft--;){var At=He[++tt];if(Pe($e[At],At,$e)===!1)break}return we}})();function Je(fe,we){for(var Pe=0,Re=(we=wt(we,fe)?[we]:_t(we)).length;fe!=null&amp;&amp;Pe&lt;Re;)fe=fe[ye(we[Pe++])];return Pe&amp;&amp;Pe==Re?fe:void 0}function Mt(fe,we){return fe!=null&amp;&amp;we in Object(fe)}function Wt(fe,we,Pe,Re,tt){return fe===we||(fe==null||we==null||!dt(fe)&amp;&amp;!Lt(we)?fe!=fe&amp;&amp;we!=we:(function($e,He,Ft,At,St,ft){var Et=vt($e),Vt=vt(He),Zt=&quot;[object Array]&quot;,or=&quot;[object Array]&quot;;Et||(Zt=(Zt=Pt($e))==a?l:Zt),Vt||(or=(or=Pt(He))==a?l:or);var ur=Zt==l&amp;&amp;!z($e),Sr=or==l&amp;&amp;!z(He),kr=Zt==or;if(kr&amp;&amp;!ur)return ft||(ft=new Ye),Et||nr($e)?Yt($e,He,Ft,At,St,ft):(function(Xt,qt,fn,di,fi,Bt,hn){switch(fn){case&quot;[object DataView]&quot;:if(Xt.byteLength!=qt.byteLength||Xt.byteOffset!=qt.byteOffset)return!1;Xt=Xt.buffer,qt=qt.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Xt.byteLength!=qt.byteLength||!di(new F(Xt),new F(qt)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return qe(+Xt,+qt);case&quot;[object Error]&quot;:return Xt.name==qt.name&amp;&amp;Xt.message==qt.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Xt==qt+&quot;&quot;;case u:var ti=O;case i:var hi=2&amp;Bt;if(ti||(ti=I),Xt.size!=qt.size&amp;&amp;!hi)return!1;var ss=hn.get(Xt);if(ss)return ss==qt;Bt|=1,hn.set(Xt,qt);var mi=Yt(ti(Xt),ti(qt),di,fi,Bt,hn);return hn.delete(Xt),mi;case&quot;[object Symbol]&quot;:if(_e)return _e.call(Xt)==_e.call(qt)}return!1})($e,He,Zt,Ft,At,St,ft);if(!(2&amp;St)){var Un=ur&amp;&amp;Z.call($e,&quot;__wrapped__&quot;),ns=Sr&amp;&amp;Z.call(He,&quot;__wrapped__&quot;);if(Un||ns){var is=Un?$e.value():$e,ui=ns?He.value():He;return ft||(ft=new Ye),Ft(is,ui,At,St,ft)}}return kr?(ft||(ft=new Ye),(function(Xt,qt,fn,di,fi,Bt){var hn=2&amp;fi,ti=cr(Xt),hi=ti.length,ss=cr(qt).length;if(hi!=ss&amp;&amp;!hn)return!1;for(var mi=hi;mi--;){var Vn=ti[mi];if(!(hn?Vn in qt:Z.call(qt,Vn)))return!1}var ks=Bt.get(Xt);if(ks&amp;&amp;Bt.get(qt))return ks==qt;var wn=!0;Bt.set(Xt,qt),Bt.set(qt,Xt);for(var Jr=hn;++mi&lt;hi;){Vn=ti[mi];var en=Xt[Vn],Tn=qt[Vn];if(di)var Ri=hn?di(Tn,en,Vn,qt,Xt,Bt):di(en,Tn,Vn,Xt,qt,Bt);if(!(Ri===void 0?en===Tn||fn(en,Tn,di,fi,Bt):Ri)){wn=!1;break}Jr||(Jr=Vn==&quot;constructor&quot;)}if(wn&amp;&amp;!Jr){var _n=Xt.constructor,jn=qt.constructor;_n==jn||!(&quot;constructor&quot;in Xt)||!(&quot;constructor&quot;in qt)||typeof _n==&quot;function&quot;&amp;&amp;_n instanceof _n&amp;&amp;typeof jn==&quot;function&quot;&amp;&amp;jn instanceof jn||(wn=!1)}return Bt.delete(Xt),Bt.delete(qt),wn})($e,He,Ft,At,St,ft)):!1})(fe,we,Wt,Pe,Re,tt))}function et(fe){return!(!dt(fe)||(function(we){return!!B&amp;&amp;B in we})(fe))&amp;&amp;(kt(fe)||z(fe)?U:y).test(je(fe))}function Tt(fe){return typeof fe==&quot;function&quot;?fe:fe==null?qr:typeof fe==&quot;object&quot;?vt(fe)?(function(Re,tt){return wt(Re)&amp;&amp;zt(tt)?Dt(ye(Re),tt):function($e){var He=(function(Ft,At,St){var ft=Ft==null?void 0:Je(Ft,At);return ft===void 0?St:ft})($e,Re);return He===void 0&amp;&amp;He===tt?(function(Ft,At){return Ft!=null&amp;&amp;(function(St,ft,Et){ft=wt(ft,St)?[ft]:_t(ft);for(var Vt,Zt=-1,or=ft.length;++Zt&lt;or;){var ur=ye(ft[Zt]);if(!(Vt=St!=null&amp;&amp;Et(St,ur)))break;St=St[ur]}return Vt||!!(or=St?St.length:0)&amp;&amp;Ce(or)&amp;&amp;Kt(ur,or)&amp;&amp;(vt(St)||jt(St))})(Ft,At,Mt)})($e,Re):Wt(tt,He,void 0,3)}})(fe[0],fe[1]):(function(Re){var tt=(function($e){for(var He=cr($e),Ft=He.length;Ft--;){var At=He[Ft],St=$e[At];He[Ft]=[At,St,zt(St)]}return He})(Re);return tt.length==1&amp;&amp;tt[0][2]?Dt(tt[0][0],tt[0][1]):function($e){return $e===Re||(function(He,Ft,At,St){var ft=At.length,Et=ft;if(He==null)return!Et;for(He=Object(He);ft--;){var Vt=At[ft];if(Vt[2]?Vt[1]!==He[Vt[0]]:!(Vt[0]in He))return!1}for(;++ft&lt;Et;){var Zt=(Vt=At[ft])[0],or=He[Zt],ur=Vt[1];if(Vt[2]){if(or===void 0&amp;&amp;!(Zt in He))return!1}else{var Sr=new Ye,kr;if(!(kr===void 0?Wt(ur,or,St,3,Sr):kr))return!1}}return!0})($e,Re,tt)}})(fe):wt(we=fe)?(Pe=ye(we),function(Re){return Re?.[Pe]}):(function(Re){return function(tt){return Je(tt,Re)}})(we);var we,Pe}function ut(fe){if(Pe=(we=fe)&amp;&amp;we.constructor,Re=typeof Pe==&quot;function&quot;&amp;&amp;Pe.prototype||T,we!==Re)return re(fe);var we,Pe,Re,tt=[];for(var $e in Object(fe))Z.call(fe,$e)&amp;&amp;$e!=&quot;constructor&quot;&amp;&amp;tt.push($e);return tt}function _t(fe){return vt(fe)?fe:bt(fe)}function Yt(fe,we,Pe,Re,tt,$e){var He=2&amp;tt,Ft=fe.length,At=we.length;if(Ft!=At&amp;&amp;!(He&amp;&amp;At&gt;Ft))return!1;var St=$e.get(fe);if(St&amp;&amp;$e.get(we))return St==we;var ft=-1,Et=!0,Vt=1&amp;tt?new Ve:void 0;for($e.set(fe,we),$e.set(we,fe);++ft&lt;Ft;){var Zt=fe[ft],or=we[ft];if(Re)var ur=He?Re(or,Zt,ft,we,fe,$e):Re(Zt,or,ft,fe,we,$e);if(ur!==void 0){if(ur)continue;Et=!1;break}if(Vt){if(!K(we,(function(Sr,kr){if(!Vt.has(kr)&amp;&amp;(Zt===Sr||Pe(Zt,Sr,Re,tt,$e)))return Vt.add(kr)}))){Et=!1;break}}else if(Zt!==or&amp;&amp;!Pe(Zt,or,Re,tt,$e)){Et=!1;break}}return $e.delete(fe),$e.delete(we),Et}function Ut(fe,we){var Pe,Re,tt=fe.__data__;return((Re=typeof(Pe=we))==&quot;string&quot;||Re==&quot;number&quot;||Re==&quot;symbol&quot;||Re==&quot;boolean&quot;?Pe!==&quot;__proto__&quot;:Pe===null)?tt[typeof we==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:tt.map}function nt(fe,we){var Pe=(function(Re,tt){return Re?.[tt]})(fe,we);return et(Pe)?Pe:void 0}var Pt=function(fe){return ne.call(fe)};function Kt(fe,we){return!!(we=we??9007199254740991)&amp;&amp;(typeof fe==&quot;number&quot;||p.test(fe))&amp;&amp;fe&gt;-1&amp;&amp;fe%1==0&amp;&amp;fe&lt;we}function wt(fe,we){if(vt(fe))return!1;var Pe=typeof fe;return!(Pe!=&quot;number&quot;&amp;&amp;Pe!=&quot;symbol&quot;&amp;&amp;Pe!=&quot;boolean&quot;&amp;&amp;fe!=null&amp;&amp;!It(fe))||h.test(fe)||!c.test(fe)||we!=null&amp;&amp;fe in Object(we)}function zt(fe){return fe==fe&amp;&amp;!dt(fe)}function Dt(fe,we){return function(Pe){return Pe!=null&amp;&amp;Pe[fe]===we&amp;&amp;(we!==void 0||fe in Object(Pe))}}(Q&amp;&amp;Pt(new Q(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||te&amp;&amp;Pt(new te)!=u||ae&amp;&amp;Pt(ae.resolve())!=&quot;[object Promise]&quot;||ce&amp;&amp;Pt(new ce)!=i||he&amp;&amp;Pt(new he)!=&quot;[object WeakMap]&quot;)&amp;&amp;(Pt=function(fe){var we=ne.call(fe),Pe=we==l?fe.constructor:void 0,Re=Pe?je(Pe):void 0;if(Re)switch(Re){case de:return&quot;[object DataView]&quot;;case ie:return u;case me:return&quot;[object Promise]&quot;;case ve:return i;case ge:return&quot;[object WeakMap]&quot;}return we});var bt=mt((function(fe){var we;fe=(we=fe)==null?&quot;&quot;:(function(Re){if(typeof Re==&quot;string&quot;)return Re;if(It(Re))return Se?Se.call(Re):&quot;&quot;;var tt=Re+&quot;&quot;;return tt==&quot;0&quot;&amp;&amp;1/Re==-1/0?&quot;-0&quot;:tt})(we);var Pe=[];return f.test(fe)&amp;&amp;Pe.push(&quot;&quot;),fe.replace(d,(function(Re,tt,$e,He){Pe.push($e?He.replace(v,&quot;$1&quot;):tt||Re)})),Pe}));function ye(fe){if(typeof fe==&quot;string&quot;||It(fe))return fe;var we=fe+&quot;&quot;;return we==&quot;0&quot;&amp;&amp;1/fe==-1/0?&quot;-0&quot;:we}function je(fe){if(fe!=null){try{return Y.call(fe)}catch{}try{return fe+&quot;&quot;}catch{}}return&quot;&quot;}var Me,Ue=(Me=function(fe,we,Pe){Z.call(fe,Pe)?fe[Pe].push(we):fe[Pe]=[we]},function(fe,we){var Pe=vt(fe)?H:Ge,Re={};return Pe(fe,Me,Tt(we),Re)});function mt(fe,we){if(typeof fe!=&quot;function&quot;||we&amp;&amp;typeof we!=&quot;function&quot;)throw new TypeError(&quot;Expected a function&quot;);var Pe=function(){var Re=arguments,tt=we?we.apply(this,Re):Re[0],$e=Pe.cache;if($e.has(tt))return $e.get(tt);var He=fe.apply(this,Re);return Pe.cache=$e.set(tt,He),He};return Pe.cache=new(mt.Cache||Ie),Pe}function qe(fe,we){return fe===we||fe!=fe&amp;&amp;we!=we}function jt(fe){return(function(we){return Lt(we)&amp;&amp;it(we)})(fe)&amp;&amp;Z.call(fe,&quot;callee&quot;)&amp;&amp;(!P.call(fe,&quot;callee&quot;)||ne.call(fe)==a)}mt.Cache=Ie;var vt=Array.isArray;function it(fe){return fe!=null&amp;&amp;Ce(fe.length)&amp;&amp;!kt(fe)}function kt(fe){var we=dt(fe)?ne.call(fe):&quot;&quot;;return we==&quot;[object Function]&quot;||we==&quot;[object GeneratorFunction]&quot;}function Ce(fe){return typeof fe==&quot;number&quot;&amp;&amp;fe&gt;-1&amp;&amp;fe%1==0&amp;&amp;fe&lt;=9007199254740991}function dt(fe){var we=typeof fe;return!!fe&amp;&amp;(we==&quot;object&quot;||we==&quot;function&quot;)}function Lt(fe){return!!fe&amp;&amp;typeof fe==&quot;object&quot;}function It(fe){return typeof fe==&quot;symbol&quot;||Lt(fe)&amp;&amp;ne.call(fe)==&quot;[object Symbol]&quot;}var nr=V?(function(fe){return function(we){return fe(we)}})(V):function(fe){return Lt(fe)&amp;&amp;Ce(fe.length)&amp;&amp;!!b[ne.call(fe)]};function cr(fe){return it(fe)?Ze(fe):ut(fe)}function qr(fe){return fe}n.exports=Ue}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],444:[function(t,n,o){var s=Object.prototype.toString;n.exports=function(a){return a===!0||a===!1||(function(u){return!!u&amp;&amp;typeof u==&quot;object&quot;})(a)&amp;&amp;s.call(a)==&quot;[object Boolean]&quot;}},{}],445:[function(t,n,o){(function(s){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,i=&quot;[object Set]&quot;,c=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f[&quot;[object Float32Array]&quot;]=f[&quot;[object Float64Array]&quot;]=f[&quot;[object Int8Array]&quot;]=f[&quot;[object Int16Array]&quot;]=f[&quot;[object Int32Array]&quot;]=f[&quot;[object Uint8Array]&quot;]=f[&quot;[object Uint8ClampedArray]&quot;]=f[&quot;[object Uint16Array]&quot;]=f[&quot;[object Uint32Array]&quot;]=!0,f[a]=f[&quot;[object Array]&quot;]=f[&quot;[object ArrayBuffer]&quot;]=f[&quot;[object Boolean]&quot;]=f[&quot;[object DataView]&quot;]=f[&quot;[object Date]&quot;]=f[&quot;[object Error]&quot;]=f[&quot;[object Function]&quot;]=f[u]=f[&quot;[object Number]&quot;]=f[l]=f[&quot;[object RegExp]&quot;]=f[i]=f[&quot;[object String]&quot;]=f[&quot;[object WeakMap]&quot;]=!1;var d=typeof s==&quot;object&quot;&amp;&amp;s&amp;&amp;s.Object===Object&amp;&amp;s,v=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,y=d||v||Function(&quot;return this&quot;)(),p=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,b=p&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,x=b&amp;&amp;b.exports===p,_=x&amp;&amp;d.process,E=(function(){try{return _&amp;&amp;_.binding&amp;&amp;_.binding(&quot;util&quot;)}catch{}})(),M=E&amp;&amp;E.isTypedArray;function D(ye,je){for(var Me=-1,Ue=ye==null?0:ye.length;++Me&lt;Ue;)if(je(ye[Me],Me,ye))return!0;return!1}function W(ye){var je=-1,Me=Array(ye.size);return ye.forEach((function(Ue,mt){Me[++je]=[mt,Ue]})),Me}function L(ye){var je=-1,Me=Array(ye.size);return ye.forEach((function(Ue){Me[++je]=Ue})),Me}var V,H,K,z=Array.prototype,O=Function.prototype,I=Object.prototype,C=y[&quot;__core-js_shared__&quot;],j=O.toString,k=I.hasOwnProperty,S=(V=/[^.]+$/.exec(C&amp;&amp;C.keys&amp;&amp;C.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+V:&quot;&quot;,N=I.toString,T=RegExp(&quot;^&quot;+j.call(k).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),R=x?y.Buffer:void 0,B=y.Symbol,Y=y.Uint8Array,Z=I.propertyIsEnumerable,ne=z.splice,U=B?B.toStringTag:void 0,ee=Object.getOwnPropertySymbols,F=R?R.isBuffer:void 0,P=(H=Object.keys,K=Object,function(ye){return H(K(ye))}),X=Mt(y,&quot;DataView&quot;),re=Mt(y,&quot;Map&quot;),Q=Mt(y,&quot;Promise&quot;),te=Mt(y,&quot;Set&quot;),ae=Mt(y,&quot;WeakMap&quot;),ce=Mt(Object,&quot;create&quot;),he=ut(X),se=ut(re),de=ut(Q),ie=ut(te),me=ut(ae),ve=B?B.prototype:void 0,ge=ve?ve.valueOf:void 0;function le(ye){var je=-1,Me=ye==null?0:ye.length;for(this.clear();++je&lt;Me;){var Ue=ye[je];this.set(Ue[0],Ue[1])}}function _e(ye){var je=-1,Me=ye==null?0:ye.length;for(this.clear();++je&lt;Me;){var Ue=ye[je];this.set(Ue[0],Ue[1])}}function Se(ye){var je=-1,Me=ye==null?0:ye.length;for(this.clear();++je&lt;Me;){var Ue=ye[je];this.set(Ue[0],Ue[1])}}function Oe(ye){var je=-1,Me=ye==null?0:ye.length;for(this.__data__=new Se;++je&lt;Me;)this.add(ye[je])}function Te(ye){var je=this.__data__=new _e(ye);this.size=je.size}function Ie(ye,je){var Me=Ut(ye),Ue=!Me&amp;&amp;Yt(ye),mt=!Me&amp;&amp;!Ue&amp;&amp;nt(ye),qe=!Me&amp;&amp;!Ue&amp;&amp;!mt&amp;&amp;Dt(ye),jt=Me||Ue||mt||qe,vt=jt?(function(Ce,dt){for(var Lt=-1,It=Array(Ce);++Lt&lt;Ce;)It[Lt]=dt(Lt);return It})(ye.length,String):[],it=vt.length;for(var kt in ye)!k.call(ye,kt)||jt&amp;&amp;(kt==&quot;length&quot;||mt&amp;&amp;(kt==&quot;offset&quot;||kt==&quot;parent&quot;)||qe&amp;&amp;(kt==&quot;buffer&quot;||kt==&quot;byteLength&quot;||kt==&quot;byteOffset&quot;)||Tt(kt,it))||vt.push(kt);return vt}function Ve(ye,je){for(var Me=ye.length;Me--;)if(_t(ye[Me][0],je))return Me;return-1}function Ye(ye){return ye==null?ye===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:U&amp;&amp;U in Object(ye)?(function(je){var Me=k.call(je,U),Ue=je[U];try{je[U]=void 0;var mt=!0}catch{}var qe=N.call(je);return mt&amp;&amp;(Me?je[U]=Ue:delete je[U]),qe})(ye):(function(je){return N.call(je)})(ye)}function Ze(ye){return zt(ye)&amp;&amp;Ye(ye)==a}function ct(ye,je,Me,Ue,mt){return ye===je||(ye==null||je==null||!zt(ye)&amp;&amp;!zt(je)?ye!=ye&amp;&amp;je!=je:(function(qe,jt,vt,it,kt,Ce){var dt=Ut(qe),Lt=Ut(jt),It=dt?&quot;[object Array]&quot;:et(qe),nr=Lt?&quot;[object Array]&quot;:et(jt),cr=(It=It==a?l:It)==l,qr=(nr=nr==a?l:nr)==l,fe=It==nr;if(fe&amp;&amp;nt(qe)){if(!nt(jt))return!1;dt=!0,cr=!1}if(fe&amp;&amp;!cr)return Ce||(Ce=new Te),dt||Dt(qe)?Xe(qe,jt,vt,it,kt,Ce):(function($e,He,Ft,At,St,ft,Et){switch(Ft){case&quot;[object DataView]&quot;:if($e.byteLength!=He.byteLength||$e.byteOffset!=He.byteOffset)return!1;$e=$e.buffer,He=He.buffer;case&quot;[object ArrayBuffer]&quot;:return!($e.byteLength!=He.byteLength||!ft(new Y($e),new Y(He)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return _t(+$e,+He);case&quot;[object Error]&quot;:return $e.name==He.name&amp;&amp;$e.message==He.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return $e==He+&quot;&quot;;case u:var Vt=W;case i:var Zt=1&amp;At;if(Vt||(Vt=L),$e.size!=He.size&amp;&amp;!Zt)return!1;var or=Et.get($e);if(or)return or==He;At|=2,Et.set($e,He);var ur=Xe(Vt($e),Vt(He),At,St,ft,Et);return Et.delete($e),ur;case&quot;[object Symbol]&quot;:if(ge)return ge.call($e)==ge.call(He)}return!1})(qe,jt,It,vt,it,kt,Ce);if(!(1&amp;vt)){var we=cr&amp;&amp;k.call(qe,&quot;__wrapped__&quot;),Pe=qr&amp;&amp;k.call(jt,&quot;__wrapped__&quot;);if(we||Pe){var Re=we?qe.value():qe,tt=Pe?jt.value():jt;return Ce||(Ce=new Te),kt(Re,tt,vt,it,Ce)}}return fe?(Ce||(Ce=new Te),(function($e,He,Ft,At,St,ft){var Et=1&amp;Ft,Vt=rt($e),Zt=Vt.length,or=rt(He).length;if(Zt!=or&amp;&amp;!Et)return!1;for(var ur=Zt;ur--;){var Sr=Vt[ur];if(!(Et?Sr in He:k.call(He,Sr)))return!1}var kr=ft.get($e);if(kr&amp;&amp;ft.get(He))return kr==He;var Un=!0;ft.set($e,He),ft.set(He,$e);for(var ns=Et;++ur&lt;Zt;){Sr=Vt[ur];var is=$e[Sr],ui=He[Sr];if(At)var Xt=Et?At(ui,is,Sr,He,$e,ft):At(is,ui,Sr,$e,He,ft);if(!(Xt===void 0?is===ui||St(is,ui,Ft,At,ft):Xt)){Un=!1;break}ns||(ns=Sr==&quot;constructor&quot;)}if(Un&amp;&amp;!ns){var qt=$e.constructor,fn=He.constructor;qt==fn||!(&quot;constructor&quot;in $e)||!(&quot;constructor&quot;in He)||typeof qt==&quot;function&quot;&amp;&amp;qt instanceof qt&amp;&amp;typeof fn==&quot;function&quot;&amp;&amp;fn instanceof fn||(Un=!1)}return ft.delete($e),ft.delete(He),Un})(qe,jt,vt,it,kt,Ce)):!1})(ye,je,Me,Ue,ct,mt))}function Ge(ye){return!(!wt(ye)||(function(je){return!!S&amp;&amp;S in je})(ye))&amp;&amp;(Pt(ye)?T:c).test(ut(ye))}function Be(ye){if(Me=(je=ye)&amp;&amp;je.constructor,Ue=typeof Me==&quot;function&quot;&amp;&amp;Me.prototype||I,je!==Ue)return P(ye);var je,Me,Ue,mt=[];for(var qe in Object(ye))k.call(ye,qe)&amp;&amp;qe!=&quot;constructor&quot;&amp;&amp;mt.push(qe);return mt}function Xe(ye,je,Me,Ue,mt,qe){var jt=1&amp;Me,vt=ye.length,it=je.length;if(vt!=it&amp;&amp;!(jt&amp;&amp;it&gt;vt))return!1;var kt=qe.get(ye);if(kt&amp;&amp;qe.get(je))return kt==je;var Ce=-1,dt=!0,Lt=2&amp;Me?new Oe:void 0;for(qe.set(ye,je),qe.set(je,ye);++Ce&lt;vt;){var It=ye[Ce],nr=je[Ce];if(Ue)var cr=jt?Ue(nr,It,Ce,je,ye,qe):Ue(It,nr,Ce,ye,je,qe);if(cr!==void 0){if(cr)continue;dt=!1;break}if(Lt){if(!D(je,(function(qr,fe){if(we=fe,!Lt.has(we)&amp;&amp;(It===qr||mt(It,qr,Me,Ue,qe)))return Lt.push(fe);var we}))){dt=!1;break}}else if(It!==nr&amp;&amp;!mt(It,nr,Me,Ue,qe)){dt=!1;break}}return qe.delete(ye),qe.delete(je),dt}function rt(ye){return(function(je,Me,Ue){var mt=Me(je);return Ut(je)?mt:(function(qe,jt){for(var vt=-1,it=jt.length,kt=qe.length;++vt&lt;it;)qe[kt+vt]=jt[vt];return qe})(mt,Ue(je))})(ye,bt,Wt)}function Je(ye,je){var Me,Ue,mt=ye.__data__;return((Ue=typeof(Me=je))==&quot;string&quot;||Ue==&quot;number&quot;||Ue==&quot;symbol&quot;||Ue==&quot;boolean&quot;?Me!==&quot;__proto__&quot;:Me===null)?mt[typeof je==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:mt.map}function Mt(ye,je){var Me=(function(Ue,mt){return Ue?.[mt]})(ye,je);return Ge(Me)?Me:void 0}le.prototype.clear=function(){this.__data__=ce?ce(null):{},this.size=0},le.prototype.delete=function(ye){var je=this.has(ye)&amp;&amp;delete this.__data__[ye];return this.size-=je?1:0,je},le.prototype.get=function(ye){var je=this.__data__;if(ce){var Me=je[ye];return Me===&quot;__lodash_hash_undefined__&quot;?void 0:Me}return k.call(je,ye)?je[ye]:void 0},le.prototype.has=function(ye){var je=this.__data__;return ce?je[ye]!==void 0:k.call(je,ye)},le.prototype.set=function(ye,je){var Me=this.__data__;return this.size+=this.has(ye)?0:1,Me[ye]=ce&amp;&amp;je===void 0?&quot;__lodash_hash_undefined__&quot;:je,this},_e.prototype.clear=function(){this.__data__=[],this.size=0},_e.prototype.delete=function(ye){var je=this.__data__,Me=Ve(je,ye);return!(Me&lt;0)&amp;&amp;(Me==je.length-1?je.pop():ne.call(je,Me,1),--this.size,!0)},_e.prototype.get=function(ye){var je=this.__data__,Me=Ve(je,ye);return Me&lt;0?void 0:je[Me][1]},_e.prototype.has=function(ye){return Ve(this.__data__,ye)&gt;-1},_e.prototype.set=function(ye,je){var Me=this.__data__,Ue=Ve(Me,ye);return Ue&lt;0?(++this.size,Me.push([ye,je])):Me[Ue][1]=je,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new le,map:new(re||_e),string:new le}},Se.prototype.delete=function(ye){var je=Je(this,ye).delete(ye);return this.size-=je?1:0,je},Se.prototype.get=function(ye){return Je(this,ye).get(ye)},Se.prototype.has=function(ye){return Je(this,ye).has(ye)},Se.prototype.set=function(ye,je){var Me=Je(this,ye),Ue=Me.size;return Me.set(ye,je),this.size+=Me.size==Ue?0:1,this},Oe.prototype.add=Oe.prototype.push=function(ye){return this.__data__.set(ye,&quot;__lodash_hash_undefined__&quot;),this},Oe.prototype.has=function(ye){return this.__data__.has(ye)},Te.prototype.clear=function(){this.__data__=new _e,this.size=0},Te.prototype.delete=function(ye){var je=this.__data__,Me=je.delete(ye);return this.size=je.size,Me},Te.prototype.get=function(ye){return this.__data__.get(ye)},Te.prototype.has=function(ye){return this.__data__.has(ye)},Te.prototype.set=function(ye,je){var Me=this.__data__;if(Me instanceof _e){var Ue=Me.__data__;if(!re||Ue.length&lt;199)return Ue.push([ye,je]),this.size=++Me.size,this;Me=this.__data__=new Se(Ue)}return Me.set(ye,je),this.size=Me.size,this};var Wt=ee?function(ye){return ye==null?[]:(ye=Object(ye),(function(je,Me){for(var Ue=-1,mt=je==null?0:je.length,qe=0,jt=[];++Ue&lt;mt;){var vt=je[Ue];Me(vt,Ue,je)&amp;&amp;(jt[qe++]=vt)}return jt})(ee(ye),(function(je){return Z.call(ye,je)})))}:function(){return[]},et=Ye;function Tt(ye,je){return!!(je=je??9007199254740991)&amp;&amp;(typeof ye==&quot;number&quot;||h.test(ye))&amp;&amp;ye&gt;-1&amp;&amp;ye%1==0&amp;&amp;ye&lt;je}function ut(ye){if(ye!=null){try{return j.call(ye)}catch{}try{return ye+&quot;&quot;}catch{}}return&quot;&quot;}function _t(ye,je){return ye===je||ye!=ye&amp;&amp;je!=je}(X&amp;&amp;et(new X(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||re&amp;&amp;et(new re)!=u||Q&amp;&amp;et(Q.resolve())!=&quot;[object Promise]&quot;||te&amp;&amp;et(new te)!=i||ae&amp;&amp;et(new ae)!=&quot;[object WeakMap]&quot;)&amp;&amp;(et=function(ye){var je=Ye(ye),Me=je==l?ye.constructor:void 0,Ue=Me?ut(Me):&quot;&quot;;if(Ue)switch(Ue){case he:return&quot;[object DataView]&quot;;case se:return u;case de:return&quot;[object Promise]&quot;;case ie:return i;case me:return&quot;[object WeakMap]&quot;}return je});var Yt=Ze((function(){return arguments})())?Ze:function(ye){return zt(ye)&amp;&amp;k.call(ye,&quot;callee&quot;)&amp;&amp;!Z.call(ye,&quot;callee&quot;)},Ut=Array.isArray,nt=F||function(){return!1};function Pt(ye){if(!wt(ye))return!1;var je=Ye(ye);return je==&quot;[object Function]&quot;||je==&quot;[object GeneratorFunction]&quot;||je==&quot;[object AsyncFunction]&quot;||je==&quot;[object Proxy]&quot;}function Kt(ye){return typeof ye==&quot;number&quot;&amp;&amp;ye&gt;-1&amp;&amp;ye%1==0&amp;&amp;ye&lt;=9007199254740991}function wt(ye){var je=typeof ye;return ye!=null&amp;&amp;(je==&quot;object&quot;||je==&quot;function&quot;)}function zt(ye){return ye!=null&amp;&amp;typeof ye==&quot;object&quot;}var Dt=M?(function(ye){return function(je){return ye(je)}})(M):function(ye){return zt(ye)&amp;&amp;Kt(ye.length)&amp;&amp;!!f[Ye(ye)]};function bt(ye){return(je=ye)!=null&amp;&amp;Kt(je.length)&amp;&amp;!Pt(je)?Ie(ye):Be(ye);var je}n.exports=function(ye,je){return ct(ye,je)}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],446:[function(t,n,o){(function(s){(function(){var a=typeof s==&quot;object&quot;&amp;&amp;s&amp;&amp;s.Object===Object&amp;&amp;s,u=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,l=a||u||Function(&quot;return this&quot;)(),i=Object.prototype,c=i.hasOwnProperty,h=i.toString,f=l.Symbol,d=f?f.toStringTag:void 0;function v(y){return y==null?y===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:d&amp;&amp;d in Object(y)?(function(p){var b=c.call(p,d),x=p[d];try{p[d]=void 0;var _=!0}catch{}var E=h.call(p);return _&amp;&amp;(b?p[d]=x:delete p[d]),E})(y):(function(p){return h.call(p)})(y)}n.exports=function(y){if(!(function(b){var x=typeof b;return b!=null&amp;&amp;(x==&quot;object&quot;||x==&quot;function&quot;)})(y))return!1;var p=v(y);return p==&quot;[object Function]&quot;||p==&quot;[object GeneratorFunction]&quot;||p==&quot;[object AsyncFunction]&quot;||p==&quot;[object Proxy]&quot;}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],447:[function(t,n,o){n.exports=function(s){return s==null}},{}],448:[function(t,n,o){n.exports=function(s){return s===void 0}},{}],449:[function(t,n,o){(function(s){(function(){var a=/^\[object .+?Constructor\]$/,u=typeof s==&quot;object&quot;&amp;&amp;s&amp;&amp;s.Object===Object&amp;&amp;s,l=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,i=u||l||Function(&quot;return this&quot;)();function c(B,Y){return!!(B&amp;&amp;B.length)&amp;&amp;(function(Z,ne,U){if(ne!=ne)return(function(P,X,re,Q){for(var te=P.length,ae=re+-1;++ae&lt;te;)if(X(P[ae],ae,P))return ae;return-1})(Z,h,U);for(var ee=U-1,F=Z.length;++ee&lt;F;)if(Z[ee]===ne)return ee;return-1})(B,Y,0)&gt;-1}function h(B){return B!=B}function f(B,Y){return B.has(Y)}function d(B){var Y=-1,Z=Array(B.size);return B.forEach((function(ne){Z[++Y]=ne})),Z}var v,y=Array.prototype,p=Function.prototype,b=Object.prototype,x=i[&quot;__core-js_shared__&quot;],_=(v=/[^.]+$/.exec(x&amp;&amp;x.keys&amp;&amp;x.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+v:&quot;&quot;,E=p.toString,M=b.hasOwnProperty,D=b.toString,W=RegExp(&quot;^&quot;+E.call(M).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),L=y.splice,V=T(i,&quot;Map&quot;),H=T(i,&quot;Set&quot;),K=T(Object,&quot;create&quot;);function z(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 O(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 I(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 C(B){var Y=-1,Z=B?B.length:0;for(this.__data__=new I;++Y&lt;Z;)this.add(B[Y])}function j(B,Y){for(var Z,ne,U=B.length;U--;)if((Z=B[U][0])===(ne=Y)||Z!=Z&amp;&amp;ne!=ne)return U;return-1}function k(B){return!(!R(B)||(Y=B,_&amp;&amp;_ in Y))&amp;&amp;((function(Z){var ne=R(Z)?D.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)?W:a).test((function(Z){if(Z!=null){try{return E.call(Z)}catch{}try{return Z+&quot;&quot;}catch{}}return&quot;&quot;})(B));var Y}z.prototype.clear=function(){this.__data__=K?K(null):{}},z.prototype.delete=function(B){return this.has(B)&amp;&amp;delete this.__data__[B]},z.prototype.get=function(B){var Y=this.__data__;if(K){var Z=Y[B];return Z===&quot;__lodash_hash_undefined__&quot;?void 0:Z}return M.call(Y,B)?Y[B]:void 0},z.prototype.has=function(B){var Y=this.__data__;return K?Y[B]!==void 0:M.call(Y,B)},z.prototype.set=function(B,Y){return this.__data__[B]=K&amp;&amp;Y===void 0?&quot;__lodash_hash_undefined__&quot;:Y,this},O.prototype.clear=function(){this.__data__=[]},O.prototype.delete=function(B){var Y=this.__data__,Z=j(Y,B);return!(Z&lt;0)&amp;&amp;(Z==Y.length-1?Y.pop():L.call(Y,Z,1),!0)},O.prototype.get=function(B){var Y=this.__data__,Z=j(Y,B);return Z&lt;0?void 0:Y[Z][1]},O.prototype.has=function(B){return j(this.__data__,B)&gt;-1},O.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},I.prototype.clear=function(){this.__data__={hash:new z,map:new(V||O),string:new z}},I.prototype.delete=function(B){return N(this,B).delete(B)},I.prototype.get=function(B){return N(this,B).get(B)},I.prototype.has=function(B){return N(this,B).has(B)},I.prototype.set=function(B,Y){return N(this,B).set(B,Y),this},C.prototype.add=C.prototype.push=function(B){return this.__data__.set(B,&quot;__lodash_hash_undefined__&quot;),this},C.prototype.has=function(B){return this.__data__.has(B)};var S=H&amp;&amp;1/d(new H([,-0]))[1]==1/0?function(B){return new H(B)}:function(){};function N(B,Y){var Z,ne,U=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)?U[typeof Y==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:U.map}function T(B,Y){var Z=(function(ne,U){return ne?.[U]})(B,Y);return k(Z)?Z:void 0}function R(B){var Y=typeof B;return!!B&amp;&amp;(Y==&quot;object&quot;||Y==&quot;function&quot;)}n.exports=function(B){return B&amp;&amp;B.length?(function(Y,Z,ne){var U=-1,ee=c,F=Y.length,P=!0,X=[],re=X;if(F&gt;=200){var Q=S(Y);if(Q)return d(Q);P=!1,ee=f,re=new C}else re=X;e:for(;++U&lt;F;){var te=Y[U],ae=te;if(te=te!==0?te:0,P&amp;&amp;ae==ae){for(var ce=re.length;ce--;)if(re[ce]===ae)continue e;X.push(te)}else ee(re,ae,ne)||(re!==X&amp;&amp;re.push(ae),X.push(te))}return X})(B):[]}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],450:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;hash-base&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=new Array(16);function i(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(y,p){return y&lt;&lt;p|y&gt;&gt;&gt;32-p}function h(y,p,b,x,_,E,M){return c(y+(p&amp;b|~p&amp;x)+_+E|0,M)+p|0}function f(y,p,b,x,_,E,M){return c(y+(p&amp;x|b&amp;~x)+_+E|0,M)+p|0}function d(y,p,b,x,_,E,M){return c(y+(p^b^x)+_+E|0,M)+p|0}function v(y,p,b,x,_,E,M){return c(y+(b^(p|~x))+_+E|0,M)+p|0}s(i,a),i.prototype._update=function(){for(var y=l,p=0;p&lt;16;++p)y[p]=this._block.readInt32LE(4*p);var b=this._a,x=this._b,_=this._c,E=this._d;b=h(b,x,_,E,y[0],3614090360,7),E=h(E,b,x,_,y[1],3905402710,12),_=h(_,E,b,x,y[2],606105819,17),x=h(x,_,E,b,y[3],3250441966,22),b=h(b,x,_,E,y[4],4118548399,7),E=h(E,b,x,_,y[5],1200080426,12),_=h(_,E,b,x,y[6],2821735955,17),x=h(x,_,E,b,y[7],4249261313,22),b=h(b,x,_,E,y[8],1770035416,7),E=h(E,b,x,_,y[9],2336552879,12),_=h(_,E,b,x,y[10],4294925233,17),x=h(x,_,E,b,y[11],2304563134,22),b=h(b,x,_,E,y[12],1804603682,7),E=h(E,b,x,_,y[13],4254626195,12),_=h(_,E,b,x,y[14],2792965006,17),b=f(b,x=h(x,_,E,b,y[15],1236535329,22),_,E,y[1],4129170786,5),E=f(E,b,x,_,y[6],3225465664,9),_=f(_,E,b,x,y[11],643717713,14),x=f(x,_,E,b,y[0],3921069994,20),b=f(b,x,_,E,y[5],3593408605,5),E=f(E,b,x,_,y[10],38016083,9),_=f(_,E,b,x,y[15],3634488961,14),x=f(x,_,E,b,y[4],3889429448,20),b=f(b,x,_,E,y[9],568446438,5),E=f(E,b,x,_,y[14],3275163606,9),_=f(_,E,b,x,y[3],4107603335,14),x=f(x,_,E,b,y[8],1163531501,20),b=f(b,x,_,E,y[13],2850285829,5),E=f(E,b,x,_,y[2],4243563512,9),_=f(_,E,b,x,y[7],1735328473,14),b=d(b,x=f(x,_,E,b,y[12],2368359562,20),_,E,y[5],4294588738,4),E=d(E,b,x,_,y[8],2272392833,11),_=d(_,E,b,x,y[11],1839030562,16),x=d(x,_,E,b,y[14],4259657740,23),b=d(b,x,_,E,y[1],2763975236,4),E=d(E,b,x,_,y[4],1272893353,11),_=d(_,E,b,x,y[7],4139469664,16),x=d(x,_,E,b,y[10],3200236656,23),b=d(b,x,_,E,y[13],681279174,4),E=d(E,b,x,_,y[0],3936430074,11),_=d(_,E,b,x,y[3],3572445317,16),x=d(x,_,E,b,y[6],76029189,23),b=d(b,x,_,E,y[9],3654602809,4),E=d(E,b,x,_,y[12],3873151461,11),_=d(_,E,b,x,y[15],530742520,16),b=v(b,x=d(x,_,E,b,y[2],3299628645,23),_,E,y[0],4096336452,6),E=v(E,b,x,_,y[7],1126891415,10),_=v(_,E,b,x,y[14],2878612391,15),x=v(x,_,E,b,y[5],4237533241,21),b=v(b,x,_,E,y[12],1700485571,6),E=v(E,b,x,_,y[3],2399980690,10),_=v(_,E,b,x,y[10],4293915773,15),x=v(x,_,E,b,y[1],2240044497,21),b=v(b,x,_,E,y[8],1873313359,6),E=v(E,b,x,_,y[15],4264355552,10),_=v(_,E,b,x,y[6],2734768916,15),x=v(x,_,E,b,y[13],1309151649,21),b=v(b,x,_,E,y[4],4149444226,6),E=v(E,b,x,_,y[11],3174756917,10),_=v(_,E,b,x,y[2],718787259,15),x=v(x,_,E,b,y[9],3951481745,21),this._a=this._a+b|0,this._b=this._b+x|0,this._c=this._c+_|0,this._d=this._d+E|0},i.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 y=u.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},n.exports=i},{&quot;hash-base&quot;:425,inherits:440,&quot;safe-buffer&quot;:494}],451:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;brorand&quot;);function u(l){this.rand=l||new a.Rand}n.exports=u,u.create=function(l){return new u(l)},u.prototype._randbelow=function(l){var i=l.bitLength(),c=Math.ceil(i/8);do var h=new s(this.rand.generate(c));while(h.cmp(l)&gt;=0);return h},u.prototype._randrange=function(l,i){var c=i.sub(l);return l.add(this._randbelow(c))},u.prototype.test=function(l,i,c){var h=l.bitLength(),f=s.mont(l),d=new s(1).toRed(f);i||(i=Math.max(1,h/48|0));for(var v=l.subn(1),y=0;!v.testn(y);y++);for(var p=l.shrn(y),b=v.toRed(f);i&gt;0;i--){var x=this._randrange(new s(2),v);c&amp;&amp;c(x);var _=x.toRed(f).redPow(p);if(_.cmp(d)!==0&amp;&amp;_.cmp(b)!==0){for(var E=1;E&lt;y;E++){if((_=_.redSqr()).cmp(d)===0)return!1;if(_.cmp(b)===0)break}if(E===y)return!1}}return!0},u.prototype.getDivisor=function(l,i){var c=l.bitLength(),h=s.mont(l),f=new s(1).toRed(h);i||(i=Math.max(1,c/48|0));for(var d=l.subn(1),v=0;!d.testn(v);v++);for(var y=l.shrn(v),p=d.toRed(h);i&gt;0;i--){var b=this._randrange(new s(2),d),x=l.gcd(b);if(x.cmpn(1)!==0)return x;var _=b.toRed(h).redPow(y);if(_.cmp(f)!==0&amp;&amp;_.cmp(p)!==0){for(var E=1;E&lt;v;E++){if((_=_.redSqr()).cmp(f)===0)return _.fromRed().subn(1).gcd(l);if(_.cmp(p)===0)break}if(E===v)return(_=_.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},{&quot;bn.js&quot;:452,brorand:187}],452:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],453:[function(t,n,o){function s(a,u){if(!a)throw new Error(u||&quot;Assertion failed&quot;)}n.exports=s,s.equal=function(a,u,l){if(a!=u)throw new Error(l||&quot;Assertion failed: &quot;+a+&quot; != &quot;+u)}},{}],454:[function(t,n,o){var s=o;function a(l){return l.length===1?&quot;0&quot;+l:l}function u(l){for(var i=&quot;&quot;,c=0;c&lt;l.length;c++)i+=a(l[c].toString(16));return i}s.toArray=function(l,i){if(Array.isArray(l))return l.slice();if(!l)return[];var c=[];if(typeof l!=&quot;string&quot;){for(var h=0;h&lt;l.length;h++)c[h]=0|l[h];return c}if(i===&quot;hex&quot;)for((l=l.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(l=&quot;0&quot;+l),h=0;h&lt;l.length;h+=2)c.push(parseInt(l[h]+l[h+1],16));else for(h=0;h&lt;l.length;h++){var f=l.charCodeAt(h),d=f&gt;&gt;8,v=255&amp;f;d?c.push(d,v):c.push(v)}return c},s.zero2=a,s.toHex=u,s.encode=function(l,i){return i===&quot;hex&quot;?u(l):l}},{}],455:[function(t,n,o){n.exports={&quot;2.16.840.1.101.3.4.1.1&quot;:&quot;aes-128-ecb&quot;,&quot;2.16.840.1.101.3.4.1.2&quot;:&quot;aes-128-cbc&quot;,&quot;2.16.840.1.101.3.4.1.3&quot;:&quot;aes-128-ofb&quot;,&quot;2.16.840.1.101.3.4.1.4&quot;:&quot;aes-128-cfb&quot;,&quot;2.16.840.1.101.3.4.1.21&quot;:&quot;aes-192-ecb&quot;,&quot;2.16.840.1.101.3.4.1.22&quot;:&quot;aes-192-cbc&quot;,&quot;2.16.840.1.101.3.4.1.23&quot;:&quot;aes-192-ofb&quot;,&quot;2.16.840.1.101.3.4.1.24&quot;:&quot;aes-192-cfb&quot;,&quot;2.16.840.1.101.3.4.1.41&quot;:&quot;aes-256-ecb&quot;,&quot;2.16.840.1.101.3.4.1.42&quot;:&quot;aes-256-cbc&quot;,&quot;2.16.840.1.101.3.4.1.43&quot;:&quot;aes-256-ofb&quot;,&quot;2.16.840.1.101.3.4.1.44&quot;:&quot;aes-256-cfb&quot;}},{}],456:[function(t,n,o){var s=t(&quot;asn1.js&quot;);o.certificate=t(&quot;./certificate&quot;);var a=s.define(&quot;RSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int(),this.key(&quot;privateExponent&quot;).int(),this.key(&quot;prime1&quot;).int(),this.key(&quot;prime2&quot;).int(),this.key(&quot;exponent1&quot;).int(),this.key(&quot;exponent2&quot;).int(),this.key(&quot;coefficient&quot;).int())}));o.RSAPrivateKey=a;var u=s.define(&quot;RSAPublicKey&quot;,(function(){this.seq().obj(this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int())}));o.RSAPublicKey=u;var l=s.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(i),this.key(&quot;subjectPublicKey&quot;).bitstr())}));o.PublicKey=l;var i=s.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())})),c=s.define(&quot;PrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;algorithm&quot;).use(i),this.key(&quot;subjectPrivateKey&quot;).octstr())}));o.PrivateKey=c;var h=s.define(&quot;EncryptedPrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;decrypt&quot;).seq().obj(this.key(&quot;kde&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;kdeparams&quot;).seq().obj(this.key(&quot;salt&quot;).octstr(),this.key(&quot;iters&quot;).int())),this.key(&quot;cipher&quot;).seq().obj(this.key(&quot;algo&quot;).objid(),this.key(&quot;iv&quot;).octstr()))),this.key(&quot;subjectPrivateKey&quot;).octstr())}));o.EncryptedPrivateKey=h;var f=s.define(&quot;DSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;p&quot;).int(),this.key(&quot;q&quot;).int(),this.key(&quot;g&quot;).int(),this.key(&quot;pub_key&quot;).int(),this.key(&quot;priv_key&quot;).int())}));o.DSAPrivateKey=f,o.DSAparam=s.define(&quot;DSAparam&quot;,(function(){this.int()}));var d=s.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(v),this.key(&quot;publicKey&quot;).optional().explicit(1).bitstr())}));o.ECPrivateKey=d;var v=s.define(&quot;ECParameters&quot;,(function(){this.choice({namedCurve:this.objid()})}));o.signature=s.define(&quot;signature&quot;,(function(){this.seq().obj(this.key(&quot;r&quot;).int(),this.key(&quot;s&quot;).int())}))},{&quot;./certificate&quot;:457,&quot;asn1.js&quot;:170}],457:[function(t,n,o){var s=t(&quot;asn1.js&quot;),a=s.define(&quot;Time&quot;,(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=s.define(&quot;AttributeTypeValue&quot;,(function(){this.seq().obj(this.key(&quot;type&quot;).objid(),this.key(&quot;value&quot;).any())})),l=s.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())})),i=s.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(l),this.key(&quot;subjectPublicKey&quot;).bitstr())})),c=s.define(&quot;RelativeDistinguishedName&quot;,(function(){this.setof(u)})),h=s.define(&quot;RDNSequence&quot;,(function(){this.seqof(c)})),f=s.define(&quot;Name&quot;,(function(){this.choice({rdnSequence:this.use(h)})})),d=s.define(&quot;Validity&quot;,(function(){this.seq().obj(this.key(&quot;notBefore&quot;).use(a),this.key(&quot;notAfter&quot;).use(a))})),v=s.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())})),y=s.define(&quot;TBSCertificate&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).explicit(0).int().optional(),this.key(&quot;serialNumber&quot;).int(),this.key(&quot;signature&quot;).use(l),this.key(&quot;issuer&quot;).use(f),this.key(&quot;validity&quot;).use(d),this.key(&quot;subject&quot;).use(f),this.key(&quot;subjectPublicKeyInfo&quot;).use(i),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(v).optional())})),p=s.define(&quot;X509Certificate&quot;,(function(){this.seq().obj(this.key(&quot;tbsCertificate&quot;).use(y),this.key(&quot;signatureAlgorithm&quot;).use(l),this.key(&quot;signatureValue&quot;).bitstr())}));n.exports=p},{&quot;asn1.js&quot;:170}],458:[function(t,n,o){var s=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,l=t(&quot;evp_bytestokey&quot;),i=t(&quot;browserify-aes&quot;),c=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(h,f){var d,v=h.toString(),y=v.match(s);if(y){var p=&quot;aes&quot;+y[1],b=c.from(y[2],&quot;hex&quot;),x=c.from(y[3].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;),_=l(f,b.slice(0,8),parseInt(y[1],10)).key,E=[],M=i.createDecipheriv(p,_,b);E.push(M.update(x)),E.push(M.final()),d=c.concat(E)}else{var D=v.match(u);d=c.from(D[2].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;)}return{tag:v.match(a)[1],data:d}}},{&quot;browserify-aes&quot;:191,evp_bytestokey:423,&quot;safe-buffer&quot;:494}],459:[function(t,n,o){var s=t(&quot;./asn1&quot;),a=t(&quot;./aesid.json&quot;),u=t(&quot;./fixProc&quot;),l=t(&quot;browserify-aes&quot;),i=t(&quot;pbkdf2&quot;),c=t(&quot;safe-buffer&quot;).Buffer;function h(f){var d;typeof f!=&quot;object&quot;||c.isBuffer(f)||(d=f.passphrase,f=f.key),typeof f==&quot;string&quot;&amp;&amp;(f=c.from(f));var v,y,p=u(f,d),b=p.tag,x=p.data;switch(b){case&quot;CERTIFICATE&quot;:y=s.certificate.decode(x,&quot;der&quot;).tbsCertificate.subjectPublicKeyInfo;case&quot;PUBLIC KEY&quot;:switch(y||(y=s.PublicKey.decode(x,&quot;der&quot;)),v=y.algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return s.RSAPublicKey.decode(y.subjectPublicKey.data,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return y.subjectPrivateKey=y.subjectPublicKey,{type:&quot;ec&quot;,data:y};case&quot;1.2.840.10040.4.1&quot;:return y.algorithm.params.pub_key=s.DSAparam.decode(y.subjectPublicKey.data,&quot;der&quot;),{type:&quot;dsa&quot;,data:y.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+v)}case&quot;ENCRYPTED PRIVATE KEY&quot;:x=(function(_,E){var M=_.algorithm.decrypt.kde.kdeparams.salt,D=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),W=a[_.algorithm.decrypt.cipher.algo.join(&quot;.&quot;)],L=_.algorithm.decrypt.cipher.iv,V=_.subjectPrivateKey,H=parseInt(W.split(&quot;-&quot;)[1],10)/8,K=i.pbkdf2Sync(E,M,D,H,&quot;sha1&quot;),z=l.createDecipheriv(W,K,L),O=[];return O.push(z.update(V)),O.push(z.final()),c.concat(O)})(x=s.EncryptedPrivateKey.decode(x,&quot;der&quot;),d);case&quot;PRIVATE KEY&quot;:switch(v=(y=s.PrivateKey.decode(x,&quot;der&quot;)).algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return s.RSAPrivateKey.decode(y.subjectPrivateKey,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return{curve:y.algorithm.curve,privateKey:s.ECPrivateKey.decode(y.subjectPrivateKey,&quot;der&quot;).privateKey};case&quot;1.2.840.10040.4.1&quot;:return y.algorithm.params.priv_key=s.DSAparam.decode(y.subjectPrivateKey,&quot;der&quot;),{type:&quot;dsa&quot;,params:y.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+v)}case&quot;RSA PUBLIC KEY&quot;:return s.RSAPublicKey.decode(x,&quot;der&quot;);case&quot;RSA PRIVATE KEY&quot;:return s.RSAPrivateKey.decode(x,&quot;der&quot;);case&quot;DSA PRIVATE KEY&quot;:return{type:&quot;dsa&quot;,params:s.DSAPrivateKey.decode(x,&quot;der&quot;)};case&quot;EC PRIVATE KEY&quot;:return{curve:(x=s.ECPrivateKey.decode(x,&quot;der&quot;)).parameters.value,privateKey:x.privateKey};default:throw new Error(&quot;unknown key type &quot;+b)}}n.exports=h,h.signature=s.signature},{&quot;./aesid.json&quot;:455,&quot;./asn1&quot;:456,&quot;./fixProc&quot;:458,&quot;browserify-aes&quot;:191,pbkdf2:460,&quot;safe-buffer&quot;:494}],460:[function(t,n,o){o.pbkdf2=t(&quot;./lib/async&quot;),o.pbkdf2Sync=t(&quot;./lib/sync&quot;)},{&quot;./lib/async&quot;:461,&quot;./lib/sync&quot;:464}],461:[function(t,n,o){(function(s){(function(){var a,u,l=t(&quot;safe-buffer&quot;).Buffer,i=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),h=t(&quot;./sync&quot;),f=t(&quot;./to-buffer&quot;),d=s.crypto&amp;&amp;s.crypto.subtle,v={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;},y=[];function p(){return u||(u=s.process&amp;&amp;s.process.nextTick?s.process.nextTick:s.queueMicrotask?s.queueMicrotask:s.setImmediate?s.setImmediate:s.setTimeout)}function b(x,_,E,M,D){return d.importKey(&quot;raw&quot;,x,{name:&quot;PBKDF2&quot;},!1,[&quot;deriveBits&quot;]).then((function(W){return d.deriveBits({name:&quot;PBKDF2&quot;,salt:_,iterations:E,hash:{name:D}},W,M&lt;&lt;3)})).then((function(W){return l.from(W)}))}n.exports=function(x,_,E,M,D,W){typeof D==&quot;function&quot;&amp;&amp;(W=D,D=void 0);var L=v[(D=D||&quot;sha1&quot;).toLowerCase()];if(L&amp;&amp;typeof s.Promise==&quot;function&quot;){if(i(E,M),x=f(x,c,&quot;Password&quot;),_=f(_,c,&quot;Salt&quot;),typeof W!=&quot;function&quot;)throw new Error(&quot;No callback provided to pbkdf2&quot;);(function(V,H){V.then((function(K){p()((function(){H(null,K)}))}),(function(K){p()((function(){H(K)}))}))})((function(V){if(s.process&amp;&amp;!s.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(y[V]!==void 0)return y[V];var H=b(a=a||l.alloc(8),a,10,128,V).then((function(){return!0})).catch((function(){return!1}));return y[V]=H,H})(L).then((function(V){return V?b(x,_,E,M,L):h(x,_,E,M,D)})),W)}else p()((function(){var V;try{V=h(x,_,E,M,D)}catch(H){return W(H)}W(null,V)}))}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./default-encoding&quot;:462,&quot;./precondition&quot;:463,&quot;./sync&quot;:464,&quot;./to-buffer&quot;:465,&quot;safe-buffer&quot;:494}],462:[function(t,n,o){(function(s,a){(function(){var u;a.process&amp;&amp;a.process.browser?u=&quot;utf-8&quot;:a.process&amp;&amp;a.process.version?u=parseInt(s.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 Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467}],463:[function(t,n,o){var s=Math.pow(2,30)-1;n.exports=function(a,u){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Iterations not a number&quot;);if(a&lt;0)throw new TypeError(&quot;Bad iterations&quot;);if(typeof u!=&quot;number&quot;)throw new TypeError(&quot;Key length not a number&quot;);if(u&lt;0||u&gt;s||u!=u)throw new TypeError(&quot;Bad key length&quot;)}},{}],464:[function(t,n,o){var s=t(&quot;create-hash/md5&quot;),a=t(&quot;ripemd160&quot;),u=t(&quot;sha.js&quot;),l=t(&quot;safe-buffer&quot;).Buffer,i=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),h=t(&quot;./to-buffer&quot;),f=l.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function v(y,p,b){var x=(function(L){function V(H){return u(L).update(H).digest()}return L===&quot;rmd160&quot;||L===&quot;ripemd160&quot;?function(H){return new a().update(H).digest()}:L===&quot;md5&quot;?s:V})(y),_=y===&quot;sha512&quot;||y===&quot;sha384&quot;?128:64;p.length&gt;_?p=x(p):p.length&lt;_&amp;&amp;(p=l.concat([p,f],_));for(var E=l.allocUnsafe(_+d[y]),M=l.allocUnsafe(_+d[y]),D=0;D&lt;_;D++)E[D]=54^p[D],M[D]=92^p[D];var W=l.allocUnsafe(_+b+4);E.copy(W,0,0,_),this.ipad1=W,this.ipad2=E,this.opad=M,this.alg=y,this.blocksize=_,this.hash=x,this.size=d[y]}v.prototype.run=function(y,p){return y.copy(p,this.blocksize),this.hash(p).copy(this.opad,this.blocksize),this.hash(this.opad)},n.exports=function(y,p,b,x,_){i(b,x);var E=new v(_=_||&quot;sha1&quot;,y=h(y,c,&quot;Password&quot;),(p=h(p,c,&quot;Salt&quot;)).length),M=l.allocUnsafe(x),D=l.allocUnsafe(p.length+4);p.copy(D,0,0,p.length);for(var W=0,L=d[_],V=Math.ceil(x/L),H=1;H&lt;=V;H++){D.writeUInt32BE(H,p.length);for(var K=E.run(D,E.ipad1),z=K,O=1;O&lt;b;O++){z=E.run(z,E.ipad2);for(var I=0;I&lt;L;I++)K[I]^=z[I]}K.copy(M,W),W+=L}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,o){var s=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(a,u,l){if(s.isBuffer(a))return a;if(typeof a==&quot;string&quot;)return s.from(a,u);if(ArrayBuffer.isView(a))return s.from(a.buffer);throw new TypeError(l+&quot; must be a string, a Buffer, a typed array or a DataView&quot;)}},{&quot;safe-buffer&quot;:494}],466:[function(t,n,o){(function(s){(function(){s===void 0||!s.version||s.version.indexOf(&quot;v0.&quot;)===0||s.version.indexOf(&quot;v1.&quot;)===0&amp;&amp;s.version.indexOf(&quot;v1.8.&quot;)!==0?n.exports={nextTick:function(a,u,l,i){if(typeof a!=&quot;function&quot;)throw new TypeError(&#039;&quot;callback&quot; argument must be a function&#039;);var c,h,f=arguments.length;switch(f){case 0:case 1:return s.nextTick(a);case 2:return s.nextTick((function(){a.call(null,u)}));case 3:return s.nextTick((function(){a.call(null,u,l)}));case 4:return s.nextTick((function(){a.call(null,u,l,i)}));default:for(c=new Array(f-1),h=0;h&lt;c.length;)c[h++]=arguments[h];return s.nextTick((function(){a.apply(null,c)}))}}}:n.exports=s}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],467:[function(t,n,o){var s,a,u=n.exports={};function l(){throw new Error(&quot;setTimeout has not been defined&quot;)}function i(){throw new Error(&quot;clearTimeout has not been defined&quot;)}function c(_){if(s===setTimeout)return setTimeout(_,0);if((s===l||!s)&amp;&amp;setTimeout)return s=setTimeout,setTimeout(_,0);try{return s(_,0)}catch{try{return s.call(null,_,0)}catch{return s.call(this,_,0)}}}(function(){try{s=typeof setTimeout==&quot;function&quot;?setTimeout:l}catch{s=l}try{a=typeof clearTimeout==&quot;function&quot;?clearTimeout:i}catch{a=i}})();var h,f=[],d=!1,v=-1;function y(){d&amp;&amp;h&amp;&amp;(d=!1,h.length?f=h.concat(f):v=-1,f.length&amp;&amp;p())}function p(){if(!d){var _=c(y);d=!0;for(var E=f.length;E;){for(h=f,f=[];++v&lt;E;)h&amp;&amp;h[v].run();v=-1,E=f.length}h=null,d=!1,(function(M){if(a===clearTimeout)return clearTimeout(M);if((a===i||!a)&amp;&amp;clearTimeout)return a=clearTimeout,clearTimeout(M);try{a(M)}catch{try{return a.call(null,M)}catch{return a.call(this,M)}}})(_)}}function b(_,E){this.fun=_,this.array=E}function x(){}u.nextTick=function(_){var E=new Array(arguments.length-1);if(arguments.length&gt;1)for(var M=1;M&lt;arguments.length;M++)E[M-1]=arguments[M];f.push(new b(_,E)),f.length!==1||d||c(p)},b.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=x,u.addListener=x,u.once=x,u.off=x,u.removeListener=x,u.removeAllListeners=x,u.emit=x,u.prependListener=x,u.prependOnceListener=x,u.listeners=function(_){return[]},u.binding=function(_){throw new Error(&quot;process.binding is not supported&quot;)},u.cwd=function(){return&quot;/&quot;},u.chdir=function(_){throw new Error(&quot;process.chdir is not supported&quot;)},u.umask=function(){return 0}},{}],468:[function(t,n,o){o.publicEncrypt=t(&quot;./publicEncrypt&quot;),o.privateDecrypt=t(&quot;./privateDecrypt&quot;),o.privateEncrypt=function(s,a){return o.publicEncrypt(s,a,!0)},o.publicDecrypt=function(s,a){return o.privateDecrypt(s,a,!0)}},{&quot;./privateDecrypt&quot;:471,&quot;./publicEncrypt&quot;:472}],469:[function(t,n,o){var s=t(&quot;create-hash&quot;),a=t(&quot;safe-buffer&quot;).Buffer;function u(l){var i=a.allocUnsafe(4);return i.writeUInt32BE(l,0),i}n.exports=function(l,i){for(var c,h=a.alloc(0),f=0;h.length&lt;i;)c=u(f++),h=a.concat([h,s(&quot;sha1&quot;).update(l).update(c).digest()]);return h.slice(0,i)}},{&quot;create-hash&quot;:386,&quot;safe-buffer&quot;:494}],470:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],471:[function(t,n,o){var s=t(&quot;parse-asn1&quot;),a=t(&quot;./mgf&quot;),u=t(&quot;./xor&quot;),l=t(&quot;bn.js&quot;),i=t(&quot;browserify-rsa&quot;),c=t(&quot;create-hash&quot;),h=t(&quot;./withPublic&quot;),f=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(d,v,y){var p;p=d.padding?d.padding:y?1:4;var b,x=s(d),_=x.modulus.byteLength();if(v.length&gt;_||new l(v).cmp(x.modulus)&gt;=0)throw new Error(&quot;decryption error&quot;);b=y?h(new l(v),x):i(v,x);var E=f.alloc(_-b.length);if(b=f.concat([E,b],_),p===4)return(function(M,D){var W=M.modulus.byteLength(),L=c(&quot;sha1&quot;).update(f.alloc(0)).digest(),V=L.length;if(D[0]!==0)throw new Error(&quot;decryption error&quot;);var H=D.slice(1,V+1),K=D.slice(V+1),z=u(H,a(K,V)),O=u(K,a(z,W-V-1));if((function(C,j){C=f.from(C),j=f.from(j);var k=0,S=C.length;C.length!==j.length&amp;&amp;(k++,S=Math.min(C.length,j.length));for(var N=-1;++N&lt;S;)k+=C[N]^j[N];return k})(L,O.slice(0,V)))throw new Error(&quot;decryption error&quot;);for(var I=V;O[I]===0;)I++;if(O[I++]!==1)throw new Error(&quot;decryption error&quot;);return O.slice(I)})(x,b);if(p===1)return(function(M,D,W){for(var L=D.slice(0,2),V=2,H=0;D[V++]!==0;)if(V&gt;=D.length){H++;break}var K=D.slice(2,V-1);if((L.toString(&quot;hex&quot;)!==&quot;0002&quot;&amp;&amp;!W||L.toString(&quot;hex&quot;)!==&quot;0001&quot;&amp;&amp;W)&amp;&amp;H++,K.length&lt;8&amp;&amp;H++,H)throw new Error(&quot;decryption error&quot;);return D.slice(V)})(0,b,y);if(p===3)return b;throw new Error(&quot;unknown padding&quot;)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],472:[function(t,n,o){var s=t(&quot;parse-asn1&quot;),a=t(&quot;randombytes&quot;),u=t(&quot;create-hash&quot;),l=t(&quot;./mgf&quot;),i=t(&quot;./xor&quot;),c=t(&quot;bn.js&quot;),h=t(&quot;./withPublic&quot;),f=t(&quot;browserify-rsa&quot;),d=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(v,y,p){var b;b=v.padding?v.padding:p?1:4;var x,_=s(v);if(b===4)x=(function(E,M){var D=E.modulus.byteLength(),W=M.length,L=u(&quot;sha1&quot;).update(d.alloc(0)).digest(),V=L.length,H=2*V;if(W&gt;D-H-2)throw new Error(&quot;message too long&quot;);var K=d.alloc(D-W-H-2),z=D-V-1,O=a(V),I=i(d.concat([L,K,d.alloc(1,1),M],z),l(O,z)),C=i(O,l(I,V));return new c(d.concat([d.alloc(1),C,I],D))})(_,y);else if(b===1)x=(function(E,M,D){var W,L=M.length,V=E.modulus.byteLength();if(L&gt;V-11)throw new Error(&quot;message too long&quot;);return W=D?d.alloc(V-L-3,255):(function(H){for(var K,z=d.allocUnsafe(H),O=0,I=a(2*H),C=0;O&lt;H;)C===I.length&amp;&amp;(I=a(2*H),C=0),(K=I[C++])&amp;&amp;(z[O++]=K);return z})(V-L-3),new c(d.concat([d.from([0,D?1:2]),W,d.alloc(1),M],V))})(_,y,p);else{if(b!==3)throw new Error(&quot;unknown padding&quot;);if((x=new c(y)).cmp(_.modulus)&gt;=0)throw new Error(&quot;data too long for modulus&quot;)}return p?f(x,_):h(x,_)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,randombytes:475,&quot;safe-buffer&quot;:494}],473:[function(t,n,o){var s=t(&quot;bn.js&quot;),a=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(u,l){return a.from(u.toRed(s.mont(l.modulus)).redPow(new s(l.publicExponent)).fromRed().toArray())}},{&quot;bn.js&quot;:470,&quot;safe-buffer&quot;:494}],474:[function(t,n,o){n.exports=function(s,a){for(var u=s.length,l=-1;++l&lt;u;)s[l]^=a[l];return s}},{}],475:[function(t,n,o){(function(s,a){(function(){var u=t(&quot;safe-buffer&quot;).Buffer,l=a.crypto||a.msCrypto;l&amp;&amp;l.getRandomValues?n.exports=function(i,c){if(i&gt;4294967295)throw new RangeError(&quot;requested too many random bytes&quot;);var h=u.allocUnsafe(i);if(i&gt;0)if(i&gt;65536)for(var f=0;f&lt;i;f+=65536)l.getRandomValues(h.slice(f,f+65536));else l.getRandomValues(h);return typeof c==&quot;function&quot;?s.nextTick((function(){c(null,h)})):h}: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 Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,&quot;safe-buffer&quot;:494}],476:[function(t,n,o){(function(s,a){(function(){function u(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var l=t(&quot;safe-buffer&quot;),i=t(&quot;randombytes&quot;),c=l.Buffer,h=l.kMaxLength,f=a.crypto||a.msCrypto,d=Math.pow(2,32)-1;function v(b,x){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;offset must be a number&quot;);if(b&gt;d||b&lt;0)throw new TypeError(&quot;offset must be a uint32&quot;);if(b&gt;h||b&gt;x)throw new RangeError(&quot;offset out of range&quot;)}function y(b,x,_){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;size must be a number&quot;);if(b&gt;d||b&lt;0)throw new TypeError(&quot;size must be a uint32&quot;);if(b+x&gt;_||b&gt;h)throw new RangeError(&quot;buffer too small&quot;)}function p(b,x,_,E){if(s.browser){var M=b.buffer,D=new Uint8Array(M,x,_);return f.getRandomValues(D),E?void s.nextTick((function(){E(null,b)})):b}if(!E)return i(_).copy(b,x),b;i(_,(function(W,L){if(W)return E(W);L.copy(b,x),E(null,b)}))}f&amp;&amp;f.getRandomValues||!s.browser?(o.randomFill=function(b,x,_,E){if(!(c.isBuffer(b)||b instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);if(typeof x==&quot;function&quot;)E=x,x=0,_=b.length;else if(typeof _==&quot;function&quot;)E=_,_=b.length-x;else if(typeof E!=&quot;function&quot;)throw new TypeError(&#039;&quot;cb&quot; argument must be a function&#039;);return v(x,b.length),y(_,x,b.length),p(b,x,_,E)},o.randomFillSync=function(b,x,_){if(x===void 0&amp;&amp;(x=0),!(c.isBuffer(b)||b instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);return v(x,b.length),_===void 0&amp;&amp;(_=b.length-x),y(_,x,b.length),p(b,x,_)}):(o.randomFill=u,o.randomFillSync=u)}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,randombytes:475,&quot;safe-buffer&quot;:494}],477:[function(t,n,o){var s={};function a(l,i,c){c||(c=Error);var h=(function(f){var d,v;function y(p,b,x){return f.call(this,(function(_,E,M){return typeof i==&quot;string&quot;?i:i(_,E,M)})(p,b,x))||this}return v=f,(d=y).prototype=Object.create(v.prototype),d.prototype.constructor=d,d.__proto__=v,y})(c);h.prototype.name=c.name,h.prototype.code=l,s[l]=h}function u(l,i){if(Array.isArray(l)){var c=l.length;return l=l.map((function(h){return String(h)})),c&gt;2?&quot;one of &quot;.concat(i,&quot; &quot;).concat(l.slice(0,c-1).join(&quot;, &quot;),&quot;, or &quot;)+l[c-1]:c===2?&quot;one of &quot;.concat(i,&quot; &quot;).concat(l[0],&quot; or &quot;).concat(l[1]):&quot;of &quot;.concat(i,&quot; &quot;).concat(l[0])}return&quot;of &quot;.concat(i,&quot; &quot;).concat(String(l))}a(&quot;ERR_INVALID_OPT_VALUE&quot;,(function(l,i){return&#039;The value &quot;&#039;+i+&#039;&quot; is invalid for option &quot;&#039;+l+&#039;&quot;&#039;}),TypeError),a(&quot;ERR_INVALID_ARG_TYPE&quot;,(function(l,i,c){var h,f,d;if(typeof i==&quot;string&quot;&amp;&amp;(f=&quot;not &quot;,i.substr(0,f.length)===f)?(h=&quot;must not be&quot;,i=i.replace(/^not /,&quot;&quot;)):h=&quot;must be&quot;,(function(y,p,b){return(b===void 0||b&gt;y.length)&amp;&amp;(b=y.length),y.substring(b-p.length,b)===p})(l,&quot; argument&quot;))d=&quot;The &quot;.concat(l,&quot; &quot;).concat(h,&quot; &quot;).concat(u(i,&quot;type&quot;));else{var v=(function(y,p,b){return typeof b!=&quot;number&quot;&amp;&amp;(b=0),!(b+p.length&gt;y.length)&amp;&amp;y.indexOf(p,b)!==-1})(l,&quot;.&quot;)?&quot;property&quot;:&quot;argument&quot;;d=&#039;The &quot;&#039;.concat(l,&#039;&quot; &#039;).concat(v,&quot; &quot;).concat(h,&quot; &quot;).concat(u(i,&quot;type&quot;))}return d+=&quot;. Received type &quot;.concat(typeof c)}),TypeError),a(&quot;ERR_STREAM_PUSH_AFTER_EOF&quot;,&quot;stream.push() after EOF&quot;),a(&quot;ERR_METHOD_NOT_IMPLEMENTED&quot;,(function(l){return&quot;The &quot;+l+&quot; method is not implemented&quot;})),a(&quot;ERR_STREAM_PREMATURE_CLOSE&quot;,&quot;Premature close&quot;),a(&quot;ERR_STREAM_DESTROYED&quot;,(function(l){return&quot;Cannot call &quot;+l+&quot; after a stream was destroyed&quot;})),a(&quot;ERR_MULTIPLE_CALLBACK&quot;,&quot;Callback called multiple times&quot;),a(&quot;ERR_STREAM_CANNOT_PIPE&quot;,&quot;Cannot pipe, not readable&quot;),a(&quot;ERR_STREAM_WRITE_AFTER_END&quot;,&quot;write after end&quot;),a(&quot;ERR_STREAM_NULL_VALUES&quot;,&quot;May not write null values to stream&quot;,TypeError),a(&quot;ERR_UNKNOWN_ENCODING&quot;,(function(l){return&quot;Unknown encoding: &quot;+l}),TypeError),a(&quot;ERR_STREAM_UNSHIFT_AFTER_END_EVENT&quot;,&quot;stream.unshift() after end event&quot;),n.exports.codes=s},{}],478:[function(t,n,o){(function(s){(function(){var a=Object.keys||function(y){var p=[];for(var b in y)p.push(b);return p};n.exports=f;var u=t(&quot;./_stream_readable&quot;),l=t(&quot;./_stream_writable&quot;);t(&quot;inherits&quot;)(f,u);for(var i=a(l.prototype),c=0;c&lt;i.length;c++){var h=i[c];f.prototype[h]||(f.prototype[h]=l.prototype[h])}function f(y){if(!(this instanceof f))return new f(y);u.call(this,y),l.call(this,y),this.allowHalfOpen=!0,y&amp;&amp;(y.readable===!1&amp;&amp;(this.readable=!1),y.writable===!1&amp;&amp;(this.writable=!1),y.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1,this.once(&quot;end&quot;,d)))}function d(){this._writableState.ended||s.nextTick(v,this)}function v(y){y.end()}Object.defineProperty(f.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(f.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(f.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(y){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=y,this._writableState.destroyed=y)}})}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./_stream_readable&quot;:480,&quot;./_stream_writable&quot;:482,_process:467,inherits:440}],479:[function(t,n,o){n.exports=a;var s=t(&quot;./_stream_transform&quot;);function a(u){if(!(this instanceof a))return new a(u);s.call(this,u)}t(&quot;inherits&quot;)(a,s),a.prototype._transform=function(u,l,i){i(null,u)}},{&quot;./_stream_transform&quot;:481,inherits:440}],480:[function(t,n,o){(function(s,a){(function(){var u;n.exports=z,z.ReadableState=K,t(&quot;events&quot;).EventEmitter;var l=function(F,P){return F.listeners(P).length},i=t(&quot;./internal/streams/stream&quot;),c=t(&quot;buffer&quot;).Buffer,h=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},f,d=t(&quot;util&quot;);f=d&amp;&amp;d.debuglog?d.debuglog(&quot;stream&quot;):function(){};var v,y,p,b=t(&quot;./internal/streams/buffer_list&quot;),x=t(&quot;./internal/streams/destroy&quot;),_=t(&quot;./internal/streams/state&quot;).getHighWaterMark,E=t(&quot;../errors&quot;).codes,M=E.ERR_INVALID_ARG_TYPE,D=E.ERR_STREAM_PUSH_AFTER_EOF,W=E.ERR_METHOD_NOT_IMPLEMENTED,L=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(&quot;inherits&quot;)(z,i);var V=x.errorOrDestroy,H=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function K(F,P,X){u=u||t(&quot;./_stream_duplex&quot;),F=F||{},typeof X!=&quot;boolean&quot;&amp;&amp;(X=P instanceof u),this.objectMode=!!F.objectMode,X&amp;&amp;(this.objectMode=this.objectMode||!!F.readableObjectMode),this.highWaterMark=_(this,F,&quot;readableHighWaterMark&quot;,X),this.buffer=new b,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=F.emitClose!==!1,this.autoDestroy=!!F.autoDestroy,this.destroyed=!1,this.defaultEncoding=F.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&amp;&amp;(v||(v=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new v(F.encoding),this.encoding=F.encoding)}function z(F){if(u=u||t(&quot;./_stream_duplex&quot;),!(this instanceof z))return new z(F);var P=this instanceof u;this._readableState=new K(F,this,P),this.readable=!0,F&amp;&amp;(typeof F.read==&quot;function&quot;&amp;&amp;(this._read=F.read),typeof F.destroy==&quot;function&quot;&amp;&amp;(this._destroy=F.destroy)),i.call(this)}function O(F,P,X,re,Q){f(&quot;readableAddChunk&quot;,P);var te,ae=F._readableState;if(P===null)ae.reading=!1,(function(ce,he){if(f(&quot;onEofChunk&quot;),!he.ended){if(he.decoder){var se=he.decoder.end();se&amp;&amp;se.length&amp;&amp;(he.buffer.push(se),he.length+=he.objectMode?1:se.length)}he.ended=!0,he.sync?j(ce):(he.needReadable=!1,he.emittedReadable||(he.emittedReadable=!0,k(ce)))}})(F,ae);else if(Q||(te=(function(ce,he){var se;de=he,c.isBuffer(de)||de instanceof h||typeof he==&quot;string&quot;||he===void 0||ce.objectMode||(se=new M(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;,&quot;Uint8Array&quot;],he));var de;return se})(ae,P)),te)V(F,te);else if(ae.objectMode||P&amp;&amp;P.length&gt;0)if(typeof P==&quot;string&quot;||ae.objectMode||Object.getPrototypeOf(P)===c.prototype||(P=(function(ce){return c.from(ce)})(P)),re)ae.endEmitted?V(F,new L):I(F,ae,P,!0);else if(ae.ended)V(F,new D);else{if(ae.destroyed)return!1;ae.reading=!1,ae.decoder&amp;&amp;!X?(P=ae.decoder.write(P),ae.objectMode||P.length!==0?I(F,ae,P,!1):S(F,ae)):I(F,ae,P,!1)}else re||(ae.reading=!1,S(F,ae));return!ae.ended&amp;&amp;(ae.length&lt;ae.highWaterMark||ae.length===0)}function I(F,P,X,re){P.flowing&amp;&amp;P.length===0&amp;&amp;!P.sync?(P.awaitDrain=0,F.emit(&quot;data&quot;,X)):(P.length+=P.objectMode?1:X.length,re?P.buffer.unshift(X):P.buffer.push(X),P.needReadable&amp;&amp;j(F)),S(F,P)}Object.defineProperty(z.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(F){this._readableState&amp;&amp;(this._readableState.destroyed=F)}}),z.prototype.destroy=x.destroy,z.prototype._undestroy=x.undestroy,z.prototype._destroy=function(F,P){P(F)},z.prototype.push=function(F,P){var X,re=this._readableState;return re.objectMode?X=!0:typeof F==&quot;string&quot;&amp;&amp;((P=P||re.defaultEncoding)!==re.encoding&amp;&amp;(F=c.from(F,P),P=&quot;&quot;),X=!0),O(this,F,P,!1,X)},z.prototype.unshift=function(F){return O(this,F,null,!0,!1)},z.prototype.isPaused=function(){return this._readableState.flowing===!1},z.prototype.setEncoding=function(F){v||(v=t(&quot;string_decoder/&quot;).StringDecoder);var P=new v(F);this._readableState.decoder=P,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,re=&quot;&quot;;X!==null;)re+=P.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 C(F,P){return F&lt;=0||P.length===0&amp;&amp;P.ended?0:P.objectMode?1:F!=F?P.flowing&amp;&amp;P.length?P.buffer.head.data.length:P.length:(F&gt;P.highWaterMark&amp;&amp;(P.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})(F)),F&lt;=P.length?F:P.ended?P.length:(P.needReadable=!0,0))}function j(F){var P=F._readableState;f(&quot;emitReadable&quot;,P.needReadable,P.emittedReadable),P.needReadable=!1,P.emittedReadable||(f(&quot;emitReadable&quot;,P.flowing),P.emittedReadable=!0,s.nextTick(k,F))}function k(F){var P=F._readableState;f(&quot;emitReadable_&quot;,P.destroyed,P.length,P.ended),P.destroyed||!P.length&amp;&amp;!P.ended||(F.emit(&quot;readable&quot;),P.emittedReadable=!1),P.needReadable=!P.flowing&amp;&amp;!P.ended&amp;&amp;P.length&lt;=P.highWaterMark,Y(F)}function S(F,P){P.readingMore||(P.readingMore=!0,s.nextTick(N,F,P))}function N(F,P){for(;!P.reading&amp;&amp;!P.ended&amp;&amp;(P.length&lt;P.highWaterMark||P.flowing&amp;&amp;P.length===0);){var X=P.length;if(f(&quot;maybeReadMore read 0&quot;),F.read(0),X===P.length)break}P.readingMore=!1}function T(F){var P=F._readableState;P.readableListening=F.listenerCount(&quot;readable&quot;)&gt;0,P.resumeScheduled&amp;&amp;!P.paused?P.flowing=!0:F.listenerCount(&quot;data&quot;)&gt;0&amp;&amp;F.resume()}function R(F){f(&quot;readable nexttick read 0&quot;),F.read(0)}function B(F,P){f(&quot;resume&quot;,P.reading),P.reading||F.read(0),P.resumeScheduled=!1,F.emit(&quot;resume&quot;),Y(F),P.flowing&amp;&amp;!P.reading&amp;&amp;F.read(0)}function Y(F){var P=F._readableState;for(f(&quot;flow&quot;,P.flowing);P.flowing&amp;&amp;F.read()!==null;);}function Z(F,P){return P.length===0?null:(P.objectMode?X=P.buffer.shift():!F||F&gt;=P.length?(X=P.decoder?P.buffer.join(&quot;&quot;):P.buffer.length===1?P.buffer.first():P.buffer.concat(P.length),P.buffer.clear()):X=P.buffer.consume(F,P.decoder),X);var X}function ne(F){var P=F._readableState;f(&quot;endReadable&quot;,P.endEmitted),P.endEmitted||(P.ended=!0,s.nextTick(U,P,F))}function U(F,P){if(f(&quot;endReadableNT&quot;,F.endEmitted,F.length),!F.endEmitted&amp;&amp;F.length===0&amp;&amp;(F.endEmitted=!0,P.readable=!1,P.emit(&quot;end&quot;),F.autoDestroy)){var X=P._writableState;(!X||X.autoDestroy&amp;&amp;X.finished)&amp;&amp;P.destroy()}}function ee(F,P){for(var X=0,re=F.length;X&lt;re;X++)if(F[X]===P)return X;return-1}z.prototype.read=function(F){f(&quot;read&quot;,F),F=parseInt(F,10);var P=this._readableState,X=F;if(F!==0&amp;&amp;(P.emittedReadable=!1),F===0&amp;&amp;P.needReadable&amp;&amp;((P.highWaterMark!==0?P.length&gt;=P.highWaterMark:P.length&gt;0)||P.ended))return f(&quot;read: emitReadable&quot;,P.length,P.ended),P.length===0&amp;&amp;P.ended?ne(this):j(this),null;if((F=C(F,P))===0&amp;&amp;P.ended)return P.length===0&amp;&amp;ne(this),null;var re,Q=P.needReadable;return f(&quot;need readable&quot;,Q),(P.length===0||P.length-F&lt;P.highWaterMark)&amp;&amp;f(&quot;length less than watermark&quot;,Q=!0),P.ended||P.reading?f(&quot;reading or ended&quot;,Q=!1):Q&amp;&amp;(f(&quot;do read&quot;),P.reading=!0,P.sync=!0,P.length===0&amp;&amp;(P.needReadable=!0),this._read(P.highWaterMark),P.sync=!1,P.reading||(F=C(X,P))),(re=F&gt;0?Z(F,P):null)===null?(P.needReadable=P.length&lt;=P.highWaterMark,F=0):(P.length-=F,P.awaitDrain=0),P.length===0&amp;&amp;(P.ended||(P.needReadable=!0),X!==F&amp;&amp;P.ended&amp;&amp;ne(this)),re!==null&amp;&amp;this.emit(&quot;data&quot;,re),re},z.prototype._read=function(F){V(this,new W(&quot;_read()&quot;))},z.prototype.pipe=function(F,P){var X=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=F;break;case 1:re.pipes=[re.pipes,F];break;default:re.pipes.push(F)}re.pipesCount+=1,f(&quot;pipe count=%d opts=%j&quot;,re.pipesCount,P);var Q=(!P||P.end!==!1)&amp;&amp;F!==s.stdout&amp;&amp;F!==s.stderr?ae:ve;function te(ge,le){f(&quot;onunpipe&quot;),ge===X&amp;&amp;le&amp;&amp;le.hasUnpiped===!1&amp;&amp;(le.hasUnpiped=!0,f(&quot;cleanup&quot;),F.removeListener(&quot;close&quot;,ie),F.removeListener(&quot;finish&quot;,me),F.removeListener(&quot;drain&quot;,ce),F.removeListener(&quot;error&quot;,de),F.removeListener(&quot;unpipe&quot;,te),X.removeListener(&quot;end&quot;,ae),X.removeListener(&quot;end&quot;,ve),X.removeListener(&quot;data&quot;,se),he=!0,!re.awaitDrain||F._writableState&amp;&amp;!F._writableState.needDrain||ce())}function ae(){f(&quot;onend&quot;),F.end()}re.endEmitted?s.nextTick(Q):X.once(&quot;end&quot;,Q),F.on(&quot;unpipe&quot;,te);var ce=(function(ge){return function(){var le=ge._readableState;f(&quot;pipeOnDrain&quot;,le.awaitDrain),le.awaitDrain&amp;&amp;le.awaitDrain--,le.awaitDrain===0&amp;&amp;l(ge,&quot;data&quot;)&amp;&amp;(le.flowing=!0,Y(ge))}})(X);F.on(&quot;drain&quot;,ce);var he=!1;function se(ge){f(&quot;ondata&quot;);var le=F.write(ge);f(&quot;dest.write&quot;,le),le===!1&amp;&amp;((re.pipesCount===1&amp;&amp;re.pipes===F||re.pipesCount&gt;1&amp;&amp;ee(re.pipes,F)!==-1)&amp;&amp;!he&amp;&amp;(f(&quot;false write response, pause&quot;,re.awaitDrain),re.awaitDrain++),X.pause())}function de(ge){f(&quot;onerror&quot;,ge),ve(),F.removeListener(&quot;error&quot;,de),l(F,&quot;error&quot;)===0&amp;&amp;V(F,ge)}function ie(){F.removeListener(&quot;finish&quot;,me),ve()}function me(){f(&quot;onfinish&quot;),F.removeListener(&quot;close&quot;,ie),ve()}function ve(){f(&quot;unpipe&quot;),X.unpipe(F)}return X.on(&quot;data&quot;,se),(function(ge,le,_e){if(typeof ge.prependListener==&quot;function&quot;)return ge.prependListener(le,_e);ge._events&amp;&amp;ge._events[le]?Array.isArray(ge._events[le])?ge._events[le].unshift(_e):ge._events[le]=[_e,ge._events[le]]:ge.on(le,_e)})(F,&quot;error&quot;,de),F.once(&quot;close&quot;,ie),F.once(&quot;finish&quot;,me),F.emit(&quot;pipe&quot;,X),re.flowing||(f(&quot;pipe resume&quot;),X.resume()),F},z.prototype.unpipe=function(F){var P=this._readableState,X={hasUnpiped:!1};if(P.pipesCount===0)return this;if(P.pipesCount===1)return F&amp;&amp;F!==P.pipes||(F||(F=P.pipes),P.pipes=null,P.pipesCount=0,P.flowing=!1,F&amp;&amp;F.emit(&quot;unpipe&quot;,this,X)),this;if(!F){var re=P.pipes,Q=P.pipesCount;P.pipes=null,P.pipesCount=0,P.flowing=!1;for(var te=0;te&lt;Q;te++)re[te].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ae=ee(P.pipes,F);return ae===-1||(P.pipes.splice(ae,1),P.pipesCount-=1,P.pipesCount===1&amp;&amp;(P.pipes=P.pipes[0]),F.emit(&quot;unpipe&quot;,this,X)),this},z.prototype.on=function(F,P){var X=i.prototype.on.call(this,F,P),re=this._readableState;return F===&quot;data&quot;?(re.readableListening=this.listenerCount(&quot;readable&quot;)&gt;0,re.flowing!==!1&amp;&amp;this.resume()):F===&quot;readable&quot;&amp;&amp;(re.endEmitted||re.readableListening||(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,f(&quot;on readable&quot;,re.length,re.reading),re.length?j(this):re.reading||s.nextTick(R,this))),X},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(F,P){var X=i.prototype.removeListener.call(this,F,P);return F===&quot;readable&quot;&amp;&amp;s.nextTick(T,this),X},z.prototype.removeAllListeners=function(F){var P=i.prototype.removeAllListeners.apply(this,arguments);return F!==&quot;readable&quot;&amp;&amp;F!==void 0||s.nextTick(T,this),P},z.prototype.resume=function(){var F=this._readableState;return F.flowing||(f(&quot;resume&quot;),F.flowing=!F.readableListening,(function(P,X){X.resumeScheduled||(X.resumeScheduled=!0,s.nextTick(B,P,X))})(this,F)),F.paused=!1,this},z.prototype.pause=function(){return f(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(f(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this._readableState.paused=!0,this},z.prototype.wrap=function(F){var P=this,X=this._readableState,re=!1;for(var Q in F.on(&quot;end&quot;,(function(){if(f(&quot;wrapped end&quot;),X.decoder&amp;&amp;!X.ended){var ae=X.decoder.end();ae&amp;&amp;ae.length&amp;&amp;P.push(ae)}P.push(null)})),F.on(&quot;data&quot;,(function(ae){f(&quot;wrapped data&quot;),X.decoder&amp;&amp;(ae=X.decoder.write(ae)),X.objectMode&amp;&amp;ae==null||(X.objectMode||ae&amp;&amp;ae.length)&amp;&amp;(P.push(ae)||(re=!0,F.pause()))})),F)this[Q]===void 0&amp;&amp;typeof F[Q]==&quot;function&quot;&amp;&amp;(this[Q]=(function(ae){return function(){return F[ae].apply(F,arguments)}})(Q));for(var te=0;te&lt;H.length;te++)F.on(H[te],this.emit.bind(this,H[te]));return this._read=function(ae){f(&quot;wrapped _read&quot;,ae),re&amp;&amp;(re=!1,F.resume())},this},typeof Symbol==&quot;function&quot;&amp;&amp;(z.prototype[Symbol.asyncIterator]=function(){return y===void 0&amp;&amp;(y=t(&quot;./internal/streams/async_iterator&quot;)),y(this)}),Object.defineProperty(z.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(z.prototype,&quot;readableBuffer&quot;,{enumerable:!1,get:function(){return this._readableState&amp;&amp;this._readableState.buffer}}),Object.defineProperty(z.prototype,&quot;readableFlowing&quot;,{enumerable:!1,get:function(){return this._readableState.flowing},set:function(F){this._readableState&amp;&amp;(this._readableState.flowing=F)}}),z._fromList=Z,Object.defineProperty(z.prototype,&quot;readableLength&quot;,{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol==&quot;function&quot;&amp;&amp;(z.from=function(F,P){return p===void 0&amp;&amp;(p=t(&quot;./internal/streams/from&quot;)),p(z,F,P)})}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/async_iterator&quot;:483,&quot;./internal/streams/buffer_list&quot;:484,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/from&quot;:487,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,events:422,inherits:440,&quot;string_decoder/&quot;:522,util:188}],481:[function(t,n,o){n.exports=f;var s=t(&quot;../errors&quot;).codes,a=s.ERR_METHOD_NOT_IMPLEMENTED,u=s.ERR_MULTIPLE_CALLBACK,l=s.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=s.ERR_TRANSFORM_WITH_LENGTH_0,c=t(&quot;./_stream_duplex&quot;);function h(y,p){var b=this._transformState;b.transforming=!1;var x=b.writecb;if(x===null)return this.emit(&quot;error&quot;,new u);b.writechunk=null,b.writecb=null,p!=null&amp;&amp;this.push(p),x(y);var _=this._readableState;_.reading=!1,(_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}function f(y){if(!(this instanceof f))return new f(y);c.call(this,y),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&amp;&amp;(typeof y.transform==&quot;function&quot;&amp;&amp;(this._transform=y.transform),typeof y.flush==&quot;function&quot;&amp;&amp;(this._flush=y.flush)),this.on(&quot;prefinish&quot;,d)}function d(){var y=this;typeof this._flush!=&quot;function&quot;||this._readableState.destroyed?v(this,null,null):this._flush((function(p,b){v(y,p,b)}))}function v(y,p,b){if(p)return y.emit(&quot;error&quot;,p);if(b!=null&amp;&amp;y.push(b),y._writableState.length)throw new i;if(y._transformState.transforming)throw new l;return y.push(null)}t(&quot;inherits&quot;)(f,c),f.prototype.push=function(y,p){return this._transformState.needTransform=!1,c.prototype.push.call(this,y,p)},f.prototype._transform=function(y,p,b){b(new a(&quot;_transform()&quot;))},f.prototype._write=function(y,p,b){var x=this._transformState;if(x.writecb=b,x.writechunk=y,x.writeencoding=p,!x.transforming){var _=this._readableState;(x.needTransform||_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}},f.prototype._read=function(y){var p=this._transformState;p.writechunk===null||p.transforming?p.needTransform=!0:(p.transforming=!0,this._transform(p.writechunk,p.writeencoding,p.afterTransform))},f.prototype._destroy=function(y,p){c.prototype._destroy.call(this,y,(function(b){p(b)}))}},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,inherits:440}],482:[function(t,n,o){(function(s,a){(function(){function u(N){var T=this;this.next=null,this.entry=null,this.finish=function(){(function(R,B,Y){var Z=R.entry;for(R.entry=null;Z;){var ne=Z.callback;B.pendingcb--,ne(Y),Z=Z.next}B.corkedRequestsFree.next=R})(T,N)}}var l;n.exports=z,z.WritableState=K;var i={deprecate:t(&quot;util-deprecate&quot;)},c=t(&quot;./internal/streams/stream&quot;),h=t(&quot;buffer&quot;).Buffer,f=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},d,v=t(&quot;./internal/streams/destroy&quot;),y=t(&quot;./internal/streams/state&quot;).getHighWaterMark,p=t(&quot;../errors&quot;).codes,b=p.ERR_INVALID_ARG_TYPE,x=p.ERR_METHOD_NOT_IMPLEMENTED,_=p.ERR_MULTIPLE_CALLBACK,E=p.ERR_STREAM_CANNOT_PIPE,M=p.ERR_STREAM_DESTROYED,D=p.ERR_STREAM_NULL_VALUES,W=p.ERR_STREAM_WRITE_AFTER_END,L=p.ERR_UNKNOWN_ENCODING,V=v.errorOrDestroy;function H(){}function K(N,T,R){l=l||t(&quot;./_stream_duplex&quot;),N=N||{},typeof R!=&quot;boolean&quot;&amp;&amp;(R=T instanceof l),this.objectMode=!!N.objectMode,R&amp;&amp;(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=y(this,N,&quot;writableHighWaterMark&quot;,R),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=N.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=N.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Y){(function(Z,ne){var U=Z._writableState,ee=U.sync,F=U.writecb;if(typeof F!=&quot;function&quot;)throw new _;if((function(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0})(U),ne)(function(X,re,Q,te,ae){--re.pendingcb,Q?(s.nextTick(ae,te),s.nextTick(S,X,re),X._writableState.errorEmitted=!0,V(X,te)):(ae(te),X._writableState.errorEmitted=!0,V(X,te),S(X,re))})(Z,U,ee,ne,F);else{var P=j(U)||Z.destroyed;P||U.corked||U.bufferProcessing||!U.bufferedRequest||C(Z,U),ee?s.nextTick(I,Z,U,P,F):I(Z,U,P,F)}})(T,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 z(N){var T=this instanceof(l=l||t(&quot;./_stream_duplex&quot;));if(!T&amp;&amp;!d.call(z,this))return new z(N);this._writableState=new K(N,this,T),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)),c.call(this)}function O(N,T,R,B,Y,Z,ne){T.writelen=B,T.writecb=ne,T.writing=!0,T.sync=!0,T.destroyed?T.onwrite(new M(&quot;write&quot;)):R?N._writev(Y,T.onwrite):N._write(Y,Z,T.onwrite),T.sync=!1}function I(N,T,R,B){R||(function(Y,Z){Z.length===0&amp;&amp;Z.needDrain&amp;&amp;(Z.needDrain=!1,Y.emit(&quot;drain&quot;))})(N,T),T.pendingcb--,B(),S(N,T)}function C(N,T){T.bufferProcessing=!0;var R=T.bufferedRequest;if(N._writev&amp;&amp;R&amp;&amp;R.next){var B=T.bufferedRequestCount,Y=new Array(B),Z=T.corkedRequestsFree;Z.entry=R;for(var ne=0,U=!0;R;)Y[ne]=R,R.isBuf||(U=!1),R=R.next,ne+=1;Y.allBuffers=U,O(N,T,!0,T.length,Y,&quot;&quot;,Z.finish),T.pendingcb++,T.lastBufferedRequest=null,Z.next?(T.corkedRequestsFree=Z.next,Z.next=null):T.corkedRequestsFree=new u(T),T.bufferedRequestCount=0}else{for(;R;){var ee=R.chunk,F=R.encoding,P=R.callback;if(O(N,T,!1,T.objectMode?1:ee.length,ee,F,P),R=R.next,T.bufferedRequestCount--,T.writing)break}R===null&amp;&amp;(T.lastBufferedRequest=null)}T.bufferedRequest=R,T.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,T){N._final((function(R){T.pendingcb--,R&amp;&amp;V(N,R),T.prefinished=!0,N.emit(&quot;prefinish&quot;),S(N,T)}))}function S(N,T){var R=j(T);if(R&amp;&amp;((function(Y,Z){Z.prefinished||Z.finalCalled||(typeof Y._final!=&quot;function&quot;||Z.destroyed?(Z.prefinished=!0,Y.emit(&quot;prefinish&quot;)):(Z.pendingcb++,Z.finalCalled=!0,s.nextTick(k,Y,Z)))})(N,T),T.pendingcb===0&amp;&amp;(T.finished=!0,N.emit(&quot;finish&quot;),T.autoDestroy))){var B=N._readableState;(!B||B.autoDestroy&amp;&amp;B.endEmitted)&amp;&amp;N.destroy()}return R}t(&quot;inherits&quot;)(z,c),K.prototype.getBuffer=function(){for(var N=this.bufferedRequest,T=[];N;)T.push(N),N=N.next;return T},(function(){try{Object.defineProperty(K.prototype,&quot;buffer&quot;,{get:i.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;?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(N){return!!d.call(this,N)||this===z&amp;&amp;N&amp;&amp;N._writableState instanceof K}})):d=function(N){return N instanceof this},z.prototype.pipe=function(){V(this,new E)},z.prototype.write=function(N,T,R){var B,Y=this._writableState,Z=!1,ne=!Y.objectMode&amp;&amp;(B=N,h.isBuffer(B)||B instanceof f);return ne&amp;&amp;!h.isBuffer(N)&amp;&amp;(N=(function(U){return h.from(U)})(N)),typeof T==&quot;function&quot;&amp;&amp;(R=T,T=null),ne?T=&quot;buffer&quot;:T||(T=Y.defaultEncoding),typeof R!=&quot;function&quot;&amp;&amp;(R=H),Y.ending?(function(U,ee){var F=new W;V(U,F),s.nextTick(ee,F)})(this,R):(ne||(function(U,ee,F,P){var X;return F===null?X=new D:typeof F==&quot;string&quot;||ee.objectMode||(X=new b(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;],F)),!X||(V(U,X),s.nextTick(P,X),!1)})(this,Y,N,R))&amp;&amp;(Y.pendingcb++,Z=(function(U,ee,F,P,X,re){if(!F){var Q=(function(he,se,de){return he.objectMode||he.decodeStrings===!1||typeof se!=&quot;string&quot;||(se=h.from(se,de)),se})(ee,P,X);P!==Q&amp;&amp;(F=!0,X=&quot;buffer&quot;,P=Q)}var te=ee.objectMode?1:P.length;ee.length+=te;var ae=ee.length&lt;ee.highWaterMark;if(ae||(ee.needDrain=!0),ee.writing||ee.corked){var ce=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:P,encoding:X,isBuf:F,callback:re,next:null},ce?ce.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else O(U,ee,!1,te,P,X,re);return ae})(this,Y,ne,N,T,R)),Z},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var N=this._writableState;N.corked&amp;&amp;(N.corked--,N.writing||N.corked||N.bufferProcessing||!N.bufferedRequest||C(this,N))},z.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 L(N);return this._writableState.defaultEncoding=N,this},Object.defineProperty(z.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(z.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),z.prototype._write=function(N,T,R){R(new x(&quot;_write()&quot;))},z.prototype._writev=null,z.prototype.end=function(N,T,R){var B=this._writableState;return typeof N==&quot;function&quot;?(R=N,N=null,T=null):typeof T==&quot;function&quot;&amp;&amp;(R=T,T=null),N!=null&amp;&amp;this.write(N,T),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?s.nextTick(ne):Y.once(&quot;finish&quot;,ne)),Z.ended=!0,Y.writable=!1})(this,B,R),this},Object.defineProperty(z.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(z.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)}}),z.prototype.destroy=v.destroy,z.prototype._undestroy=v.undestroy,z.prototype._destroy=function(N,T){T(N)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,inherits:440,&quot;util-deprecate&quot;:524}],483:[function(t,n,o){(function(s){(function(){var a;function u(M,D,W){return(D=(function(L){var V=(function(H,K){if(typeof H!=&quot;object&quot;||H===null)return H;var z=H[Symbol.toPrimitive];if(z!==void 0){var O=z.call(H,K);if(typeof O!=&quot;object&quot;)return O;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(K===&quot;string&quot;?String:Number)(H)})(L,&quot;string&quot;);return typeof V==&quot;symbol&quot;?V:String(V)})(D))in M?Object.defineProperty(M,D,{value:W,enumerable:!0,configurable:!0,writable:!0}):M[D]=W,M}var l=t(&quot;./end-of-stream&quot;),i=Symbol(&quot;lastResolve&quot;),c=Symbol(&quot;lastReject&quot;),h=Symbol(&quot;error&quot;),f=Symbol(&quot;ended&quot;),d=Symbol(&quot;lastPromise&quot;),v=Symbol(&quot;handlePromise&quot;),y=Symbol(&quot;stream&quot;);function p(M,D){return{value:M,done:D}}function b(M){var D=M[i];if(D!==null){var W=M[y].read();W!==null&amp;&amp;(M[d]=null,M[i]=null,M[c]=null,D(p(W,!1)))}}function x(M){s.nextTick(b,M)}var _=Object.getPrototypeOf((function(){})),E=Object.setPrototypeOf((u(a={get stream(){return this[y]},next:function(){var M=this,D=this[h];if(D!==null)return Promise.reject(D);if(this[f])return Promise.resolve(p(void 0,!0));if(this[y].destroyed)return new Promise((function(H,K){s.nextTick((function(){M[h]?K(M[h]):H(p(void 0,!0))}))}));var W,L=this[d];if(L)W=new Promise((function(H,K){return function(z,O){H.then((function(){K[f]?z(p(void 0,!0)):K[v](z,O)}),O)}})(L,this));else{var V=this[y].read();if(V!==null)return Promise.resolve(p(V,!1));W=new Promise(this[v])}return this[d]=W,W}},Symbol.asyncIterator,(function(){return this})),u(a,&quot;return&quot;,(function(){var M=this;return new Promise((function(D,W){M[y].destroy(null,(function(L){L?W(L):D(p(void 0,!0))}))}))})),a),_);n.exports=function(M){var D,W=Object.create(E,(u(D={},y,{value:M,writable:!0}),u(D,i,{value:null,writable:!0}),u(D,c,{value:null,writable:!0}),u(D,h,{value:null,writable:!0}),u(D,f,{value:M._readableState.endEmitted,writable:!0}),u(D,v,{value:function(L,V){var H=W[y].read();H?(W[d]=null,W[i]=null,W[c]=null,L(p(H,!1))):(W[i]=L,W[c]=V)},writable:!0}),D));return W[d]=null,l(M,(function(L){if(L&amp;&amp;L.code!==&quot;ERR_STREAM_PREMATURE_CLOSE&quot;){var V=W[c];return V!==null&amp;&amp;(W[d]=null,W[i]=null,W[c]=null,V(L)),void(W[h]=L)}var H=W[i];H!==null&amp;&amp;(W[d]=null,W[i]=null,W[c]=null,H(p(void 0,!0))),W[f]=!0})),M.on(&quot;readable&quot;,x.bind(null,W)),W}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./end-of-stream&quot;:486,_process:467}],484:[function(t,n,o){function s(d,v){var y=Object.keys(d);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(d);v&amp;&amp;(p=p.filter((function(b){return Object.getOwnPropertyDescriptor(d,b).enumerable}))),y.push.apply(y,p)}return y}function a(d){for(var v=1;v&lt;arguments.length;v++){var y=arguments[v]!=null?arguments[v]:{};v%2?s(Object(y),!0).forEach((function(p){u(d,p,y[p])})):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(y)):s(Object(y)).forEach((function(p){Object.defineProperty(d,p,Object.getOwnPropertyDescriptor(y,p))}))}return d}function u(d,v,y){return(v=i(v))in d?Object.defineProperty(d,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):d[v]=y,d}function l(d,v){for(var y=0;y&lt;v.length;y++){var p=v[y];p.enumerable=p.enumerable||!1,p.configurable=!0,&quot;value&quot;in p&amp;&amp;(p.writable=!0),Object.defineProperty(d,i(p.key),p)}}function i(d){var v=(function(y,p){if(typeof y!=&quot;object&quot;||y===null)return y;var b=y[Symbol.toPrimitive];if(b!==void 0){var x=b.call(y,p);if(typeof x!=&quot;object&quot;)return x;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(p===&quot;string&quot;?String:Number)(y)})(d,&quot;string&quot;);return typeof v==&quot;symbol&quot;?v:String(v)}var c=t(&quot;buffer&quot;).Buffer,h=t(&quot;util&quot;).inspect,f=h&amp;&amp;h.custom||&quot;inspect&quot;;n.exports=(function(){function d(){(function(p,b){if(!(p instanceof b))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,d),this.head=null,this.tail=null,this.length=0}var v,y;return v=d,(y=[{key:&quot;push&quot;,value:function(p){var b={data:p,next:null};this.length&gt;0?this.tail.next=b:this.head=b,this.tail=b,++this.length}},{key:&quot;unshift&quot;,value:function(p){var b={data:p,next:this.head};this.length===0&amp;&amp;(this.tail=b),this.head=b,++this.length}},{key:&quot;shift&quot;,value:function(){if(this.length!==0){var p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:&quot;clear&quot;,value:function(){this.head=this.tail=null,this.length=0}},{key:&quot;join&quot;,value:function(p){if(this.length===0)return&quot;&quot;;for(var b=this.head,x=&quot;&quot;+b.data;b=b.next;)x+=p+b.data;return x}},{key:&quot;concat&quot;,value:function(p){if(this.length===0)return c.alloc(0);for(var b,x,_,E=c.allocUnsafe(p&gt;&gt;&gt;0),M=this.head,D=0;M;)b=M.data,x=E,_=D,c.prototype.copy.call(b,x,_),D+=M.data.length,M=M.next;return E}},{key:&quot;consume&quot;,value:function(p,b){var x;return p&lt;this.head.data.length?(x=this.head.data.slice(0,p),this.head.data=this.head.data.slice(p)):x=p===this.head.data.length?this.shift():b?this._getString(p):this._getBuffer(p),x}},{key:&quot;first&quot;,value:function(){return this.head.data}},{key:&quot;_getString&quot;,value:function(p){var b=this.head,x=1,_=b.data;for(p-=_.length;b=b.next;){var E=b.data,M=p&gt;E.length?E.length:p;if(M===E.length?_+=E:_+=E.slice(0,p),(p-=M)==0){M===E.length?(++x,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=E.slice(M));break}++x}return this.length-=x,_}},{key:&quot;_getBuffer&quot;,value:function(p){var b=c.allocUnsafe(p),x=this.head,_=1;for(x.data.copy(b),p-=x.data.length;x=x.next;){var E=x.data,M=p&gt;E.length?E.length:p;if(E.copy(b,b.length-p,0,M),(p-=M)==0){M===E.length?(++_,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=E.slice(M));break}++_}return this.length-=_,b}},{key:f,value:function(p,b){return h(this,a(a({},b),{},{depth:0,customInspect:!1}))}}])&amp;&amp;l(v.prototype,y),Object.defineProperty(v,&quot;prototype&quot;,{writable:!1}),d})()},{buffer:220,util:188}],485:[function(t,n,o){(function(s){(function(){function a(i,c){l(i,c),u(i)}function u(i){i._writableState&amp;&amp;!i._writableState.emitClose||i._readableState&amp;&amp;!i._readableState.emitClose||i.emit(&quot;close&quot;)}function l(i,c){i.emit(&quot;error&quot;,c)}n.exports={destroy:function(i,c){var h=this,f=this._readableState&amp;&amp;this._readableState.destroyed,d=this._writableState&amp;&amp;this._writableState.destroyed;return f||d?(c?c(i):i&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,s.nextTick(l,this,i)):s.nextTick(l,this,i)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(i||null,(function(v){!c&amp;&amp;v?h._writableState?h._writableState.errorEmitted?s.nextTick(u,h):(h._writableState.errorEmitted=!0,s.nextTick(a,h,v)):s.nextTick(a,h,v):c?(s.nextTick(u,h),c(v)):s.nextTick(u,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)},errorOrDestroy:function(i,c){var h=i._readableState,f=i._writableState;h&amp;&amp;h.autoDestroy||f&amp;&amp;f.autoDestroy?i.destroy(c):i.emit(&quot;error&quot;,c)}}}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],486:[function(t,n,o){var s=t(&quot;../../../errors&quot;).codes.ERR_STREAM_PREMATURE_CLOSE;function a(){}n.exports=function u(l,i,c){if(typeof i==&quot;function&quot;)return u(l,null,i);i||(i={}),c=(function(M){var D=!1;return function(){if(!D){D=!0;for(var W=arguments.length,L=new Array(W),V=0;V&lt;W;V++)L[V]=arguments[V];M.apply(this,L)}}})(c||a);var h=i.readable||i.readable!==!1&amp;&amp;l.readable,f=i.writable||i.writable!==!1&amp;&amp;l.writable,d=function(){l.writable||y()},v=l._writableState&amp;&amp;l._writableState.finished,y=function(){f=!1,v=!0,h||c.call(l)},p=l._readableState&amp;&amp;l._readableState.endEmitted,b=function(){h=!1,p=!0,f||c.call(l)},x=function(M){c.call(l,M)},_=function(){var M;return h&amp;&amp;!p?(l._readableState&amp;&amp;l._readableState.ended||(M=new s),c.call(l,M)):f&amp;&amp;!v?(l._writableState&amp;&amp;l._writableState.ended||(M=new s),c.call(l,M)):void 0},E=function(){l.req.on(&quot;finish&quot;,y)};return(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(l)?(l.on(&quot;complete&quot;,y),l.on(&quot;abort&quot;,_),l.req?E():l.on(&quot;request&quot;,E)):f&amp;&amp;!l._writableState&amp;&amp;(l.on(&quot;end&quot;,d),l.on(&quot;close&quot;,d)),l.on(&quot;end&quot;,b),l.on(&quot;finish&quot;,y),i.error!==!1&amp;&amp;l.on(&quot;error&quot;,x),l.on(&quot;close&quot;,_),function(){l.removeListener(&quot;complete&quot;,y),l.removeListener(&quot;abort&quot;,_),l.removeListener(&quot;request&quot;,E),l.req&amp;&amp;l.req.removeListener(&quot;finish&quot;,y),l.removeListener(&quot;end&quot;,d),l.removeListener(&quot;close&quot;,d),l.removeListener(&quot;finish&quot;,y),l.removeListener(&quot;end&quot;,b),l.removeListener(&quot;error&quot;,x),l.removeListener(&quot;close&quot;,_)}}},{&quot;../../../errors&quot;:477}],487:[function(t,n,o){n.exports=function(){throw new Error(&quot;Readable.from is not available in the browser&quot;)}},{}],488:[function(t,n,o){var s,a=t(&quot;../../../errors&quot;).codes,u=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function i(v){if(v)throw v}function c(v,y,p,b){b=(function(E){var M=!1;return function(){M||(M=!0,E.apply(void 0,arguments))}})(b);var x=!1;v.on(&quot;close&quot;,(function(){x=!0})),s===void 0&amp;&amp;(s=t(&quot;./end-of-stream&quot;)),s(v,{readable:y,writable:p},(function(E){if(E)return b(E);x=!0,b()}));var _=!1;return function(E){if(!x&amp;&amp;!_)return _=!0,(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(v)?v.abort():typeof v.destroy==&quot;function&quot;?v.destroy():void b(E||new l(&quot;pipe&quot;))}}function h(v){v()}function f(v,y){return v.pipe(y)}function d(v){return v.length?typeof v[v.length-1]!=&quot;function&quot;?i:v.pop():i}n.exports=function(){for(var v=arguments.length,y=new Array(v),p=0;p&lt;v;p++)y[p]=arguments[p];var b,x=d(y);if(Array.isArray(y[0])&amp;&amp;(y=y[0]),y.length&lt;2)throw new u(&quot;streams&quot;);var _=y.map((function(E,M){var D=M&lt;y.length-1;return c(E,D,M&gt;0,(function(W){b||(b=W),W&amp;&amp;_.forEach(h),D||(_.forEach(h),x(b))}))}));return y.reduce(f)}},{&quot;../../../errors&quot;:477,&quot;./end-of-stream&quot;:486}],489:[function(t,n,o){var s=t(&quot;../../../errors&quot;).codes.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(a,u,l,i){var c=(function(h,f,d){return h.highWaterMark!=null?h.highWaterMark:f?h[d]:null})(u,i,l);if(c!=null){if(!isFinite(c)||Math.floor(c)!==c||c&lt;0)throw new s(i?l:&quot;highWaterMark&quot;,c);return Math.floor(c)}return a.objectMode?16:16384}}},{&quot;../../../errors&quot;:477}],490:[function(t,n,o){n.exports=t(&quot;events&quot;).EventEmitter},{events:422}],491:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;),o.finished=t(&quot;./lib/internal/streams/end-of-stream.js&quot;),o.pipeline=t(&quot;./lib/internal/streams/pipeline.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:478,&quot;./lib/_stream_passthrough.js&quot;:479,&quot;./lib/_stream_readable.js&quot;:480,&quot;./lib/_stream_transform.js&quot;:481,&quot;./lib/_stream_writable.js&quot;:482,&quot;./lib/internal/streams/end-of-stream.js&quot;:486,&quot;./lib/internal/streams/pipeline.js&quot;:488}],492:[function(t,n,o){var s=(function(a){var u=Object.prototype,l=u.hasOwnProperty,i=Object.defineProperty||function(S,N,T){S[N]=T.value},c=typeof Symbol==&quot;function&quot;?Symbol:{},h=c.iterator||&quot;@@iterator&quot;,f=c.asyncIterator||&quot;@@asyncIterator&quot;,d=c.toStringTag||&quot;@@toStringTag&quot;;function v(S,N,T){return Object.defineProperty(S,N,{value:T,enumerable:!0,configurable:!0,writable:!0}),S[N]}try{v({},&quot;&quot;)}catch{v=function(N,T,R){return N[T]=R}}function y(S,N,T,R){var B=N&amp;&amp;N.prototype instanceof x?N:x,Y=Object.create(B.prototype),Z=new C(R||[]);return i(Y,&quot;_invoke&quot;,{value:K(S,T,Z)}),Y}function p(S,N,T){try{return{type:&quot;normal&quot;,arg:S.call(N,T)}}catch(R){return{type:&quot;throw&quot;,arg:R}}}a.wrap=y;var b={};function x(){}function _(){}function E(){}var M={};v(M,h,(function(){return this}));var D=Object.getPrototypeOf,W=D&amp;&amp;D(D(j([])));W&amp;&amp;W!==u&amp;&amp;l.call(W,h)&amp;&amp;(M=W);var L=E.prototype=x.prototype=Object.create(M);function V(S){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach((function(N){v(S,N,(function(T){return this._invoke(N,T)}))}))}function H(S,N){var T;i(this,&quot;_invoke&quot;,{value:function(R,B){function Y(){return new N((function(Z,ne){(function U(ee,F,P,X){var re=p(S[ee],S,F);if(re.type!==&quot;throw&quot;){var Q=re.arg,te=Q.value;return te&amp;&amp;typeof te==&quot;object&quot;&amp;&amp;l.call(te,&quot;__await&quot;)?N.resolve(te.__await).then((function(ae){U(&quot;next&quot;,ae,P,X)}),(function(ae){U(&quot;throw&quot;,ae,P,X)})):N.resolve(te).then((function(ae){Q.value=ae,P(Q)}),(function(ae){return U(&quot;throw&quot;,ae,P,X)}))}X(re.arg)})(R,B,Z,ne)}))}return T=T?T.then(Y,Y):Y()}})}function K(S,N,T){var R=&quot;suspendedStart&quot;;return function(B,Y){if(R===&quot;executing&quot;)throw new Error(&quot;Generator is already running&quot;);if(R===&quot;completed&quot;){if(B===&quot;throw&quot;)throw Y;return k()}for(T.method=B,T.arg=Y;;){var Z=T.delegate;if(Z){var ne=z(Z,T);if(ne){if(ne===b)continue;return ne}}if(T.method===&quot;next&quot;)T.sent=T._sent=T.arg;else if(T.method===&quot;throw&quot;){if(R===&quot;suspendedStart&quot;)throw R=&quot;completed&quot;,T.arg;T.dispatchException(T.arg)}else T.method===&quot;return&quot;&amp;&amp;T.abrupt(&quot;return&quot;,T.arg);R=&quot;executing&quot;;var U=p(S,N,T);if(U.type===&quot;normal&quot;){if(R=T.done?&quot;completed&quot;:&quot;suspendedYield&quot;,U.arg===b)continue;return{value:U.arg,done:T.done}}U.type===&quot;throw&quot;&amp;&amp;(R=&quot;completed&quot;,T.method=&quot;throw&quot;,T.arg=U.arg)}}}function z(S,N){var T=N.method,R=S.iterator[T];if(R===void 0)return N.delegate=null,T===&quot;throw&quot;&amp;&amp;S.iterator.return&amp;&amp;(N.method=&quot;return&quot;,N.arg=void 0,z(S,N),N.method===&quot;throw&quot;)||T!==&quot;return&quot;&amp;&amp;(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+T+&quot;&#039; method&quot;)),b;var B=p(R,S.iterator,N.arg);if(B.type===&quot;throw&quot;)return N.method=&quot;throw&quot;,N.arg=B.arg,N.delegate=null,b;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,b):Y:(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;iterator result is not an object&quot;),N.delegate=null,b)}function O(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 I(S){var N=S.completion||{};N.type=&quot;normal&quot;,delete N.arg,S.completion=N}function C(S){this.tryEntries=[{tryLoc:&quot;root&quot;}],S.forEach(O,this),this.reset(!0)}function j(S){if(S){var N=S[h];if(N)return N.call(S);if(typeof S.next==&quot;function&quot;)return S;if(!isNaN(S.length)){var T=-1,R=function B(){for(;++T&lt;S.length;)if(l.call(S,T))return B.value=S[T],B.done=!1,B;return B.value=void 0,B.done=!0,B};return R.next=R}}return{next:k}}function k(){return{value:void 0,done:!0}}return _.prototype=E,i(L,&quot;constructor&quot;,{value:E,configurable:!0}),i(E,&quot;constructor&quot;,{value:_,configurable:!0}),_.displayName=v(E,d,&quot;GeneratorFunction&quot;),a.isGeneratorFunction=function(S){var N=typeof S==&quot;function&quot;&amp;&amp;S.constructor;return!!N&amp;&amp;(N===_||(N.displayName||N.name)===&quot;GeneratorFunction&quot;)},a.mark=function(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,E):(S.__proto__=E,v(S,d,&quot;GeneratorFunction&quot;)),S.prototype=Object.create(L),S},a.awrap=function(S){return{__await:S}},V(H.prototype),v(H.prototype,f,(function(){return this})),a.AsyncIterator=H,a.async=function(S,N,T,R,B){B===void 0&amp;&amp;(B=Promise);var Y=new H(y(S,N,T,R),B);return a.isGeneratorFunction(N)?Y:Y.next().then((function(Z){return Z.done?Z.value:Y.next()}))},V(L),v(L,d,&quot;Generator&quot;),v(L,h,(function(){return this})),v(L,&quot;toString&quot;,(function(){return&quot;[object Generator]&quot;})),a.keys=function(S){var N=Object(S),T=[];for(var R in N)T.push(R);return T.reverse(),function B(){for(;T.length;){var Y=T.pop();if(Y in N)return B.value=Y,B.done=!1,B}return B.done=!0,B}},a.values=j,C.prototype={constructor:C,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(I),!S)for(var N in this)N.charAt(0)===&quot;t&quot;&amp;&amp;l.call(this,N)&amp;&amp;!isNaN(+N.slice(1))&amp;&amp;(this[N]=void 0)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type===&quot;throw&quot;)throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var N=this;function T(U,ee){return Y.type=&quot;throw&quot;,Y.arg=S,N.next=U,ee&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),!!ee}for(var R=this.tryEntries.length-1;R&gt;=0;--R){var B=this.tryEntries[R],Y=B.completion;if(B.tryLoc===&quot;root&quot;)return T(&quot;end&quot;);if(B.tryLoc&lt;=this.prev){var Z=l.call(B,&quot;catchLoc&quot;),ne=l.call(B,&quot;finallyLoc&quot;);if(Z&amp;&amp;ne){if(this.prev&lt;B.catchLoc)return T(B.catchLoc,!0);if(this.prev&lt;B.finallyLoc)return T(B.finallyLoc)}else if(Z){if(this.prev&lt;B.catchLoc)return T(B.catchLoc,!0)}else{if(!ne)throw new Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;B.finallyLoc)return T(B.finallyLoc)}}}},abrupt:function(S,N){for(var T=this.tryEntries.length-1;T&gt;=0;--T){var R=this.tryEntries[T];if(R.tryLoc&lt;=this.prev&amp;&amp;l.call(R,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;R.finallyLoc){var B=R;break}}B&amp;&amp;(S===&quot;break&quot;||S===&quot;continue&quot;)&amp;&amp;B.tryLoc&lt;=N&amp;&amp;N&lt;=B.finallyLoc&amp;&amp;(B=null);var Y=B?B.completion:{};return Y.type=S,Y.arg=N,B?(this.method=&quot;next&quot;,this.next=B.finallyLoc,b):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),b},finish:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var T=this.tryEntries[N];if(T.finallyLoc===S)return this.complete(T.completion,T.afterLoc),I(T),b}},catch:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var T=this.tryEntries[N];if(T.tryLoc===S){var R=T.completion;if(R.type===&quot;throw&quot;){var B=R.arg;I(T)}return B}}throw new Error(&quot;illegal catch attempt&quot;)},delegateYield:function(S,N,T){return this.delegate={iterator:j(S),resultName:N,nextLoc:T},this.method===&quot;next&quot;&amp;&amp;(this.arg=void 0),b}},a})(typeof n==&quot;object&quot;?n.exports:{});try{regeneratorRuntime=s}catch{typeof globalThis==&quot;object&quot;?globalThis.regeneratorRuntime=s:Function(&quot;r&quot;,&quot;regeneratorRuntime = r&quot;)(s)}},{}],493:[function(t,n,o){var s=t(&quot;buffer&quot;).Buffer,a=t(&quot;inherits&quot;),u=t(&quot;hash-base&quot;),l=new Array(16),i=[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],c=[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],h=[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],f=[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],d=[0,1518500249,1859775393,2400959708,2840853838],v=[1352829926,1548603684,1836072691,2053994217,0];function y(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(D,W){return D&lt;&lt;W|D&gt;&gt;&gt;32-W}function b(D,W,L,V,H,K,z,O){return p(D+(W^L^V)+K+z|0,O)+H|0}function x(D,W,L,V,H,K,z,O){return p(D+(W&amp;L|~W&amp;V)+K+z|0,O)+H|0}function _(D,W,L,V,H,K,z,O){return p(D+((W|~L)^V)+K+z|0,O)+H|0}function E(D,W,L,V,H,K,z,O){return p(D+(W&amp;V|L&amp;~V)+K+z|0,O)+H|0}function M(D,W,L,V,H,K,z,O){return p(D+(W^(L|~V))+K+z|0,O)+H|0}a(y,u),y.prototype._update=function(){for(var D=l,W=0;W&lt;16;++W)D[W]=this._block.readInt32LE(4*W);for(var L=0|this._a,V=0|this._b,H=0|this._c,K=0|this._d,z=0|this._e,O=0|this._a,I=0|this._b,C=0|this._c,j=0|this._d,k=0|this._e,S=0;S&lt;80;S+=1){var N,T;S&lt;16?(N=b(L,V,H,K,z,D[i[S]],d[0],h[S]),T=M(O,I,C,j,k,D[c[S]],v[0],f[S])):S&lt;32?(N=x(L,V,H,K,z,D[i[S]],d[1],h[S]),T=E(O,I,C,j,k,D[c[S]],v[1],f[S])):S&lt;48?(N=_(L,V,H,K,z,D[i[S]],d[2],h[S]),T=_(O,I,C,j,k,D[c[S]],v[2],f[S])):S&lt;64?(N=E(L,V,H,K,z,D[i[S]],d[3],h[S]),T=x(O,I,C,j,k,D[c[S]],v[3],f[S])):(N=M(L,V,H,K,z,D[i[S]],d[4],h[S]),T=b(O,I,C,j,k,D[c[S]],v[4],f[S])),L=z,z=K,K=p(H,10),H=V,V=N,O=k,k=j,j=p(C,10),C=I,I=T}var R=this._b+H+j|0;this._b=this._c+K+k|0,this._c=this._d+z+O|0,this._d=this._e+L+I|0,this._e=this._a+V+C|0,this._a=R},y.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 D=s.alloc?s.alloc(20):new s(20);return D.writeInt32LE(this._a,0),D.writeInt32LE(this._b,4),D.writeInt32LE(this._c,8),D.writeInt32LE(this._d,12),D.writeInt32LE(this._e,16),D},n.exports=y},{buffer:220,&quot;hash-base&quot;:425,inherits:440}],494:[function(t,n,o){var s=t(&quot;buffer&quot;),a=s.Buffer;function u(i,c){for(var h in i)c[h]=i[h]}function l(i,c,h){return a(i,c,h)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=s:(u(s,o),o.Buffer=l),l.prototype=Object.create(a.prototype),u(a,l),l.from=function(i,c,h){if(typeof i==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(i,c,h)},l.alloc=function(i,c,h){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var f=a(i);return c!==void 0?typeof h==&quot;string&quot;?f.fill(c,h):f.fill(c):f.fill(0),f},l.allocUnsafe=function(i){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(i)},l.allocUnsafeSlow=function(i){if(typeof i!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return s.SlowBuffer(i)}},{buffer:220}],495:[function(t,n,o){(function(s){(function(){var a,u=t(&quot;buffer&quot;),l=u.Buffer,i={};for(a in u)u.hasOwnProperty(a)&amp;&amp;a!==&quot;SlowBuffer&quot;&amp;&amp;a!==&quot;Buffer&quot;&amp;&amp;(i[a]=u[a]);var c=i.Buffer={};for(a in l)l.hasOwnProperty(a)&amp;&amp;a!==&quot;allocUnsafe&quot;&amp;&amp;a!==&quot;allocUnsafeSlow&quot;&amp;&amp;(c[a]=l[a]);if(i.Buffer.prototype=l.prototype,c.from&amp;&amp;c.from!==Uint8Array.from||(c.from=function(h,f,d){if(typeof h==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type &#039;+typeof h);if(h&amp;&amp;h.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 h);return l(h,f,d)}),c.alloc||(c.alloc=function(h,f,d){if(typeof h!=&quot;number&quot;)throw new TypeError(&#039;The &quot;size&quot; argument must be of type number. Received type &#039;+typeof h);if(h&lt;0||h&gt;=2*(1&lt;&lt;30))throw new RangeError(&#039;The value &quot;&#039;+h+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var v=l(h);return f&amp;&amp;f.length!==0?typeof d==&quot;string&quot;?v.fill(f,d):v.fill(f):v.fill(0),v}),!i.kStringMaxLength)try{i.kStringMaxLength=s.binding(&quot;buffer&quot;).kStringMaxLength}catch{}i.constants||(i.constants={MAX_LENGTH:i.kMaxLength},i.kStringMaxLength&amp;&amp;(i.constants.MAX_STRING_LENGTH=i.kStringMaxLength)),n.exports=i}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467,buffer:220}],496:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0});const s=t(&quot;xmlchars/xml/1.0/ed5&quot;),a=t(&quot;xmlchars/xml/1.1/ed2&quot;),u=t(&quot;xmlchars/xmlns/1.0/ed3&quot;);var l=s.isS,i=s.isChar,c=s.isNameStartChar,h=s.isNameChar,f=s.S_LIST,d=s.NAME_RE,v=a.isChar,y=u.isNCNameStartChar,p=u.isNCNameChar,b=u.NC_NAME_RE;const x=&quot;http://www.w3.org/XML/1998/namespace&quot;,_=&quot;http://www.w3.org/2000/xmlns/&quot;,E={__proto__:null,xml:x,xmlns:_},M={__proto__:null,amp:&quot;&amp;&quot;,gt:&quot;&gt;&quot;,lt:&quot;&lt;&quot;,quot:&#039;&quot;&#039;,apos:&quot;&#039;&quot;},D=j=&gt;j===34||j===39,W=[34,39],L=[...W,91,62],V=[...W,60,93],H=[61,63,...f],K=[...f,62,38,60];function z(j,k,S){switch(k){case&quot;xml&quot;:S!==x&amp;&amp;j.fail(`xml prefix must be bound to ${x}.`);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 x: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 O=j=&gt;b.test(j),I=j=&gt;d.test(j);o.EVENTS=[&quot;xmldecl&quot;,&quot;text&quot;,&quot;processinginstruction&quot;,&quot;doctype&quot;,&quot;comment&quot;,&quot;opentagstart&quot;,&quot;attribute&quot;,&quot;opentag&quot;,&quot;closetag&quot;,&quot;cdata&quot;,&quot;error&quot;,&quot;end&quot;,&quot;ready&quot;];const C={xmldecl:&quot;xmldeclHandler&quot;,text:&quot;textHandler&quot;,processinginstruction:&quot;piHandler&quot;,doctype:&quot;doctypeHandler&quot;,comment:&quot;commentHandler&quot;,opentagstart:&quot;openTagStartHandler&quot;,attribute:&quot;attributeHandler&quot;,opentag:&quot;openTagHandler&quot;,closetag:&quot;closeTagHandler&quot;,cdata:&quot;cdataHandler&quot;,error:&quot;errorHandler&quot;,end:&quot;endHandler&quot;,ready:&quot;readyHandler&quot;};o.SaxesParser=class{constructor(j){this.opt=j??{},this.fragmentOpt=!!this.opt.fragment;const k=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,k){this.nameStartCheck=y,this.nameCheck=p,this.isName=O,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},E);const S=this.opt.additionalNamespaces;S!=null&amp;&amp;((function(N,T){for(const R of Object.keys(T))z(N,R,T[R])})(this,S),Object.assign(this.ns,S))}else this.nameStartCheck=c,this.nameCheck=h,this.isName=I,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[C[j]]=k}off(j){this[C[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:T}=this;for(this.chunk=j,this.i=0;this.i&lt;S;)T[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 T=j.charCodeAt(k+1);T!==10&amp;&amp;T!==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(),T=N===-2,R=T?10:N;if(R===-1||j.includes(R))return this.text+=S.slice(k,this.prevI),R;T&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(!h(S))return this.name+=j.slice(k,this.prevI),S===-2?10:S}}skipSpaces(){for(;;){const j=this.getCodeNorm();if(j===-1||!l(j))return j}}setXMLVersion(j){this.currentXMLVersion=j,j===&quot;1.0&quot;?(this.isChar=i,this.getCode=this.getCode10):(this.isChar=v,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(L);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:D(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(V);j!==-1&amp;&amp;(this.text+=String.fromCodePoint(j),j===93?this.state=2:j===60?this.state=6:D(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 T;this.state=S,N===&quot;&quot;?(this.fail(&quot;empty entity name.&quot;),T=&quot;&amp;;&quot;):(T=this.parseEntity(N),this.entity=&quot;&quot;),S===13&amp;&amp;this.textHandler===void 0||(this.text+=T);break e}case-1:this.entity+=k.slice(j);break e}}sOpenWaka(){const j=this.getCode();if(c(j))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(j){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=&quot;&quot;,this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail(&quot;disallowed character in tag name&quot;),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case&quot;[CDATA[&quot;:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextBeforeRoot=!0),this.closedRoot&amp;&amp;!this.reportedTextAfterRoot&amp;&amp;(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=&quot;&quot;;break;case&quot;--&quot;:this.state=17,this.openWakaBang=&quot;&quot;;break;case&quot;DOCTYPE&quot;:this.state=2,(this.doctype||this.sawRoot)&amp;&amp;this.fail(&quot;inappropriately located doctype declaration.&quot;),this.openWakaBang=&quot;&quot;;break;default:this.openWakaBang.length&gt;=7&amp;&amp;this.fail(&quot;incorrect syntax.&quot;)}}sComment(){this.captureToChar(45)&amp;&amp;(this.state=18)}sCommentEnding(){var j;const k=this.getCodeNorm();k===45?(this.state=19,(j=this.commentHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;):(this.text+=&quot;-&quot;+String.fromCodePoint(k),this.state=17)}sCommentEnded(){const j=this.getCodeNorm();j!==62?(this.fail(&quot;malformed comment.&quot;),this.text+=&quot;--&quot;+String.fromCodePoint(j),this.state=17):this.state=13}sCData(){this.captureToChar(93)&amp;&amp;(this.state=21)}sCDataEnding(){const j=this.getCodeNorm();j===93?this.state=22:(this.text+=&quot;]&quot;+String.fromCodePoint(j),this.state=20)}sCDataEnding2(){var j;const k=this.getCodeNorm();switch(k){case 62:(j=this.cdataHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;,this.state=13;break;case 93:this.text+=&quot;]&quot;;break;default:this.text+=&quot;]]&quot;+String.fromCodePoint(k),this.state=20}}sPIFirstChar(){const j=this.getCodeNorm();this.nameStartCheck(j)?(this.piTarget+=String.fromCodePoint(j),this.state=24):j===63||l(j)?(this.fail(&quot;processing instruction without a target.&quot;),this.state=j===63?26:25):(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(j),this.state=24)}sPIRest(){const{chunk:j,i:k}=this;for(;;){const S=this.getCodeNorm();if(S===-1)return void(this.piTarget+=j.slice(k));if(!this.nameCheck(S)){this.piTarget+=j.slice(k,this.prevI);const N=S===63;N||l(S)?this.piTarget===&quot;xml&quot;?(this.xmlDeclPossible||this.fail(&quot;an XML declaration must be at the start of the document.&quot;),this.state=N?33:27):this.state=N?26:25:(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(S));break}}}sPIBody(){if(this.text.length===0){const j=this.getCodeNorm();j===63?this.state=26:l(j)||(this.text=String.fromCodePoint(j))}else this.captureToChar(63)&amp;&amp;(this.state=26)}sPIEnding(){var j;const k=this.getCodeNorm();if(k===62){const{piTarget:S}=this;S.toLowerCase()===&quot;xml&quot;&amp;&amp;this.fail(&quot;the XML declaration must appear at the start of the document.&quot;),(j=this.piHandler)===null||j===void 0||j.call(this,{target:S,body:this.text}),this.piTarget=this.text=&quot;&quot;,this.state=13}else k===63?this.text+=&quot;?&quot;:(this.text+=&quot;?&quot;+String.fromCodePoint(k),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const j=this.skipSpaces();j!==63?j!==-1&amp;&amp;(this.state=28,this.name=String.fromCodePoint(j)):this.state=33}sXMLDeclName(){const j=this.captureTo(H);if(j===63)return this.state=33,this.name+=this.text,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(l(j)||j===61){if(this.name+=this.text,this.text=&quot;&quot;,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(&quot;did not expect any more name/value pairs.&quot;);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(&quot;expected one of &quot;+this.xmlDeclExpects.join(&quot;, &quot;))}this.state=j===61?30:29}}sXMLDeclEq(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);l(j)||(j!==61&amp;&amp;this.fail(&quot;value required.&quot;),this.state=30)}sXMLDeclValueStart(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);l(j)||(D(j)?this.q=j:(this.fail(&quot;value must be quoted.&quot;),this.q=32),this.state=31)}sXMLDeclValue(){const j=this.captureTo([this.q,63]);if(j===63)return this.state=33,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(j===-1)return;const k=this.text;switch(this.text=&quot;&quot;,this.name){case&quot;version&quot;:{this.xmlDeclExpects=[&quot;encoding&quot;,&quot;standalone&quot;];const S=k;this.xmlDecl.version=S,/^1\.[0-9]+$/.test(S)?this.opt.forceXMLVersion||this.setXMLVersion(S):this.fail(&quot;version number must match /^1\\.[0-9]+$/.&quot;);break}case&quot;encoding&quot;:/^[A-Za-z][A-Za-z0-9._-]*$/.test(k)||this.fail(&quot;encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.&quot;),this.xmlDeclExpects=[&quot;standalone&quot;],this.xmlDecl.encoding=k;break;case&quot;standalone&quot;:k!==&quot;yes&quot;&amp;&amp;k!==&quot;no&quot;&amp;&amp;this.fail(&#039;standalone value must match &quot;yes&quot; or &quot;no&quot;.&#039;),this.xmlDeclExpects=[],this.xmlDecl.standalone=k}this.name=&quot;&quot;,this.state=32}sXMLDeclSeparator(){const j=this.getCodeNorm();j!==63?(l(j)||(this.fail(&quot;whitespace required.&quot;),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var j;this.getCodeNorm()===62?(this.piTarget!==&quot;xml&quot;?this.fail(&quot;processing instructions are not allowed before root.&quot;):this.name!==&quot;version&quot;&amp;&amp;this.xmlDeclExpects.includes(&quot;version&quot;)&amp;&amp;this.fail(&quot;XML declaration must contain a version.&quot;),(j=this.xmldeclHandler)===null||j===void 0||j.call(this,this.xmlDecl),this.name=&quot;&quot;,this.piTarget=this.text=&quot;&quot;,this.state=13):this.fail(&quot;The character ? is disallowed anywhere in XML declarations.&quot;),this.xmlDeclPossible=!1}sOpenTag(){var j;const k=this.captureNameChars();if(k===-1)return;const S=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=&quot;&quot;,this.xmlnsOpt&amp;&amp;(this.topNS=S.ns=Object.create(null)),(j=this.openTagStartHandler)===null||j===void 0||j.call(this,S),this.sawRoot=!0,!this.fragmentOpt&amp;&amp;this.closedRoot&amp;&amp;this.fail(&quot;documents may contain only one root.&quot;),k){case 62:this.openTag();break;case 47:this.state=35;break;default:l(k)||this.fail(&quot;disallowed character in tag name.&quot;),this.state=36}}sOpenTagSlash(){this.getCode()===62?this.openSelfClosingTag():(this.fail(&quot;forward-slash in opening tag not followed by &gt;.&quot;),this.state=36)}sAttrib(){const j=this.skipSpaces();j!==-1&amp;&amp;(c(j)?(this.unget(),this.state=37):j===62?this.openTag():j===47?this.state=35:this.fail(&quot;disallowed character in attribute name.&quot;))}sAttribName(){const j=this.captureNameChars();j===61?this.state=39:l(j)?this.state=38:j===62?(this.fail(&quot;attribute without value.&quot;),this.pushAttrib(this.name,this.name),this.name=this.text=&quot;&quot;,this.openTag()):j!==-1&amp;&amp;this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribNameSawWhite(){const j=this.skipSpaces();switch(j){case-1:return;case 61:this.state=39;break;default:this.fail(&quot;attribute without value.&quot;),this.text=&quot;&quot;,this.name=&quot;&quot;,j===62?this.openTag():c(j)?(this.unget(),this.state=37):(this.fail(&quot;disallowed character in attribute name.&quot;),this.state=36)}}sAttribValue(){const j=this.getCodeNorm();D(j)?(this.q=j,this.state=40):l(j)||(this.fail(&quot;unquoted attribute value.&quot;),this.state=42,this.unget())}sAttribValueQuoted(){const{q:j,chunk:k}=this;let{i:S}=this;for(;;)switch(this.getCode()){case j:return this.pushAttrib(this.name,this.text+k.slice(S,this.prevI)),this.name=this.text=&quot;&quot;,this.q=null,void(this.state=41);case 38:return this.text+=k.slice(S,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=k.slice(S,this.prevI)+&quot; &quot;,S=this.i;break;case 60:return this.text+=k.slice(S,this.prevI),void this.fail(&quot;disallowed character.&quot;);case-1:return void(this.text+=k.slice(S))}}sAttribValueClosed(){const j=this.getCodeNorm();l(j)?this.state=36:j===62?this.openTag():j===47?this.state=35:c(j)?(this.fail(&quot;no whitespace between attributes.&quot;),this.unget(),this.state=37):this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribValueUnquoted(){const j=this.captureTo(K);switch(j){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail(&quot;disallowed character.&quot;);break;case-1:break;default:this.text.includes(&quot;]]&gt;&quot;)&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),this.pushAttrib(this.name,this.text),this.name=this.text=&quot;&quot;,j===62?this.openTag():this.state=36}}sCloseTag(){const j=this.captureNameChars();j===62?this.closeTag():l(j)?this.state=44:j!==-1&amp;&amp;this.fail(&quot;disallowed character in closing tag.&quot;)}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail(&quot;disallowed character in closing tag.&quot;)}}handleTextInRoot(){let{i:j,forbiddenState:k}=this;const{chunk:S,textHandler:N}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,N!==void 0){const{text:T}=this,R=S.slice(j,this.prevI);T.length!==0?(N(T+R),this.text=&quot;&quot;):R.length!==0&amp;&amp;N(R)}k=0;break e;case 38:this.state=14,this.entityReturnState=13,N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)),k=0;break e;case 93:switch(k){case 0:k=1;break;case 1:k=2;break;case 2:break;default:throw new Error(&quot;impossible state&quot;)}break;case 62:k===2&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),k=0;break;case-2:N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)+`
`),j=this.i,k=0;break;case-1:N!==void 0&amp;&amp;(this.text+=S.slice(j));break e;default:k=0}this.forbiddenState=k}handleTextOutsideRoot(){let{i:j}=this;const{chunk:k,textHandler:S}=this;let N=!1;e:for(;;){const T=this.getCode();switch(T){case 60:if(this.state=15,S!==void 0){const{text:R}=this,B=k.slice(j,this.prevI);R.length!==0?(S(R+B),this.text=&quot;&quot;):B.length!==0&amp;&amp;S(B)}break e;case 38:this.state=14,this.entityReturnState=13,S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)),N=!0;break e;case-2:S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)+`
`),j=this.i;break;case-1:S!==void 0&amp;&amp;(this.text+=k.slice(j));break e;default:l(T)||(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:T}=this.qname(j),R={name:j,prefix:N,local:T,value:k};if(this.attribList.push(R),(S=this.attributeHandler)===null||S===void 0||S.call(this,R),N===&quot;xmlns&quot;){const B=k.trim();this.currentXMLVersion===&quot;1.0&quot;&amp;&amp;B===&quot;&quot;&amp;&amp;this.fail(&quot;invalid attempt to undefine prefix in XML 1.0&quot;),this.topNS[T]=B,z(this,T,B)}else if(j===&quot;xmlns&quot;){const B=k.trim();this.topNS[&quot;&quot;]=B,z(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 T=S.pop();this.fail(&quot;unclosed tag: &quot;+T.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:T}=this;for(let R=T.length-1;R&gt;=0;R--)if(N=T[R].ns[j],N!==void 0)return N;return N=this.ns[j],N!==void 0?N:(S=(k=this.opt).resolvePrefix)===null||S===void 0?void 0:S.call(k,j)}qname(j){const k=j.indexOf(&quot;:&quot;);if(k===-1)return{prefix:&quot;&quot;,local:j};const S=j.slice(k+1),N=j.slice(0,k);return(N===&quot;&quot;||S===&quot;&quot;||S.includes(&quot;:&quot;))&amp;&amp;this.fail(`malformed name: ${j}.`),{prefix:N,local:S}}processAttribsNS(){var j;const{attribList:k}=this,S=this.tag;{const{prefix:R,local:B}=this.qname(S.name);S.prefix=R,S.local=B;const Y=S.uri=(j=this.resolve(R))!==null&amp;&amp;j!==void 0?j:&quot;&quot;;R!==&quot;&quot;&amp;&amp;(R===&quot;xmlns&quot;&amp;&amp;this.fail(&#039;tags may not have &quot;xmlns&quot; as prefix.&#039;),Y===&quot;&quot;&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(R)}.`),S.uri=R))}if(k.length===0)return;const{attributes:N}=S,T=new Set;for(const R of k){const{name:B,prefix:Y,local:Z}=R;let ne,U;Y===&quot;&quot;?(ne=B===&quot;xmlns&quot;?_:&quot;&quot;,U=B):(ne=this.resolve(Y),ne===void 0&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(Y)}.`),ne=Y),U=`{${ne}}${Z}`),T.has(U)&amp;&amp;this.fail(`duplicate attribute: ${U}.`),T.add(U),R.uri=ne,N[B]=R}this.attribList=[]}processAttribsPlain(){const{attribList:j}=this,k=this.tag.attributes;for(const{name:S,value:N}of j)k[S]!==void 0&amp;&amp;this.fail(`duplicate attribute: ${S}.`),k[S]=N;this.attribList=[]}openTag(){var j;this.processAttribs();const{tags:k}=this,S=this.tag;S.isSelfClosing=!1,(j=this.openTagHandler)===null||j===void 0||j.call(this,S),k.push(S),this.state=13,this.name=&quot;&quot;}openSelfClosingTag(){var j,k,S;this.processAttribs();const{tags:N}=this,T=this.tag;T.isSelfClosing=!0,(j=this.openTagHandler)===null||j===void 0||j.call(this,T),(k=this.closeTagHandler)===null||k===void 0||k.call(this,T),(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 T=this.tag=j.pop();if(this.topNS=T.ns,S?.(T),T.name===k)break;this.fail(&quot;unexpected close tag.&quot;)}N===0?this.closedRoot=!0:N&lt;0&amp;&amp;(this.fail(`unmatched closing tag: ${k}.`),this.text+=`&lt;/${k}&gt;`)}parseEntity(j){if(j[0]!==&quot;#&quot;){const S=this.ENTITIES[j];return S!==void 0?S:(this.fail(this.isName(j)?&quot;undefined entity.&quot;:&quot;disallowed character in entity name.&quot;),`&amp;${j};`)}let k=NaN;return j[1]===&quot;x&quot;&amp;&amp;/^#x[0-9a-f]+$/i.test(j)?k=parseInt(j.slice(2),16):/^#[0-9]+$/.test(j)&amp;&amp;(k=parseInt(j.slice(1),10)),this.isChar(k)?String.fromCodePoint(k):(this.fail(&quot;malformed character entity.&quot;),`&amp;${j};`)}}},{&quot;xmlchars/xml/1.0/ed5&quot;:543,&quot;xmlchars/xml/1.1/ed2&quot;:544,&quot;xmlchars/xmlns/1.0/ed3&quot;:545}],497:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer;function a(u,l){this._block=s.alloc(u),this._finalSize=l,this._blockSize=u,this._len=0}a.prototype.update=function(u,l){typeof u==&quot;string&quot;&amp;&amp;(l=l||&quot;utf8&quot;,u=s.from(u,l));for(var i=this._block,c=this._blockSize,h=u.length,f=this._len,d=0;d&lt;h;){for(var v=f%c,y=Math.min(h-d,c-v),p=0;p&lt;y;p++)i[v+p]=u[d+p];d+=y,(f+=y)%c==0&amp;&amp;this._update(i)}return this._len+=h,this},a.prototype.digest=function(u){var l=this._len%this._blockSize;this._block[l]=128,this._block.fill(0,l+1),l&gt;=this._finalSize&amp;&amp;(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i&lt;=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var c=(4294967295&amp;i)&gt;&gt;&gt;0,h=(i-c)/4294967296;this._block.writeUInt32BE(h,this._blockSize-8),this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);var f=this._hash();return u?f.toString(u):f},a.prototype._update=function(){throw new Error(&quot;_update must be implemented by subclass&quot;)},n.exports=a},{&quot;safe-buffer&quot;:494}],498:[function(t,n,o){var s=n.exports=function(a){a=a.toLowerCase();var u=s[a];if(!u)throw new Error(a+&quot; is not supported (we accept pull requests)&quot;);return new u};s.sha=t(&quot;./sha&quot;),s.sha1=t(&quot;./sha1&quot;),s.sha224=t(&quot;./sha224&quot;),s.sha256=t(&quot;./sha256&quot;),s.sha384=t(&quot;./sha384&quot;),s.sha512=t(&quot;./sha512&quot;)},{&quot;./sha&quot;:499,&quot;./sha1&quot;:500,&quot;./sha224&quot;:501,&quot;./sha256&quot;:502,&quot;./sha384&quot;:503,&quot;./sha512&quot;:504}],499:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function c(){this.init(),this._w=i,a.call(this,64,56)}function h(d){return d&lt;&lt;30|d&gt;&gt;&gt;2}function f(d,v,y,p){return d===0?v&amp;y|~v&amp;p:d===2?v&amp;y|v&amp;p|y&amp;p:v^y^p}s(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(d){for(var v,y=this._w,p=0|this._a,b=0|this._b,x=0|this._c,_=0|this._d,E=0|this._e,M=0;M&lt;16;++M)y[M]=d.readInt32BE(4*M);for(;M&lt;80;++M)y[M]=y[M-3]^y[M-8]^y[M-14]^y[M-16];for(var D=0;D&lt;80;++D){var W=~~(D/20),L=0|((v=p)&lt;&lt;5|v&gt;&gt;&gt;27)+f(W,b,x,_)+E+y[D]+l[W];E=_,_=x,x=h(b),b=p,p=L}this._a=p+this._a|0,this._b=b+this._b|0,this._c=x+this._c|0,this._d=_+this._d|0,this._e=E+this._e|0},c.prototype._hash=function(){var d=u.allocUnsafe(20);return d.writeInt32BE(0|this._a,0),d.writeInt32BE(0|this._b,4),d.writeInt32BE(0|this._c,8),d.writeInt32BE(0|this._d,12),d.writeInt32BE(0|this._e,16),d},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],500:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],i=new Array(80);function c(){this.init(),this._w=i,a.call(this,64,56)}function h(v){return v&lt;&lt;5|v&gt;&gt;&gt;27}function f(v){return v&lt;&lt;30|v&gt;&gt;&gt;2}function d(v,y,p,b){return v===0?y&amp;p|~y&amp;b:v===2?y&amp;p|y&amp;b|p&amp;b:y^p^b}s(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(v){for(var y,p=this._w,b=0|this._a,x=0|this._b,_=0|this._c,E=0|this._d,M=0|this._e,D=0;D&lt;16;++D)p[D]=v.readInt32BE(4*D);for(;D&lt;80;++D)p[D]=(y=p[D-3]^p[D-8]^p[D-14]^p[D-16])&lt;&lt;1|y&gt;&gt;&gt;31;for(var W=0;W&lt;80;++W){var L=~~(W/20),V=h(b)+d(L,x,_,E)+M+p[W]+l[L]|0;M=E,E=_,_=f(x),x=b,b=V}this._a=b+this._a|0,this._b=x+this._b|0,this._c=_+this._c|0,this._d=E+this._d|0,this._e=M+this._e|0},c.prototype._hash=function(){var v=u.allocUnsafe(20);return v.writeInt32BE(0|this._a,0),v.writeInt32BE(0|this._b,4),v.writeInt32BE(0|this._c,8),v.writeInt32BE(0|this._d,12),v.writeInt32BE(0|this._e,16),v},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],501:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./sha256&quot;),u=t(&quot;./hash&quot;),l=t(&quot;safe-buffer&quot;).Buffer,i=new Array(64);function c(){this.init(),this._w=i,u.call(this,64,56)}s(c,a),c.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},c.prototype._hash=function(){var h=l.allocUnsafe(28);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha256&quot;:502,inherits:440,&quot;safe-buffer&quot;:494}],502:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=new Array(64);function c(){this.init(),this._w=i,a.call(this,64,56)}function h(p,b,x){return x^p&amp;(b^x)}function f(p,b,x){return p&amp;b|x&amp;(p|b)}function d(p){return(p&gt;&gt;&gt;2|p&lt;&lt;30)^(p&gt;&gt;&gt;13|p&lt;&lt;19)^(p&gt;&gt;&gt;22|p&lt;&lt;10)}function v(p){return(p&gt;&gt;&gt;6|p&lt;&lt;26)^(p&gt;&gt;&gt;11|p&lt;&lt;21)^(p&gt;&gt;&gt;25|p&lt;&lt;7)}function y(p){return(p&gt;&gt;&gt;7|p&lt;&lt;25)^(p&gt;&gt;&gt;18|p&lt;&lt;14)^p&gt;&gt;&gt;3}s(c,a),c.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},c.prototype._update=function(p){for(var b,x=this._w,_=0|this._a,E=0|this._b,M=0|this._c,D=0|this._d,W=0|this._e,L=0|this._f,V=0|this._g,H=0|this._h,K=0;K&lt;16;++K)x[K]=p.readInt32BE(4*K);for(;K&lt;64;++K)x[K]=0|(((b=x[K-2])&gt;&gt;&gt;17|b&lt;&lt;15)^(b&gt;&gt;&gt;19|b&lt;&lt;13)^b&gt;&gt;&gt;10)+x[K-7]+y(x[K-15])+x[K-16];for(var z=0;z&lt;64;++z){var O=H+v(W)+h(W,L,V)+l[z]+x[z]|0,I=d(_)+f(_,E,M)|0;H=V,V=L,L=W,W=D+O|0,D=M,M=E,E=_,_=O+I|0}this._a=_+this._a|0,this._b=E+this._b|0,this._c=M+this._c|0,this._d=D+this._d|0,this._e=W+this._e|0,this._f=L+this._f|0,this._g=V+this._g|0,this._h=H+this._h|0},c.prototype._hash=function(){var p=u.allocUnsafe(32);return p.writeInt32BE(this._a,0),p.writeInt32BE(this._b,4),p.writeInt32BE(this._c,8),p.writeInt32BE(this._d,12),p.writeInt32BE(this._e,16),p.writeInt32BE(this._f,20),p.writeInt32BE(this._g,24),p.writeInt32BE(this._h,28),p},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],503:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./sha512&quot;),u=t(&quot;./hash&quot;),l=t(&quot;safe-buffer&quot;).Buffer,i=new Array(160);function c(){this.init(),this._w=i,u.call(this,128,112)}s(c,a),c.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},c.prototype._hash=function(){var h=l.allocUnsafe(48);function f(d,v,y){h.writeInt32BE(d,y),h.writeInt32BE(v,y+4)}return f(this._ah,this._al,0),f(this._bh,this._bl,8),f(this._ch,this._cl,16),f(this._dh,this._dl,24),f(this._eh,this._el,32),f(this._fh,this._fl,40),h},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha512&quot;:504,inherits:440,&quot;safe-buffer&quot;:494}],504:[function(t,n,o){var s=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],i=new Array(160);function c(){this.init(),this._w=i,a.call(this,128,112)}function h(E,M,D){return D^E&amp;(M^D)}function f(E,M,D){return E&amp;M|D&amp;(E|M)}function d(E,M){return(E&gt;&gt;&gt;28|M&lt;&lt;4)^(M&gt;&gt;&gt;2|E&lt;&lt;30)^(M&gt;&gt;&gt;7|E&lt;&lt;25)}function v(E,M){return(E&gt;&gt;&gt;14|M&lt;&lt;18)^(E&gt;&gt;&gt;18|M&lt;&lt;14)^(M&gt;&gt;&gt;9|E&lt;&lt;23)}function y(E,M){return(E&gt;&gt;&gt;1|M&lt;&lt;31)^(E&gt;&gt;&gt;8|M&lt;&lt;24)^E&gt;&gt;&gt;7}function p(E,M){return(E&gt;&gt;&gt;1|M&lt;&lt;31)^(E&gt;&gt;&gt;8|M&lt;&lt;24)^(E&gt;&gt;&gt;7|M&lt;&lt;25)}function b(E,M){return(E&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|E&lt;&lt;3)^E&gt;&gt;&gt;6}function x(E,M){return(E&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|E&lt;&lt;3)^(E&gt;&gt;&gt;6|M&lt;&lt;26)}function _(E,M){return E&gt;&gt;&gt;0&lt;M&gt;&gt;&gt;0?1:0}s(c,a),c.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},c.prototype._update=function(E){for(var M=this._w,D=0|this._ah,W=0|this._bh,L=0|this._ch,V=0|this._dh,H=0|this._eh,K=0|this._fh,z=0|this._gh,O=0|this._hh,I=0|this._al,C=0|this._bl,j=0|this._cl,k=0|this._dl,S=0|this._el,N=0|this._fl,T=0|this._gl,R=0|this._hl,B=0;B&lt;32;B+=2)M[B]=E.readInt32BE(4*B),M[B+1]=E.readInt32BE(4*B+4);for(;B&lt;160;B+=2){var Y=M[B-30],Z=M[B-30+1],ne=y(Y,Z),U=p(Z,Y),ee=b(Y=M[B-4],Z=M[B-4+1]),F=x(Z,Y),P=M[B-14],X=M[B-14+1],re=M[B-32],Q=M[B-32+1],te=U+X|0,ae=ne+P+_(te,U)|0;ae=(ae=ae+ee+_(te=te+F|0,F)|0)+re+_(te=te+Q|0,Q)|0,M[B]=ae,M[B+1]=te}for(var ce=0;ce&lt;160;ce+=2){ae=M[ce],te=M[ce+1];var he=f(D,W,L),se=f(I,C,j),de=d(D,I),ie=d(I,D),me=v(H,S),ve=v(S,H),ge=l[ce],le=l[ce+1],_e=h(H,K,z),Se=h(S,N,T),Oe=R+ve|0,Te=O+me+_(Oe,R)|0;Te=(Te=(Te=Te+_e+_(Oe=Oe+Se|0,Se)|0)+ge+_(Oe=Oe+le|0,le)|0)+ae+_(Oe=Oe+te|0,te)|0;var Ie=ie+se|0,Ve=de+he+_(Ie,ie)|0;O=z,R=T,z=K,T=N,K=H,N=S,H=V+Te+_(S=k+Oe|0,k)|0,V=L,k=j,L=W,j=C,W=D,C=I,D=Te+Ve+_(I=Oe+Ie|0,Oe)|0}this._al=this._al+I|0,this._bl=this._bl+C|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+T|0,this._hl=this._hl+R|0,this._ah=this._ah+D+_(this._al,I)|0,this._bh=this._bh+W+_(this._bl,C)|0,this._ch=this._ch+L+_(this._cl,j)|0,this._dh=this._dh+V+_(this._dl,k)|0,this._eh=this._eh+H+_(this._el,S)|0,this._fh=this._fh+K+_(this._fl,N)|0,this._gh=this._gh+z+_(this._gl,T)|0,this._hh=this._hh+O+_(this._hl,R)|0},c.prototype._hash=function(){var E=u.allocUnsafe(64);function M(D,W,L){E.writeInt32BE(D,L),E.writeInt32BE(W,L+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),E},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],505:[function(t,n,o){n.exports=a;var s=t(&quot;events&quot;).EventEmitter;function a(){s.call(this)}t(&quot;inherits&quot;)(a,s),a.Readable=t(&quot;readable-stream/readable.js&quot;),a.Writable=t(&quot;readable-stream/writable.js&quot;),a.Duplex=t(&quot;readable-stream/duplex.js&quot;),a.Transform=t(&quot;readable-stream/transform.js&quot;),a.PassThrough=t(&quot;readable-stream/passthrough.js&quot;),a.Stream=a,a.prototype.pipe=function(u,l){var i=this;function c(b){u.writable&amp;&amp;u.write(b)===!1&amp;&amp;i.pause&amp;&amp;i.pause()}function h(){i.readable&amp;&amp;i.resume&amp;&amp;i.resume()}i.on(&quot;data&quot;,c),u.on(&quot;drain&quot;,h),u._isStdio||l&amp;&amp;l.end===!1||(i.on(&quot;end&quot;,d),i.on(&quot;close&quot;,v));var f=!1;function d(){f||(f=!0,u.end())}function v(){f||(f=!0,typeof u.destroy==&quot;function&quot;&amp;&amp;u.destroy())}function y(b){if(p(),s.listenerCount(this,&quot;error&quot;)===0)throw b}function p(){i.removeListener(&quot;data&quot;,c),u.removeListener(&quot;drain&quot;,h),i.removeListener(&quot;end&quot;,d),i.removeListener(&quot;close&quot;,v),i.removeListener(&quot;error&quot;,y),u.removeListener(&quot;error&quot;,y),i.removeListener(&quot;end&quot;,p),i.removeListener(&quot;close&quot;,p),u.removeListener(&quot;close&quot;,p)}return i.on(&quot;error&quot;,y),u.on(&quot;error&quot;,y),i.on(&quot;end&quot;,p),i.on(&quot;close&quot;,p),u.on(&quot;close&quot;,p),u.emit(&quot;pipe&quot;,i),u}},{events:422,inherits:440,&quot;readable-stream/duplex.js&quot;:507,&quot;readable-stream/passthrough.js&quot;:516,&quot;readable-stream/readable.js&quot;:517,&quot;readable-stream/transform.js&quot;:518,&quot;readable-stream/writable.js&quot;:519}],506:[function(t,n,o){var s={}.toString;n.exports=Array.isArray||function(a){return s.call(a)==&quot;[object Array]&quot;}},{}],507:[function(t,n,o){n.exports=t(&quot;./lib/_stream_duplex.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508}],508:[function(t,n,o){var s=t(&quot;process-nextick-args&quot;),a=Object.keys||function(p){var b=[];for(var x in p)b.push(x);return b};n.exports=d;var u=Object.create(t(&quot;core-util-is&quot;));u.inherits=t(&quot;inherits&quot;);var l=t(&quot;./_stream_readable&quot;),i=t(&quot;./_stream_writable&quot;);u.inherits(d,l);for(var c=a(i.prototype),h=0;h&lt;c.length;h++){var f=c[h];d.prototype[f]||(d.prototype[f]=i.prototype[f])}function d(p){if(!(this instanceof d))return new d(p);l.call(this,p),i.call(this,p),p&amp;&amp;p.readable===!1&amp;&amp;(this.readable=!1),p&amp;&amp;p.writable===!1&amp;&amp;(this.writable=!1),this.allowHalfOpen=!0,p&amp;&amp;p.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1),this.once(&quot;end&quot;,v)}function v(){this.allowHalfOpen||this._writableState.ended||s.nextTick(y,this)}function y(p){p.end()}Object.defineProperty(d.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.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(p){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=p,this._writableState.destroyed=p)}}),d.prototype._destroy=function(p,b){this.push(null),this.end(),s.nextTick(b,p)}},{&quot;./_stream_readable&quot;:510,&quot;./_stream_writable&quot;:512,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466}],509:[function(t,n,o){n.exports=u;var s=t(&quot;./_stream_transform&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(l){if(!(this instanceof u))return new u(l);s.call(this,l)}a.inherits=t(&quot;inherits&quot;),a.inherits(u,s),u.prototype._transform=function(l,i,c){c(null,l)}},{&quot;./_stream_transform&quot;:511,&quot;core-util-is&quot;:383,inherits:440}],510:[function(t,n,o){(function(s,a){(function(){var u=t(&quot;process-nextick-args&quot;);n.exports=D;var l,i=t(&quot;isarray&quot;);D.ReadableState=M,t(&quot;events&quot;).EventEmitter;var c=function(R,B){return R.listeners(B).length},h=t(&quot;./internal/streams/stream&quot;),f=t(&quot;safe-buffer&quot;).Buffer,d=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},v=Object.create(t(&quot;core-util-is&quot;));v.inherits=t(&quot;inherits&quot;);var y=t(&quot;util&quot;),p=void 0;p=y&amp;&amp;y.debuglog?y.debuglog(&quot;stream&quot;):function(){};var b,x=t(&quot;./internal/streams/BufferList&quot;),_=t(&quot;./internal/streams/destroy&quot;);v.inherits(D,h);var E=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function M(R,B){R=R||{};var Y=B instanceof(l=l||t(&quot;./_stream_duplex&quot;));this.objectMode=!!R.objectMode,Y&amp;&amp;(this.objectMode=this.objectMode||!!R.readableObjectMode);var Z=R.highWaterMark,ne=R.readableHighWaterMark,U=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:Y&amp;&amp;(ne||ne===0)?ne:U,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new x,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=R.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,R.encoding&amp;&amp;(b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new b(R.encoding),this.encoding=R.encoding)}function D(R){if(l=l||t(&quot;./_stream_duplex&quot;),!(this instanceof D))return new D(R);this._readableState=new M(R,this),this.readable=!0,R&amp;&amp;(typeof R.read==&quot;function&quot;&amp;&amp;(this._read=R.read),typeof R.destroy==&quot;function&quot;&amp;&amp;(this._destroy=R.destroy)),h.call(this)}function W(R,B,Y,Z,ne){var U,ee=R._readableState;return B===null?(ee.reading=!1,(function(F,P){if(!P.ended){if(P.decoder){var X=P.decoder.end();X&amp;&amp;X.length&amp;&amp;(P.buffer.push(X),P.length+=P.objectMode?1:X.length)}P.ended=!0,H(F)}})(R,ee)):(ne||(U=(function(F,P){var X;re=P,f.isBuffer(re)||re instanceof d||typeof P==&quot;string&quot;||P===void 0||F.objectMode||(X=new TypeError(&quot;Invalid non-string/buffer chunk&quot;));var re;return X})(ee,B)),U?R.emit(&quot;error&quot;,U):ee.objectMode||B&amp;&amp;B.length&gt;0?(typeof B==&quot;string&quot;||ee.objectMode||Object.getPrototypeOf(B)===f.prototype||(B=(function(F){return f.from(F)})(B)),Z?ee.endEmitted?R.emit(&quot;error&quot;,new Error(&quot;stream.unshift() after end event&quot;)):L(R,ee,B,!0):ee.ended?R.emit(&quot;error&quot;,new Error(&quot;stream.push() after EOF&quot;)):(ee.reading=!1,ee.decoder&amp;&amp;!Y?(B=ee.decoder.write(B),ee.objectMode||B.length!==0?L(R,ee,B,!1):z(R,ee)):L(R,ee,B,!1))):Z||(ee.reading=!1)),(function(F){return!F.ended&amp;&amp;(F.needReadable||F.length&lt;F.highWaterMark||F.length===0)})(ee)}function L(R,B,Y,Z){B.flowing&amp;&amp;B.length===0&amp;&amp;!B.sync?(R.emit(&quot;data&quot;,Y),R.read(0)):(B.length+=B.objectMode?1:Y.length,Z?B.buffer.unshift(Y):B.buffer.push(Y),B.needReadable&amp;&amp;H(R)),z(R,B)}Object.defineProperty(D.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(R){this._readableState&amp;&amp;(this._readableState.destroyed=R)}}),D.prototype.destroy=_.destroy,D.prototype._undestroy=_.undestroy,D.prototype._destroy=function(R,B){this.push(null),B(R)},D.prototype.push=function(R,B){var Y,Z=this._readableState;return Z.objectMode?Y=!0:typeof R==&quot;string&quot;&amp;&amp;((B=B||Z.defaultEncoding)!==Z.encoding&amp;&amp;(R=f.from(R,B),B=&quot;&quot;),Y=!0),W(this,R,B,!1,Y)},D.prototype.unshift=function(R){return W(this,R,null,!0,!1)},D.prototype.isPaused=function(){return this._readableState.flowing===!1},D.prototype.setEncoding=function(R){return b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this._readableState.decoder=new b(R),this._readableState.encoding=R,this};function V(R,B){return R&lt;=0||B.length===0&amp;&amp;B.ended?0:B.objectMode?1:R!=R?B.flowing&amp;&amp;B.length?B.buffer.head.data.length:B.length:(R&gt;B.highWaterMark&amp;&amp;(B.highWaterMark=(function(Y){return Y&gt;=8388608?Y=8388608:(Y--,Y|=Y&gt;&gt;&gt;1,Y|=Y&gt;&gt;&gt;2,Y|=Y&gt;&gt;&gt;4,Y|=Y&gt;&gt;&gt;8,Y|=Y&gt;&gt;&gt;16,Y++),Y})(R)),R&lt;=B.length?R:B.ended?B.length:(B.needReadable=!0,0))}function H(R){var B=R._readableState;B.needReadable=!1,B.emittedReadable||(p(&quot;emitReadable&quot;,B.flowing),B.emittedReadable=!0,B.sync?u.nextTick(K,R):K(R))}function K(R){p(&quot;emit readable&quot;),R.emit(&quot;readable&quot;),j(R)}function z(R,B){B.readingMore||(B.readingMore=!0,u.nextTick(O,R,B))}function O(R,B){for(var Y=B.length;!B.reading&amp;&amp;!B.flowing&amp;&amp;!B.ended&amp;&amp;B.length&lt;B.highWaterMark&amp;&amp;(p(&quot;maybeReadMore read 0&quot;),R.read(0),Y!==B.length);)Y=B.length;B.readingMore=!1}function I(R){p(&quot;readable nexttick read 0&quot;),R.read(0)}function C(R,B){B.reading||(p(&quot;resume read 0&quot;),R.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,R.emit(&quot;resume&quot;),j(R),B.flowing&amp;&amp;!B.reading&amp;&amp;R.read(0)}function j(R){var B=R._readableState;for(p(&quot;flow&quot;,B.flowing);B.flowing&amp;&amp;R.read()!==null;);}function k(R,B){return B.length===0?null:(B.objectMode?Y=B.buffer.shift():!R||R&gt;=B.length?(Y=B.decoder?B.buffer.join(&quot;&quot;):B.buffer.length===1?B.buffer.head.data:B.buffer.concat(B.length),B.buffer.clear()):Y=(function(Z,ne,U){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():U?(function(F,P){var X=P.head,re=1,Q=X.data;for(F-=Q.length;X=X.next;){var te=X.data,ae=F&gt;te.length?te.length:F;if(ae===te.length?Q+=te:Q+=te.slice(0,F),(F-=ae)===0){ae===te.length?(++re,X.next?P.head=X.next:P.head=P.tail=null):(P.head=X,X.data=te.slice(ae));break}++re}return P.length-=re,Q})(Z,ne):(function(F,P){var X=f.allocUnsafe(F),re=P.head,Q=1;for(re.data.copy(X),F-=re.data.length;re=re.next;){var te=re.data,ae=F&gt;te.length?te.length:F;if(te.copy(X,X.length-F,0,ae),(F-=ae)===0){ae===te.length?(++Q,re.next?P.head=re.next:P.head=P.tail=null):(P.head=re,re.data=te.slice(ae));break}++Q}return P.length-=Q,X})(Z,ne),ee})(R,B.buffer,B.decoder),Y);var Y}function S(R){var B=R._readableState;if(B.length&gt;0)throw new Error(&#039;&quot;endReadable()&quot; called on non-empty stream&#039;);B.endEmitted||(B.ended=!0,u.nextTick(N,B,R))}function N(R,B){R.endEmitted||R.length!==0||(R.endEmitted=!0,B.readable=!1,B.emit(&quot;end&quot;))}function T(R,B){for(var Y=0,Z=R.length;Y&lt;Z;Y++)if(R[Y]===B)return Y;return-1}D.prototype.read=function(R){p(&quot;read&quot;,R),R=parseInt(R,10);var B=this._readableState,Y=R;if(R!==0&amp;&amp;(B.emittedReadable=!1),R===0&amp;&amp;B.needReadable&amp;&amp;(B.length&gt;=B.highWaterMark||B.ended))return p(&quot;read: emitReadable&quot;,B.length,B.ended),B.length===0&amp;&amp;B.ended?S(this):H(this),null;if((R=V(R,B))===0&amp;&amp;B.ended)return B.length===0&amp;&amp;S(this),null;var Z,ne=B.needReadable;return p(&quot;need readable&quot;,ne),(B.length===0||B.length-R&lt;B.highWaterMark)&amp;&amp;p(&quot;length less than watermark&quot;,ne=!0),B.ended||B.reading?p(&quot;reading or ended&quot;,ne=!1):ne&amp;&amp;(p(&quot;do read&quot;),B.reading=!0,B.sync=!0,B.length===0&amp;&amp;(B.needReadable=!0),this._read(B.highWaterMark),B.sync=!1,B.reading||(R=V(Y,B))),(Z=R&gt;0?k(R,B):null)===null?(B.needReadable=!0,R=0):B.length-=R,B.length===0&amp;&amp;(B.ended||(B.needReadable=!0),Y!==R&amp;&amp;B.ended&amp;&amp;S(this)),Z!==null&amp;&amp;this.emit(&quot;data&quot;,Z),Z},D.prototype._read=function(R){this.emit(&quot;error&quot;,new Error(&quot;_read() is not implemented&quot;))},D.prototype.pipe=function(R,B){var Y=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=R;break;case 1:Z.pipes=[Z.pipes,R];break;default:Z.pipes.push(R)}Z.pipesCount+=1,p(&quot;pipe count=%d opts=%j&quot;,Z.pipesCount,B);var ne=(!B||B.end!==!1)&amp;&amp;R!==s.stdout&amp;&amp;R!==s.stderr?ee:ce;function U(he,se){p(&quot;onunpipe&quot;),he===Y&amp;&amp;se&amp;&amp;se.hasUnpiped===!1&amp;&amp;(se.hasUnpiped=!0,p(&quot;cleanup&quot;),R.removeListener(&quot;close&quot;,te),R.removeListener(&quot;finish&quot;,ae),R.removeListener(&quot;drain&quot;,F),R.removeListener(&quot;error&quot;,Q),R.removeListener(&quot;unpipe&quot;,U),Y.removeListener(&quot;end&quot;,ee),Y.removeListener(&quot;end&quot;,ce),Y.removeListener(&quot;data&quot;,re),P=!0,!Z.awaitDrain||R._writableState&amp;&amp;!R._writableState.needDrain||F())}function ee(){p(&quot;onend&quot;),R.end()}Z.endEmitted?u.nextTick(ne):Y.once(&quot;end&quot;,ne),R.on(&quot;unpipe&quot;,U);var F=(function(he){return function(){var se=he._readableState;p(&quot;pipeOnDrain&quot;,se.awaitDrain),se.awaitDrain&amp;&amp;se.awaitDrain--,se.awaitDrain===0&amp;&amp;c(he,&quot;data&quot;)&amp;&amp;(se.flowing=!0,j(he))}})(Y);R.on(&quot;drain&quot;,F);var P=!1,X=!1;function re(he){p(&quot;ondata&quot;),X=!1,R.write(he)!==!1||X||((Z.pipesCount===1&amp;&amp;Z.pipes===R||Z.pipesCount&gt;1&amp;&amp;T(Z.pipes,R)!==-1)&amp;&amp;!P&amp;&amp;(p(&quot;false write response, pause&quot;,Z.awaitDrain),Z.awaitDrain++,X=!0),Y.pause())}function Q(he){p(&quot;onerror&quot;,he),ce(),R.removeListener(&quot;error&quot;,Q),c(R,&quot;error&quot;)===0&amp;&amp;R.emit(&quot;error&quot;,he)}function te(){R.removeListener(&quot;finish&quot;,ae),ce()}function ae(){p(&quot;onfinish&quot;),R.removeListener(&quot;close&quot;,te),ce()}function ce(){p(&quot;unpipe&quot;),Y.unpipe(R)}return Y.on(&quot;data&quot;,re),(function(he,se,de){if(typeof he.prependListener==&quot;function&quot;)return he.prependListener(se,de);he._events&amp;&amp;he._events[se]?i(he._events[se])?he._events[se].unshift(de):he._events[se]=[de,he._events[se]]:he.on(se,de)})(R,&quot;error&quot;,Q),R.once(&quot;close&quot;,te),R.once(&quot;finish&quot;,ae),R.emit(&quot;pipe&quot;,Y),Z.flowing||(p(&quot;pipe resume&quot;),Y.resume()),R},D.prototype.unpipe=function(R){var B=this._readableState,Y={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return R&amp;&amp;R!==B.pipes||(R||(R=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,R&amp;&amp;R.emit(&quot;unpipe&quot;,this,Y)),this;if(!R){var Z=B.pipes,ne=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var U=0;U&lt;ne;U++)Z[U].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ee=T(B.pipes,R);return ee===-1||(B.pipes.splice(ee,1),B.pipesCount-=1,B.pipesCount===1&amp;&amp;(B.pipes=B.pipes[0]),R.emit(&quot;unpipe&quot;,this,Y)),this},D.prototype.on=function(R,B){var Y=h.prototype.on.call(this,R,B);if(R===&quot;data&quot;)this._readableState.flowing!==!1&amp;&amp;this.resume();else if(R===&quot;readable&quot;){var Z=this._readableState;Z.endEmitted||Z.readableListening||(Z.readableListening=Z.needReadable=!0,Z.emittedReadable=!1,Z.reading?Z.length&amp;&amp;H(this):u.nextTick(I,this))}return Y},D.prototype.addListener=D.prototype.on,D.prototype.resume=function(){var R=this._readableState;return R.flowing||(p(&quot;resume&quot;),R.flowing=!0,(function(B,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,u.nextTick(C,B,Y))})(this,R)),this},D.prototype.pause=function(){return p(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(p(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this},D.prototype.wrap=function(R){var B=this,Y=this._readableState,Z=!1;for(var ne in R.on(&quot;end&quot;,(function(){if(p(&quot;wrapped end&quot;),Y.decoder&amp;&amp;!Y.ended){var ee=Y.decoder.end();ee&amp;&amp;ee.length&amp;&amp;B.push(ee)}B.push(null)})),R.on(&quot;data&quot;,(function(ee){p(&quot;wrapped data&quot;),Y.decoder&amp;&amp;(ee=Y.decoder.write(ee)),Y.objectMode&amp;&amp;ee==null||(Y.objectMode||ee&amp;&amp;ee.length)&amp;&amp;(B.push(ee)||(Z=!0,R.pause()))})),R)this[ne]===void 0&amp;&amp;typeof R[ne]==&quot;function&quot;&amp;&amp;(this[ne]=(function(ee){return function(){return R[ee].apply(R,arguments)}})(ne));for(var U=0;U&lt;E.length;U++)R.on(E[U],this.emit.bind(this,E[U]));return this._read=function(ee){p(&quot;wrapped _read&quot;,ee),Z&amp;&amp;(Z=!1,R.resume())},this},Object.defineProperty(D.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),D._fromList=k}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/BufferList&quot;:513,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,events:422,inherits:440,isarray:506,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,&quot;string_decoder/&quot;:521,util:188}],511:[function(t,n,o){n.exports=l;var s=t(&quot;./_stream_duplex&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(h,f){var d=this._transformState;d.transforming=!1;var v=d.writecb;if(!v)return this.emit(&quot;error&quot;,new Error(&quot;write callback called multiple times&quot;));d.writechunk=null,d.writecb=null,f!=null&amp;&amp;this.push(f),v(h);var y=this._readableState;y.reading=!1,(y.needReadable||y.length&lt;y.highWaterMark)&amp;&amp;this._read(y.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);s.call(this,h),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&amp;&amp;(typeof h.transform==&quot;function&quot;&amp;&amp;(this._transform=h.transform),typeof h.flush==&quot;function&quot;&amp;&amp;(this._flush=h.flush)),this.on(&quot;prefinish&quot;,i)}function i(){var h=this;typeof this._flush==&quot;function&quot;?this._flush((function(f,d){c(h,f,d)})):c(this,null,null)}function c(h,f,d){if(f)return h.emit(&quot;error&quot;,f);if(d!=null&amp;&amp;h.push(d),h._writableState.length)throw new Error(&quot;Calling transform done when ws.length != 0&quot;);if(h._transformState.transforming)throw new Error(&quot;Calling transform done when still transforming&quot;);return h.push(null)}a.inherits=t(&quot;inherits&quot;),a.inherits(l,s),l.prototype.push=function(h,f){return this._transformState.needTransform=!1,s.prototype.push.call(this,h,f)},l.prototype._transform=function(h,f,d){throw new Error(&quot;_transform() is not implemented&quot;)},l.prototype._write=function(h,f,d){var v=this._transformState;if(v.writecb=d,v.writechunk=h,v.writeencoding=f,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length&lt;y.highWaterMark)&amp;&amp;this._read(y.highWaterMark)}},l.prototype._read=function(h){var f=this._transformState;f.writechunk!==null&amp;&amp;f.writecb&amp;&amp;!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},l.prototype._destroy=function(h,f){var d=this;s.prototype._destroy.call(this,h,(function(v){f(v),d.emit(&quot;close&quot;)}))}},{&quot;./_stream_duplex&quot;:508,&quot;core-util-is&quot;:383,inherits:440}],512:[function(t,n,o){(function(s,a,u){(function(){var l=t(&quot;process-nextick-args&quot;);function i(z){var O=this;this.next=null,this.entry=null,this.finish=function(){(function(I,C,j){var k=I.entry;for(I.entry=null;k;){var S=k.callback;C.pendingcb--,S(j),k=k.next}C.corkedRequestsFree.next=I})(O,z)}}n.exports=M;var c,h=!s.browser&amp;&amp;[&quot;v0.10&quot;,&quot;v0.9.&quot;].indexOf(s.version.slice(0,5))&gt;-1?u:l.nextTick;M.WritableState=E;var f=Object.create(t(&quot;core-util-is&quot;));f.inherits=t(&quot;inherits&quot;);var d={deprecate:t(&quot;util-deprecate&quot;)},v=t(&quot;./internal/streams/stream&quot;),y=t(&quot;safe-buffer&quot;).Buffer,p=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},b,x=t(&quot;./internal/streams/destroy&quot;);function _(){}function E(z,O){c=c||t(&quot;./_stream_duplex&quot;),z=z||{};var I=O instanceof c;this.objectMode=!!z.objectMode,I&amp;&amp;(this.objectMode=this.objectMode||!!z.writableObjectMode);var C=z.highWaterMark,j=z.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=C||C===0?C:I&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=z.decodeStrings===!1;this.decodeStrings=!S,this.defaultEncoding=z.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){(function(T,R){var B=T._writableState,Y=B.sync,Z=B.writecb;if((function(U){U.writing=!1,U.writecb=null,U.length-=U.writelen,U.writelen=0})(B),R)(function(U,ee,F,P,X){--ee.pendingcb,F?(l.nextTick(X,P),l.nextTick(K,U,ee),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,P)):(X(P),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,P),K(U,ee))})(T,B,Y,R,Z);else{var ne=V(B);ne||B.corked||B.bufferProcessing||!B.bufferedRequest||L(T,B),Y?h(W,T,B,ne,Z):W(T,B,ne,Z)}})(O,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 i(this)}function M(z){if(c=c||t(&quot;./_stream_duplex&quot;),!(b.call(M,this)||this instanceof c))return new M(z);this._writableState=new E(z,this),this.writable=!0,z&amp;&amp;(typeof z.write==&quot;function&quot;&amp;&amp;(this._write=z.write),typeof z.writev==&quot;function&quot;&amp;&amp;(this._writev=z.writev),typeof z.destroy==&quot;function&quot;&amp;&amp;(this._destroy=z.destroy),typeof z.final==&quot;function&quot;&amp;&amp;(this._final=z.final)),v.call(this)}function D(z,O,I,C,j,k,S){O.writelen=C,O.writecb=S,O.writing=!0,O.sync=!0,I?z._writev(j,O.onwrite):z._write(j,k,O.onwrite),O.sync=!1}function W(z,O,I,C){I||(function(j,k){k.length===0&amp;&amp;k.needDrain&amp;&amp;(k.needDrain=!1,j.emit(&quot;drain&quot;))})(z,O),O.pendingcb--,C(),K(z,O)}function L(z,O){O.bufferProcessing=!0;var I=O.bufferedRequest;if(z._writev&amp;&amp;I&amp;&amp;I.next){var C=O.bufferedRequestCount,j=new Array(C),k=O.corkedRequestsFree;k.entry=I;for(var S=0,N=!0;I;)j[S]=I,I.isBuf||(N=!1),I=I.next,S+=1;j.allBuffers=N,D(z,O,!0,O.length,j,&quot;&quot;,k.finish),O.pendingcb++,O.lastBufferedRequest=null,k.next?(O.corkedRequestsFree=k.next,k.next=null):O.corkedRequestsFree=new i(O),O.bufferedRequestCount=0}else{for(;I;){var T=I.chunk,R=I.encoding,B=I.callback;if(D(z,O,!1,O.objectMode?1:T.length,T,R,B),I=I.next,O.bufferedRequestCount--,O.writing)break}I===null&amp;&amp;(O.lastBufferedRequest=null)}O.bufferedRequest=I,O.bufferProcessing=!1}function V(z){return z.ending&amp;&amp;z.length===0&amp;&amp;z.bufferedRequest===null&amp;&amp;!z.finished&amp;&amp;!z.writing}function H(z,O){z._final((function(I){O.pendingcb--,I&amp;&amp;z.emit(&quot;error&quot;,I),O.prefinished=!0,z.emit(&quot;prefinish&quot;),K(z,O)}))}function K(z,O){var I=V(O);return I&amp;&amp;((function(C,j){j.prefinished||j.finalCalled||(typeof C._final==&quot;function&quot;?(j.pendingcb++,j.finalCalled=!0,l.nextTick(H,C,j)):(j.prefinished=!0,C.emit(&quot;prefinish&quot;)))})(z,O),O.pendingcb===0&amp;&amp;(O.finished=!0,z.emit(&quot;finish&quot;))),I}f.inherits(M,v),E.prototype.getBuffer=function(){for(var z=this.bufferedRequest,O=[];z;)O.push(z),z=z.next;return O},(function(){try{Object.defineProperty(E.prototype,&quot;buffer&quot;,{get:d.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;?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(M,Symbol.hasInstance,{value:function(z){return!!b.call(this,z)||this===M&amp;&amp;z&amp;&amp;z._writableState instanceof E}})):b=function(z){return z instanceof this},M.prototype.pipe=function(){this.emit(&quot;error&quot;,new Error(&quot;Cannot pipe, not readable&quot;))},M.prototype.write=function(z,O,I){var C,j=this._writableState,k=!1,S=!j.objectMode&amp;&amp;(C=z,y.isBuffer(C)||C instanceof p);return S&amp;&amp;!y.isBuffer(z)&amp;&amp;(z=(function(N){return y.from(N)})(z)),typeof O==&quot;function&quot;&amp;&amp;(I=O,O=null),S?O=&quot;buffer&quot;:O||(O=j.defaultEncoding),typeof I!=&quot;function&quot;&amp;&amp;(I=_),j.ended?(function(N,T){var R=new Error(&quot;write after end&quot;);N.emit(&quot;error&quot;,R),l.nextTick(T,R)})(this,I):(S||(function(N,T,R,B){var Y=!0,Z=!1;return R===null?Z=new TypeError(&quot;May not write null values to stream&quot;):typeof R==&quot;string&quot;||R===void 0||T.objectMode||(Z=new TypeError(&quot;Invalid non-string/buffer chunk&quot;)),Z&amp;&amp;(N.emit(&quot;error&quot;,Z),l.nextTick(B,Z),Y=!1),Y})(this,j,z,I))&amp;&amp;(j.pendingcb++,k=(function(N,T,R,B,Y,Z){if(!R){var ne=(function(P,X,re){return P.objectMode||P.decodeStrings===!1||typeof X!=&quot;string&quot;||(X=y.from(X,re)),X})(T,B,Y);B!==ne&amp;&amp;(R=!0,Y=&quot;buffer&quot;,B=ne)}var U=T.objectMode?1:B.length;T.length+=U;var ee=T.length&lt;T.highWaterMark;if(ee||(T.needDrain=!0),T.writing||T.corked){var F=T.lastBufferedRequest;T.lastBufferedRequest={chunk:B,encoding:Y,isBuf:R,callback:Z,next:null},F?F.next=T.lastBufferedRequest:T.bufferedRequest=T.lastBufferedRequest,T.bufferedRequestCount+=1}else D(N,T,!1,U,B,Y,Z);return ee})(this,j,S,z,O,I)),k},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var z=this._writableState;z.corked&amp;&amp;(z.corked--,z.writing||z.corked||z.bufferProcessing||!z.bufferedRequest||L(this,z))},M.prototype.setDefaultEncoding=function(z){if(typeof z==&quot;string&quot;&amp;&amp;(z=z.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((z+&quot;&quot;).toLowerCase())&gt;-1))throw new TypeError(&quot;Unknown encoding: &quot;+z);return this._writableState.defaultEncoding=z,this},Object.defineProperty(M.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(z,O,I){I(new Error(&quot;_write() is not implemented&quot;))},M.prototype._writev=null,M.prototype.end=function(z,O,I){var C=this._writableState;typeof z==&quot;function&quot;?(I=z,z=null,O=null):typeof O==&quot;function&quot;&amp;&amp;(I=O,O=null),z!=null&amp;&amp;this.write(z,O),C.corked&amp;&amp;(C.corked=1,this.uncork()),C.ending||(function(j,k,S){k.ending=!0,K(j,k),S&amp;&amp;(k.finished?l.nextTick(S):j.once(&quot;finish&quot;,S)),k.ended=!0,j.writable=!1})(this,C,I)},Object.defineProperty(M.prototype,&quot;destroyed&quot;,{get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(z){this._writableState&amp;&amp;(this._writableState.destroyed=z)}}),M.prototype.destroy=x.destroy,M.prototype._undestroy=x.undestroy,M.prototype._destroy=function(z,O){this.end(),O(z)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,timers:523,&quot;util-deprecate&quot;:524}],513:[function(t,n,o){var s=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;util&quot;);n.exports=(function(){function u(){(function(l,i){if(!(l instanceof i))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,u),this.head=null,this.tail=null,this.length=0}return u.prototype.push=function(l){var i={data:l,next:null};this.length&gt;0?this.tail.next=i:this.head=i,this.tail=i,++this.length},u.prototype.unshift=function(l){var i={data:l,next:this.head};this.length===0&amp;&amp;(this.tail=i),this.head=i,++this.length},u.prototype.shift=function(){if(this.length!==0){var l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(l){if(this.length===0)return&quot;&quot;;for(var i=this.head,c=&quot;&quot;+i.data;i=i.next;)c+=l+i.data;return c},u.prototype.concat=function(l){if(this.length===0)return s.alloc(0);for(var i,c,h,f=s.allocUnsafe(l&gt;&gt;&gt;0),d=this.head,v=0;d;)i=d.data,c=f,h=v,i.copy(c,h),v+=d.data.length,d=d.next;return f},u})(),a&amp;&amp;a.inspect&amp;&amp;a.inspect.custom&amp;&amp;(n.exports.prototype[a.inspect.custom]=function(){var u=a.inspect({length:this.length});return this.constructor.name+&quot; &quot;+u})},{&quot;safe-buffer&quot;:520,util:188}],514:[function(t,n,o){var s=t(&quot;process-nextick-args&quot;);function a(u,l){u.emit(&quot;error&quot;,l)}n.exports={destroy:function(u,l){var i=this,c=this._readableState&amp;&amp;this._readableState.destroyed,h=this._writableState&amp;&amp;this._writableState.destroyed;return c||h?(l?l(u):u&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,s.nextTick(a,this,u)):s.nextTick(a,this,u)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(u||null,(function(f){!l&amp;&amp;f?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,s.nextTick(a,i,f)):s.nextTick(a,i,f):l&amp;&amp;l(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)}}},{&quot;process-nextick-args&quot;:466}],515:[function(t,n,o){arguments[4][490][0].apply(o,arguments)},{dup:490,events:422}],516:[function(t,n,o){n.exports=t(&quot;./readable&quot;).PassThrough},{&quot;./readable&quot;:517}],517:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508,&quot;./lib/_stream_passthrough.js&quot;:509,&quot;./lib/_stream_readable.js&quot;:510,&quot;./lib/_stream_transform.js&quot;:511,&quot;./lib/_stream_writable.js&quot;:512}],518:[function(t,n,o){n.exports=t(&quot;./readable&quot;).Transform},{&quot;./readable&quot;:517}],519:[function(t,n,o){n.exports=t(&quot;./lib/_stream_writable.js&quot;)},{&quot;./lib/_stream_writable.js&quot;:512}],520:[function(t,n,o){arguments[4][217][0].apply(o,arguments)},{buffer:220,dup:217}],521:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:520}],522:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:494}],523:[function(t,n,o){(function(s,a){(function(){var u=t(&quot;process/browser.js&quot;).nextTick,l=Function.prototype.apply,i=Array.prototype.slice,c={},h=0;function f(d,v){this._id=d,this._clearFn=v}o.setTimeout=function(){return new f(l.call(setTimeout,window,arguments),clearTimeout)},o.setInterval=function(){return new f(l.call(setInterval,window,arguments),clearInterval)},o.clearTimeout=o.clearInterval=function(d){d.close()},f.prototype.unref=f.prototype.ref=function(){},f.prototype.close=function(){this._clearFn.call(window,this._id)},o.enroll=function(d,v){clearTimeout(d._idleTimeoutId),d._idleTimeout=v},o.unenroll=function(d){clearTimeout(d._idleTimeoutId),d._idleTimeout=-1},o._unrefActive=o.active=function(d){clearTimeout(d._idleTimeoutId);var v=d._idleTimeout;v&gt;=0&amp;&amp;(d._idleTimeoutId=setTimeout((function(){d._onTimeout&amp;&amp;d._onTimeout()}),v))},o.setImmediate=typeof s==&quot;function&quot;?s:function(d){var v=h++,y=!(arguments.length&lt;2)&amp;&amp;i.call(arguments,1);return c[v]=!0,u((function(){c[v]&amp;&amp;(y?d.apply(null,y):d.call(null),o.clearImmediate(v))})),v},o.clearImmediate=typeof a==&quot;function&quot;?a:function(d){delete c[d]}}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate,t(&quot;timers&quot;).clearImmediate)},{&quot;process/browser.js&quot;:467,timers:523}],524:[function(t,n,o){(function(s){(function(){function a(u){try{if(!s.localStorage)return!1}catch{return!1}var l=s.localStorage[u];return l!=null&amp;&amp;String(l).toLowerCase()===&quot;true&quot;}n.exports=function(u,l){if(a(&quot;noDeprecation&quot;))return u;var i=!1;return function(){if(!i){if(a(&quot;throwDeprecation&quot;))throw new Error(l);a(&quot;traceDeprecation&quot;)?console.trace(l):console.warn(l),i=!0}return u.apply(this,arguments)}}}).call(this)}).call(this,typeof Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],525:[function(t,n,o){typeof Object.create==&quot;function&quot;?n.exports=function(s,a){s.super_=a,s.prototype=Object.create(a.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(s,a){s.super_=a;var u=function(){};u.prototype=a.prototype,s.prototype=new u,s.prototype.constructor=s}},{}],526:[function(t,n,o){n.exports=function(s){return s&amp;&amp;typeof s==&quot;object&quot;&amp;&amp;typeof s.copy==&quot;function&quot;&amp;&amp;typeof s.fill==&quot;function&quot;&amp;&amp;typeof s.readUInt8==&quot;function&quot;}},{}],527:[function(t,n,o){(function(s,a){(function(){var u=/%[sdj%]/g;o.format=function(j){if(!E(j)){for(var k=[],S=0;S&lt;arguments.length;S++)k.push(c(arguments[S]));return k.join(&quot; &quot;)}S=1;for(var N=arguments,T=N.length,R=String(j).replace(u,(function(Y){if(Y===&quot;%%&quot;)return&quot;%&quot;;if(S&gt;=T)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;T;B=N[++S])x(B)||!W(B)?R+=&quot; &quot;+B:R+=&quot; &quot;+c(B);return R},o.deprecate=function(j,k){if(M(a.process))return function(){return o.deprecate(j,k).apply(this,arguments)};if(s.noDeprecation===!0)return j;var S=!1;return function(){if(!S){if(s.throwDeprecation)throw new Error(k);s.traceDeprecation?console.trace(k):console.error(k),S=!0}return j.apply(this,arguments)}};var l,i={};function c(j,k){var S={seen:[],stylize:f};return arguments.length&gt;=3&amp;&amp;(S.depth=arguments[2]),arguments.length&gt;=4&amp;&amp;(S.colors=arguments[3]),b(k)?S.showHidden=k:k&amp;&amp;o._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=h),d(S,j,S.depth)}function h(j,k){var S=c.styles[k];return S?&quot;\x1B[&quot;+c.colors[S][0]+&quot;m&quot;+j+&quot;\x1B[&quot;+c.colors[S][1]+&quot;m&quot;:j}function f(j,k){return j}function d(j,k,S){if(j.customInspect&amp;&amp;k&amp;&amp;H(k.inspect)&amp;&amp;k.inspect!==o.inspect&amp;&amp;(!k.constructor||k.constructor.prototype!==k)){var N=k.inspect(S,j);return E(N)||(N=d(j,N,S)),N}var T=(function(F,P){if(M(P))return F.stylize(&quot;undefined&quot;,&quot;undefined&quot;);if(E(P)){var X=&quot;&#039;&quot;+JSON.stringify(P).replace(/^&quot;|&quot;$/g,&quot;&quot;).replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;)+&quot;&#039;&quot;;return F.stylize(X,&quot;string&quot;)}if(_(P))return F.stylize(&quot;&quot;+P,&quot;number&quot;);if(b(P))return F.stylize(&quot;&quot;+P,&quot;boolean&quot;);if(x(P))return F.stylize(&quot;null&quot;,&quot;null&quot;)})(j,k);if(T)return T;var R=Object.keys(k),B=(function(F){var P={};return F.forEach((function(X,re){P[X]=!0})),P})(R);if(j.showHidden&amp;&amp;(R=Object.getOwnPropertyNames(k)),V(k)&amp;&amp;(R.indexOf(&quot;message&quot;)&gt;=0||R.indexOf(&quot;description&quot;)&gt;=0))return v(k);if(R.length===0){if(H(k)){var Y=k.name?&quot;: &quot;+k.name:&quot;&quot;;return j.stylize(&quot;[Function&quot;+Y+&quot;]&quot;,&quot;special&quot;)}if(D(k))return j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;);if(L(k))return j.stylize(Date.prototype.toString.call(k),&quot;date&quot;);if(V(k))return v(k)}var Z,ne=&quot;&quot;,U=!1,ee=[&quot;{&quot;,&quot;}&quot;];return p(k)&amp;&amp;(U=!0,ee=[&quot;[&quot;,&quot;]&quot;]),H(k)&amp;&amp;(ne=&quot; [Function&quot;+(k.name?&quot;: &quot;+k.name:&quot;&quot;)+&quot;]&quot;),D(k)&amp;&amp;(ne=&quot; &quot;+RegExp.prototype.toString.call(k)),L(k)&amp;&amp;(ne=&quot; &quot;+Date.prototype.toUTCString.call(k)),V(k)&amp;&amp;(ne=&quot; &quot;+v(k)),R.length!==0||U&amp;&amp;k.length!=0?S&lt;0?D(k)?j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;):j.stylize(&quot;[Object]&quot;,&quot;special&quot;):(j.seen.push(k),Z=U?(function(F,P,X,re,Q){for(var te=[],ae=0,ce=P.length;ae&lt;ce;++ae)C(P,String(ae))?te.push(y(F,P,X,re,String(ae),!0)):te.push(&quot;&quot;);return Q.forEach((function(he){he.match(/^\d+$/)||te.push(y(F,P,X,re,he,!0))})),te})(j,k,S,B,R):R.map((function(F){return y(j,k,S,B,F,U)})),j.seen.pop(),(function(F,P,X){return F.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]+(P===&quot;&quot;?&quot;&quot;:P+`
 `)+&quot; &quot;+F.join(`,
  `)+&quot; &quot;+X[1]:X[0]+P+&quot; &quot;+F.join(&quot;, &quot;)+&quot; &quot;+X[1]})(Z,ne,ee)):ee[0]+ne+ee[1]}function v(j){return&quot;[&quot;+Error.prototype.toString.call(j)+&quot;]&quot;}function y(j,k,S,N,T,R){var B,Y,Z;if((Z=Object.getOwnPropertyDescriptor(k,T)||{value:k[T]}).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;)),C(N,T)||(B=&quot;[&quot;+T+&quot;]&quot;),Y||(j.seen.indexOf(Z.value)&lt;0?(Y=x(S)?d(j,Z.value,null):d(j,Z.value,S-1)).indexOf(`
`)&gt;-1&amp;&amp;(Y=R?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(R&amp;&amp;T.match(/^\d+$/))return Y;(B=JSON.stringify(&quot;&quot;+T)).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 p(j){return Array.isArray(j)}function b(j){return typeof j==&quot;boolean&quot;}function x(j){return j===null}function _(j){return typeof j==&quot;number&quot;}function E(j){return typeof j==&quot;string&quot;}function M(j){return j===void 0}function D(j){return W(j)&amp;&amp;K(j)===&quot;[object RegExp]&quot;}function W(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null}function L(j){return W(j)&amp;&amp;K(j)===&quot;[object Date]&quot;}function V(j){return W(j)&amp;&amp;(K(j)===&quot;[object Error]&quot;||j instanceof Error)}function H(j){return typeof j==&quot;function&quot;}function K(j){return Object.prototype.toString.call(j)}function z(j){return j&lt;10?&quot;0&quot;+j.toString(10):j.toString(10)}o.debuglog=function(j){if(M(l)&amp;&amp;(l=s.env.NODE_DEBUG||&quot;&quot;),j=j.toUpperCase(),!i[j])if(new RegExp(&quot;\\b&quot;+j+&quot;\\b&quot;,&quot;i&quot;).test(l)){var k=s.pid;i[j]=function(){var S=o.format.apply(o,arguments);console.error(&quot;%s %d: %s&quot;,j,k,S)}}else i[j]=function(){};return i[j]},o.inspect=c,c.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]},c.styles={special:&quot;cyan&quot;,number:&quot;yellow&quot;,boolean:&quot;yellow&quot;,undefined:&quot;grey&quot;,null:&quot;bold&quot;,string:&quot;green&quot;,date:&quot;magenta&quot;,regexp:&quot;red&quot;},o.isArray=p,o.isBoolean=b,o.isNull=x,o.isNullOrUndefined=function(j){return j==null},o.isNumber=_,o.isString=E,o.isSymbol=function(j){return typeof j==&quot;symbol&quot;},o.isUndefined=M,o.isRegExp=D,o.isObject=W,o.isDate=L,o.isError=V,o.isFunction=H,o.isPrimitive=function(j){return j===null||typeof j==&quot;boolean&quot;||typeof j==&quot;number&quot;||typeof j==&quot;string&quot;||typeof j==&quot;symbol&quot;||j===void 0},o.isBuffer=t(&quot;./support/isBuffer&quot;);var O=[&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 I(){var j=new Date,k=[z(j.getHours()),z(j.getMinutes()),z(j.getSeconds())].join(&quot;:&quot;);return[j.getDate(),O[j.getMonth()],k].join(&quot; &quot;)}function C(j,k){return Object.prototype.hasOwnProperty.call(j,k)}o.log=function(){console.log(&quot;%s - %s&quot;,I(),o.format.apply(o,arguments))},o.inherits=t(&quot;inherits&quot;),o._extend=function(j,k){if(!k||!W(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 Gt&lt;&quot;u&quot;?Gt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./support/isBuffer&quot;:526,_process:467,inherits:525}],528:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),Object.defineProperty(o,&quot;v1&quot;,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(o,&quot;v3&quot;,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(o,&quot;v4&quot;,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(o,&quot;v5&quot;,{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(o,&quot;NIL&quot;,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(o,&quot;version&quot;,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(o,&quot;validate&quot;,{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(o,&quot;stringify&quot;,{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return d.default}});var s=v(t(&quot;./v1.js&quot;)),a=v(t(&quot;./v3.js&quot;)),u=v(t(&quot;./v4.js&quot;)),l=v(t(&quot;./v5.js&quot;)),i=v(t(&quot;./nil.js&quot;)),c=v(t(&quot;./version.js&quot;)),h=v(t(&quot;./validate.js&quot;)),f=v(t(&quot;./stringify.js&quot;)),d=v(t(&quot;./parse.js&quot;));function v(y){return y&amp;&amp;y.__esModule?y:{default:y}}},{&quot;./nil.js&quot;:530,&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535,&quot;./v1.js&quot;:536,&quot;./v3.js&quot;:537,&quot;./v4.js&quot;:539,&quot;./v5.js&quot;:540,&quot;./validate.js&quot;:541,&quot;./version.js&quot;:542}],529:[function(t,n,o){function s(d){return 14+(d+64&gt;&gt;&gt;9&lt;&lt;4)+1}function a(d,v){const y=(65535&amp;d)+(65535&amp;v);return(d&gt;&gt;16)+(v&gt;&gt;16)+(y&gt;&gt;16)&lt;&lt;16|65535&amp;y}function u(d,v,y,p,b,x){return a((_=a(a(v,d),a(p,x)))&lt;&lt;(E=b)|_&gt;&gt;&gt;32-E,y);var _,E}function l(d,v,y,p,b,x,_){return u(v&amp;y|~v&amp;p,d,v,b,x,_)}function i(d,v,y,p,b,x,_){return u(v&amp;p|y&amp;~p,d,v,b,x,_)}function c(d,v,y,p,b,x,_){return u(v^y^p,d,v,b,x,_)}function h(d,v,y,p,b,x,_){return u(y^(v|~p),d,v,b,x,_)}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var f=function(d){if(typeof d==&quot;string&quot;){const v=unescape(encodeURIComponent(d));d=new Uint8Array(v.length);for(let y=0;y&lt;v.length;++y)d[y]=v.charCodeAt(y)}return(function(v){const y=[],p=32*v.length;for(let b=0;b&lt;p;b+=8){const x=v[b&gt;&gt;5]&gt;&gt;&gt;b%32&amp;255,_=parseInt(&quot;0123456789abcdef&quot;.charAt(x&gt;&gt;&gt;4&amp;15)+&quot;0123456789abcdef&quot;.charAt(15&amp;x),16);y.push(_)}return y})((function(v,y){v[y&gt;&gt;5]|=128&lt;&lt;y%32,v[s(y)-1]=y;let p=1732584193,b=-271733879,x=-1732584194,_=271733878;for(let E=0;E&lt;v.length;E+=16){const M=p,D=b,W=x,L=_;p=l(p,b,x,_,v[E],7,-680876936),_=l(_,p,b,x,v[E+1],12,-389564586),x=l(x,_,p,b,v[E+2],17,606105819),b=l(b,x,_,p,v[E+3],22,-1044525330),p=l(p,b,x,_,v[E+4],7,-176418897),_=l(_,p,b,x,v[E+5],12,1200080426),x=l(x,_,p,b,v[E+6],17,-1473231341),b=l(b,x,_,p,v[E+7],22,-45705983),p=l(p,b,x,_,v[E+8],7,1770035416),_=l(_,p,b,x,v[E+9],12,-1958414417),x=l(x,_,p,b,v[E+10],17,-42063),b=l(b,x,_,p,v[E+11],22,-1990404162),p=l(p,b,x,_,v[E+12],7,1804603682),_=l(_,p,b,x,v[E+13],12,-40341101),x=l(x,_,p,b,v[E+14],17,-1502002290),b=l(b,x,_,p,v[E+15],22,1236535329),p=i(p,b,x,_,v[E+1],5,-165796510),_=i(_,p,b,x,v[E+6],9,-1069501632),x=i(x,_,p,b,v[E+11],14,643717713),b=i(b,x,_,p,v[E],20,-373897302),p=i(p,b,x,_,v[E+5],5,-701558691),_=i(_,p,b,x,v[E+10],9,38016083),x=i(x,_,p,b,v[E+15],14,-660478335),b=i(b,x,_,p,v[E+4],20,-405537848),p=i(p,b,x,_,v[E+9],5,568446438),_=i(_,p,b,x,v[E+14],9,-1019803690),x=i(x,_,p,b,v[E+3],14,-187363961),b=i(b,x,_,p,v[E+8],20,1163531501),p=i(p,b,x,_,v[E+13],5,-1444681467),_=i(_,p,b,x,v[E+2],9,-51403784),x=i(x,_,p,b,v[E+7],14,1735328473),b=i(b,x,_,p,v[E+12],20,-1926607734),p=c(p,b,x,_,v[E+5],4,-378558),_=c(_,p,b,x,v[E+8],11,-2022574463),x=c(x,_,p,b,v[E+11],16,1839030562),b=c(b,x,_,p,v[E+14],23,-35309556),p=c(p,b,x,_,v[E+1],4,-1530992060),_=c(_,p,b,x,v[E+4],11,1272893353),x=c(x,_,p,b,v[E+7],16,-155497632),b=c(b,x,_,p,v[E+10],23,-1094730640),p=c(p,b,x,_,v[E+13],4,681279174),_=c(_,p,b,x,v[E],11,-358537222),x=c(x,_,p,b,v[E+3],16,-722521979),b=c(b,x,_,p,v[E+6],23,76029189),p=c(p,b,x,_,v[E+9],4,-640364487),_=c(_,p,b,x,v[E+12],11,-421815835),x=c(x,_,p,b,v[E+15],16,530742520),b=c(b,x,_,p,v[E+2],23,-995338651),p=h(p,b,x,_,v[E],6,-198630844),_=h(_,p,b,x,v[E+7],10,1126891415),x=h(x,_,p,b,v[E+14],15,-1416354905),b=h(b,x,_,p,v[E+5],21,-57434055),p=h(p,b,x,_,v[E+12],6,1700485571),_=h(_,p,b,x,v[E+3],10,-1894986606),x=h(x,_,p,b,v[E+10],15,-1051523),b=h(b,x,_,p,v[E+1],21,-2054922799),p=h(p,b,x,_,v[E+8],6,1873313359),_=h(_,p,b,x,v[E+15],10,-30611744),x=h(x,_,p,b,v[E+6],15,-1560198380),b=h(b,x,_,p,v[E+13],21,1309151649),p=h(p,b,x,_,v[E+4],6,-145523070),_=h(_,p,b,x,v[E+11],10,-1120210379),x=h(x,_,p,b,v[E+2],15,718787259),b=h(b,x,_,p,v[E+9],21,-343485551),p=a(p,M),b=a(b,D),x=a(x,W),_=a(_,L)}return[p,b,x,_]})((function(v){if(v.length===0)return[];const y=8*v.length,p=new Uint32Array(s(y));for(let b=0;b&lt;y;b+=8)p[b&gt;&gt;5]|=(255&amp;v[b/8])&lt;&lt;b%32;return p})(d),8*d.length))};o.default=f},{}],530:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.default=&quot;00000000-0000-0000-0000-000000000000&quot;},{}],531:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s,a=(s=t(&quot;./validate.js&quot;))&amp;&amp;s.__esModule?s:{default:s},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);let i;const c=new Uint8Array(16);return c[0]=(i=parseInt(l.slice(0,8),16))&gt;&gt;&gt;24,c[1]=i&gt;&gt;&gt;16&amp;255,c[2]=i&gt;&gt;&gt;8&amp;255,c[3]=255&amp;i,c[4]=(i=parseInt(l.slice(9,13),16))&gt;&gt;&gt;8,c[5]=255&amp;i,c[6]=(i=parseInt(l.slice(14,18),16))&gt;&gt;&gt;8,c[7]=255&amp;i,c[8]=(i=parseInt(l.slice(19,23),16))&gt;&gt;&gt;8,c[9]=255&amp;i,c[10]=(i=parseInt(l.slice(24,36),16))/1099511627776&amp;255,c[11]=i/4294967296&amp;255,c[12]=i&gt;&gt;&gt;24&amp;255,c[13]=i&gt;&gt;&gt;16&amp;255,c[14]=i&gt;&gt;&gt;8&amp;255,c[15]=255&amp;i,c};o.default=u},{&quot;./validate.js&quot;:541}],532:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(t,n,o){let s;Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=function(){if(!s&amp;&amp;(s=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),!s))throw new Error(&quot;crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported&quot;);return s(a)};const a=new Uint8Array(16)},{}],534:[function(t,n,o){function s(l,i,c,h){switch(l){case 0:return i&amp;c^~i&amp;h;case 1:return i^c^h;case 2:return i&amp;c^i&amp;h^c&amp;h;case 3:return i^c^h}}function a(l,i){return l&lt;&lt;i|l&gt;&gt;&gt;32-i}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var u=function(l){const i=[1518500249,1859775393,2400959708,3395469782],c=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof l==&quot;string&quot;){const v=unescape(encodeURIComponent(l));l=[];for(let y=0;y&lt;v.length;++y)l.push(v.charCodeAt(y))}else Array.isArray(l)||(l=Array.prototype.slice.call(l));l.push(128);const h=l.length/4+2,f=Math.ceil(h/16),d=new Array(f);for(let v=0;v&lt;f;++v){const y=new Uint32Array(16);for(let p=0;p&lt;16;++p)y[p]=l[64*v+4*p]&lt;&lt;24|l[64*v+4*p+1]&lt;&lt;16|l[64*v+4*p+2]&lt;&lt;8|l[64*v+4*p+3];d[v]=y}d[f-1][14]=8*(l.length-1)/Math.pow(2,32),d[f-1][14]=Math.floor(d[f-1][14]),d[f-1][15]=8*(l.length-1)&amp;4294967295;for(let v=0;v&lt;f;++v){const y=new Uint32Array(80);for(let M=0;M&lt;16;++M)y[M]=d[v][M];for(let M=16;M&lt;80;++M)y[M]=a(y[M-3]^y[M-8]^y[M-14]^y[M-16],1);let p=c[0],b=c[1],x=c[2],_=c[3],E=c[4];for(let M=0;M&lt;80;++M){const D=Math.floor(M/20),W=a(p,5)+s(D,b,x,_)+E+i[D]+y[M]&gt;&gt;&gt;0;E=_,_=x,x=a(b,30)&gt;&gt;&gt;0,b=p,p=W}c[0]=c[0]+p&gt;&gt;&gt;0,c[1]=c[1]+b&gt;&gt;&gt;0,c[2]=c[2]+x&gt;&gt;&gt;0,c[3]=c[3]+_&gt;&gt;&gt;0,c[4]=c[4]+E&gt;&gt;&gt;0}return[c[0]&gt;&gt;24&amp;255,c[0]&gt;&gt;16&amp;255,c[0]&gt;&gt;8&amp;255,255&amp;c[0],c[1]&gt;&gt;24&amp;255,c[1]&gt;&gt;16&amp;255,c[1]&gt;&gt;8&amp;255,255&amp;c[1],c[2]&gt;&gt;24&amp;255,c[2]&gt;&gt;16&amp;255,c[2]&gt;&gt;8&amp;255,255&amp;c[2],c[3]&gt;&gt;24&amp;255,c[3]&gt;&gt;16&amp;255,c[3]&gt;&gt;8&amp;255,255&amp;c[3],c[4]&gt;&gt;24&amp;255,c[4]&gt;&gt;16&amp;255,c[4]&gt;&gt;8&amp;255,255&amp;c[4]]};o.default=u},{}],535:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s,a=(s=t(&quot;./validate.js&quot;))&amp;&amp;s.__esModule?s:{default:s};const u=[];for(let i=0;i&lt;256;++i)u.push((i+256).toString(16).substr(1));var l=function(i){let c=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;const h=(u[i[c+0]]+u[i[c+1]]+u[i[c+2]]+u[i[c+3]]+&quot;-&quot;+u[i[c+4]]+u[i[c+5]]+&quot;-&quot;+u[i[c+6]]+u[i[c+7]]+&quot;-&quot;+u[i[c+8]]+u[i[c+9]]+&quot;-&quot;+u[i[c+10]]+u[i[c+11]]+u[i[c+12]]+u[i[c+13]]+u[i[c+14]]+u[i[c+15]]).toLowerCase();if(!(0,a.default)(h))throw TypeError(&quot;Stringified UUID is invalid&quot;);return h};o.default=l},{&quot;./validate.js&quot;:541}],536:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(d){return d&amp;&amp;d.__esModule?d:{default:d}}let l,i,c=0,h=0;var f=function(d,v,y){let p=v&amp;&amp;y||0;const b=v||new Array(16);let x=(d=d||{}).node||l,_=d.clockseq!==void 0?d.clockseq:i;if(x==null||_==null){const V=d.random||(d.rng||s.default)();x==null&amp;&amp;(x=l=[1|V[0],V[1],V[2],V[3],V[4],V[5]]),_==null&amp;&amp;(_=i=16383&amp;(V[6]&lt;&lt;8|V[7]))}let E=d.msecs!==void 0?d.msecs:Date.now(),M=d.nsecs!==void 0?d.nsecs:h+1;const D=E-c+(M-h)/1e4;if(D&lt;0&amp;&amp;d.clockseq===void 0&amp;&amp;(_=_+1&amp;16383),(D&lt;0||E&gt;c)&amp;&amp;d.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;);c=E,h=M,i=_,E+=122192928e5;const W=(1e4*(268435455&amp;E)+M)%4294967296;b[p++]=W&gt;&gt;&gt;24&amp;255,b[p++]=W&gt;&gt;&gt;16&amp;255,b[p++]=W&gt;&gt;&gt;8&amp;255,b[p++]=255&amp;W;const L=E/4294967296*1e4&amp;268435455;b[p++]=L&gt;&gt;&gt;8&amp;255,b[p++]=255&amp;L,b[p++]=L&gt;&gt;&gt;24&amp;15|16,b[p++]=L&gt;&gt;&gt;16&amp;255,b[p++]=_&gt;&gt;&gt;8|128,b[p++]=255&amp;_;for(let V=0;V&lt;6;++V)b[p+V]=x[V];return v||(0,a.default)(b)};o.default=f},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],537:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./md5.js&quot;));function u(i){return i&amp;&amp;i.__esModule?i:{default:i}}var l=(0,s.default)(&quot;v3&quot;,48,a.default);o.default=l},{&quot;./md5.js&quot;:529,&quot;./v35.js&quot;:538}],538:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=function(c,h,f){function d(v,y,p,b){if(typeof v==&quot;string&quot;&amp;&amp;(v=(function(_){_=unescape(encodeURIComponent(_));const E=[];for(let M=0;M&lt;_.length;++M)E.push(_.charCodeAt(M));return E})(v)),typeof y==&quot;string&quot;&amp;&amp;(y=(0,a.default)(y)),y.length!==16)throw TypeError(&quot;Namespace must be array-like (16 iterable integer values, 0-255)&quot;);let x=new Uint8Array(16+v.length);if(x.set(y),x.set(v,y.length),x=f(x),x[6]=15&amp;x[6]|h,x[8]=63&amp;x[8]|128,p){b=b||0;for(let _=0;_&lt;16;++_)p[b+_]=x[_];return p}return(0,s.default)(x)}try{d.name=c}catch{}return d.DNS=l,d.URL=i,d},o.URL=o.DNS=void 0;var s=u(t(&quot;./stringify.js&quot;)),a=u(t(&quot;./parse.js&quot;));function u(c){return c&amp;&amp;c.__esModule?c:{default:c}}const l=&quot;6ba7b810-9dad-11d1-80b4-00c04fd430c8&quot;;o.DNS=l;const i=&quot;6ba7b811-9dad-11d1-80b4-00c04fd430c8&quot;;o.URL=i},{&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535}],539:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(i){return i&amp;&amp;i.__esModule?i:{default:i}}var l=function(i,c,h){const f=(i=i||{}).random||(i.rng||s.default)();if(f[6]=15&amp;f[6]|64,f[8]=63&amp;f[8]|128,c){h=h||0;for(let d=0;d&lt;16;++d)c[h+d]=f[d];return c}return(0,a.default)(f)};o.default=l},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],540:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./sha1.js&quot;));function u(i){return i&amp;&amp;i.__esModule?i:{default:i}}var l=(0,s.default)(&quot;v5&quot;,80,a.default);o.default=l},{&quot;./sha1.js&quot;:534,&quot;./v35.js&quot;:538}],541:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s,a=(s=t(&quot;./regex.js&quot;))&amp;&amp;s.__esModule?s:{default:s},u=function(l){return typeof l==&quot;string&quot;&amp;&amp;a.default.test(l)};o.default=u},{&quot;./regex.js&quot;:532}],542:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var s,a=(s=t(&quot;./validate.js&quot;))&amp;&amp;s.__esModule?s:{default:s},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);return parseInt(l.substr(14,1),16)};o.default=u},{&quot;./validate.js&quot;:541}],543:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=`	
\r -퟿-�𐀀-􏿿`,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function s(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}o.S_LIST=[32,10,13,9],o.isChar=function(a){return a&gt;=32&amp;&amp;a&lt;=55295||a===10||a===13||a===9||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=s,o.isNameChar=function(a){return s(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],544:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=&quot;-퟿-�𐀀-􏿿&quot;,o.RESTRICTED_CHAR=&quot;-\b\v\f---&quot;,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.RESTRICTED_CHAR_RE=new RegExp(&quot;^[&quot;+o.RESTRICTED_CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function s(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}o.S_LIST=[32,10,13,9],o.isChar=function(a){return a&gt;=1&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isRestrictedChar=function(a){return a&gt;=1&amp;&amp;a&lt;=8||a===11||a===12||a&gt;=14&amp;&amp;a&lt;=31||a&gt;=127&amp;&amp;a&lt;=132||a&gt;=134&amp;&amp;a&lt;=159},o.isCharAndNotRestricted=function(a){return a===9||a===10||a===13||a&gt;31&amp;&amp;a&lt;127||a===133||a&gt;159&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=s,o.isNameChar=function(a){return s(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],545:[function(t,n,o){function s(a){return a&gt;=65&amp;&amp;a&lt;=90||a===95||a&gt;=97&amp;&amp;a&lt;=122||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8204&amp;&amp;a&lt;=8205||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.NC_NAME_START_CHAR=&quot;A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NC_NAME_CHAR=&quot;-&quot;+o.NC_NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.NC_NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;][&quot;+o.NC_NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.isNCNameStartChar=s,o.isNCNameChar=function(a){return s(a)||a===45||a===46||a&gt;=48&amp;&amp;a&lt;=57||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}]},{},[15])(15)}))})(Sv)),Sv.exports}var Hre=Wre();const Kre=ts(Hre);function Bh(e,r,t){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const n=Object.keys(e[0]),s=[n.join(&quot;,&quot;),...e.map(i=&gt;n.map(c=&gt;{const h=i[c];if(h==null)return&quot;&quot;;const f=String(h);return f.includes(&quot;,&quot;)||f.includes(&#039;&quot;&#039;)||f.includes(`
`)?`&quot;${f.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`:f}).join(&quot;,&quot;))].join(`
`),a=new Blob([&quot;\uFEFF&quot;+s],{type:&quot;text/csv;charset=utf-8;&quot;}),u=document.createElement(&quot;a&quot;),l=URL.createObjectURL(a);u.setAttribute(&quot;href&quot;,l),u.setAttribute(&quot;download&quot;,`${r}.csv`),u.style.visibility=&quot;hidden&quot;,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(l)}async function zh(e,r,t=&quot;Données&quot;,n){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const o=Object.keys(e[0]),s=new Kre.Workbook,a=s.addWorksheet(t);a.addRow(o);const u=a.getRow(1);u.font={bold:!0},u.fill={type:&quot;pattern&quot;,pattern:&quot;solid&quot;,fgColor:{argb:&quot;FFE5E7EB&quot;}},e.forEach(f=&gt;{const d=o.map(v=&gt;{const y=f[v];return y??&quot;&quot;});a.addRow(d)}),o.forEach((f,d)=&gt;{const v=a.getColumn(d+1);v.width=Math.max(f.length+2,15)});const l=await s.xlsx.writeBuffer(),i=new Blob([l],{type:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&quot;}),c=document.createElement(&quot;a&quot;),h=URL.createObjectURL(i);c.setAttribute(&quot;href&quot;,h),c.setAttribute(&quot;download&quot;,`${r}.xlsx`),c.style.visibility=&quot;hidden&quot;,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(h)}function Xre(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 Gre(e){return e?e===&quot;homme&quot;?&quot;Homme&quot;:e===&quot;femme&quot;?&quot;Femme&quot;:e:&quot;&quot;}function Yre(e){return e?{primaire:&quot;Primaire&quot;,secondaire_2:&quot;Secondaire 2e cycle&quot;,universitaire:&quot;Universitaire&quot;}[e]||e:&quot;&quot;}function Zre(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 Qre(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;}[e]||e:&quot;&quot;}function Jre(e){return e?{paypal:&quot;PayPal&quot;,card_visa:&quot;Carte de crédit (Visa)&quot;,mobile_money:&quot;Mobile Money&quot;,national_office:&quot;Bureau national&quot;}[e]||e:&quot;&quot;}function ene(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 wS(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;:ene(t),&quot;Méthode de paiement&quot;:Jre(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;:Xre(t.seminar_marital_status),&quot;Âge (séminaire)&quot;:t.seminar_age??&quot;&quot;,&quot;Genre (séminaire)&quot;:Gre(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;:Yre(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;:Zre(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;:Qre(n.seminar_confession_religieuse),&quot;Fardeau de transformation (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 _S(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 jS(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 SS(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 tne(){const[e,r]=Uh(),t=e.get(&quot;view&quot;),n=t===&quot;seminar&quot;||t===&quot;recommendations&quot;?t:&quot;summit&quot;,o=js(),{isAuthenticated:s,isParticipant:a,loading:u,can:l,roles:i}=Ss(),[c,h]=q.useState({}),[f,d]=q.useState(1),[v,y]=q.useState(20),[p,b]=q.useState(1),[x,_]=q.useState(20),[E,M]=q.useState(null),[D,W]=q.useState(null),[L,V]=q.useState(!1),[H,K]=q.useState(!1),[z,O]=q.useState(!1),[I,C]=q.useState(!1),[j,k]=q.useState(!1),[S,N]=q.useState(!1),[T,R]=q.useState(!1),{events:B}=Kh(),Y=q.useMemo(()=&gt;B.filter(Ce=&gt;Ce.event_type===&quot;summit&quot;).map(Ce=&gt;Ce.id),[B]),Z=q.useMemo(()=&gt;B.filter(Ce=&gt;Ce.event_type===&quot;seminar&quot;).map(Ce=&gt;Ce.id),[B]),ne=i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),U=i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),ee=i.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),F=i.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),P=ne||F?!1:l(&quot;registrations.read&quot;),X=U||ee?!1:l(&quot;registrations.read&quot;),re=ne||ee?!1:l(&quot;recommendations.read&quot;),Q=P||X||re,te=l(&quot;registrations.update_status&quot;),ae=l(&quot;registrations.send_to_correction&quot;),ce=l(&quot;registrations.update&quot;),he=l(&quot;registrations.delete&quot;),se=l(&quot;registrations.export&quot;),de=(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;i.includes(&quot;COMMISSION_COMMUNICATION&quot;),ie=i.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;),me=i.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;)&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;),ve=ie&amp;&amp;n===&quot;seminar&quot;||me&amp;&amp;n===&quot;summit&quot;,ge=ve?!1:te,le=ve?!1:ce,_e=ve?!1:he,Se=te&amp;&amp;!(ie&amp;&amp;E?.event?.event_type===&quot;seminar&quot;)&amp;&amp;!(me&amp;&amp;E?.event?.event_type===&quot;summit&quot;);q.useEffect(()=&gt;{const Ce=[];P&amp;&amp;Ce.push(&quot;summit&quot;),X&amp;&amp;Ce.push(&quot;seminar&quot;),re&amp;&amp;Ce.push(&quot;recommendations&quot;),Ce.length&gt;0&amp;&amp;!Ce.includes(n)&amp;&amp;r({view:Ce[0]},{replace:!0})},[P,X,re,n,r]);const Oe=q.useMemo(()=&gt;{const Ce={...c,page:f,per_page:v};return n===&quot;summit&quot;&amp;&amp;Y.length&gt;0?(Ce.event_type=&quot;summit&quot;,Y.length===1?Ce.event_id=Y[0]:c.event_id&amp;&amp;!Y.includes(c.event_id)&amp;&amp;(Ce.event_id=void 0)):n===&quot;seminar&quot;&amp;&amp;Z.length&gt;0&amp;&amp;(Ce.event_type=&quot;seminar&quot;,Z.length===1?Ce.event_id=Z[0]:c.event_id&amp;&amp;!Z.includes(c.event_id)&amp;&amp;(Ce.event_id=void 0)),Ce},[c,f,v,n,Y,Z]),{data:Te,loading:Ie,error:Ve,refetch:Ye}=PL(Oe,Q&amp;&amp;s&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),Ze=q.useMemo(()=&gt;{const Ce={created_from:c.created_from,created_to:c.created_to};return n===&quot;summit&quot;&amp;&amp;Y.length&gt;0?Y.length===1?Ce.event_id=Y[0]:Ce.event_type=&quot;summit&quot;:n===&quot;seminar&quot;&amp;&amp;Z.length&gt;0?Z.length===1?Ce.event_id=Z[0]:Ce.event_type=&quot;seminar&quot;:Oe.event_id&amp;&amp;(Ce.event_id=Oe.event_id),Ce},[n,Y,Z,c.created_from,c.created_to,Oe.event_id]),{data:ct,loading:Ge,refetch:Be}=IL(Ze,Q&amp;&amp;s&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:Xe,loading:rt,error:Je,refetch:Mt}=RL({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:p,per_page:x},re&amp;&amp;s),Wt=async()=&gt;{R(!0);try{const Ce=[Ye(),Be()];re&amp;&amp;Ce.push(Mt()),await Promise.all(Ce)}finally{R(!1)}};if(u)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!s)return m.jsx(Jn,{to:&quot;/login&quot;,replace:!0});if(a)return m.jsx(Jn,{to:&quot;/account&quot;,replace:!0});if(!Q)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),m.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(Ve){if(Ve.status===403&amp;&amp;(l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;)))return o(&quot;/admin/finance&quot;,{replace:!0}),null;const Ce=Ve.status===401?&quot;Vous devez être connecté pour accéder à cette page.&quot;:Ve.status===403?&quot;Vous n&#039;avez pas les permissions nécessaires.&quot;:Ve.data?.message||&quot;Une erreur est survenue.&quot;;return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:Ce}),m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;window.location.reload(),children:&quot;Recharger la page&quot;})]})})}const et=Ce=&gt;{M(Ce),V(!0)},Tt=Ce=&gt;{M(Ce),K(!0)},ut=Ce=&gt;{M(Ce),O(!0)},_t=Ce=&gt;{M(Ce),C(!0)},Yt=()=&gt;{Ye(),Be(),E&amp;&amp;(V(!1),V(!0))},Ut=()=&gt;{Ye(),Be(),E&amp;&amp;(V(!1),V(!0))},nt=()=&gt;{Ye(),Be(),M(null)},Pt=Ce=&gt;{d(Ce),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},Kt=Ce=&gt;{y(Ce),d(1)},wt=Ce=&gt;{W(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})`)},zt=Ce=&gt;{W(Ce),k(!0)},Dt=()=&gt;{Mt()},bt=l(&quot;recommendations.delete&quot;),ye=l(&quot;recommendations.update_status&quot;),je=Ce=&gt;{confirm(`Supprimer la recommandation pour ${Ce.recommended_full_name} ? Cette action est irréversible.`)&amp;&amp;nu.delete(Ce.id).then(()=&gt;Mt()).catch(dt=&gt;{alert(dt?.data?.message??&quot;Erreur lors de la suppression.&quot;)})},Me=Ce=&gt;{b(Ce),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},Ue=Ce=&gt;{_(Ce),b(1)},mt=async()=&gt;{const Ce=[];let dt=1,Lt=!0;for(;Lt;)try{const It=await zl.list({...Oe,page:dt,per_page:100});Ce.push(...It.data),dt&gt;=It.meta.last_page?Lt=!1:dt++}catch(It){throw console.error(&quot;Erreur lors de la récupération des inscriptions:&quot;,It),It}return Ce},qe=async()=&gt;{const Ce=[];let dt=1,Lt=!0;for(;Lt;)try{const It=await nu.list({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:dt,per_page:100});Ce.push(...It.data),dt&gt;=It.meta.last_page?Lt=!1:dt++}catch(It){throw console.error(&quot;Erreur lors de la récupération des recommandations:&quot;,It),It}return Ce},jt=async()=&gt;{N(!0);try{const Ce=await mt(),Lt=wS(Ce,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),nr=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Bh(Lt,nr)}catch(Ce){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},vt=async()=&gt;{N(!0);try{const Ce=await mt(),Lt=wS(Ce,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),nr=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await zh(Lt,nr,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)}},it=async()=&gt;{N(!0);try{const Ce=await qe(),dt=_S(Ce),Lt=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Bh(dt,Lt)}catch(Ce){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Ce instanceof Error?Ce.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},kt=async()=&gt;{N(!0);try{const Ce=await qe(),dt=_S(Ce),Lt=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await zh(dt,Lt,&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 m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[m.jsx(Xh,{showRefresh:!0,refreshing:T,onRefresh:Wt}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[m.jsx(Gh,{currentSection:&quot;registrations&quot;,registrationView:n,showSommet:P,showSeminar:X,showRecommendations:re,showUsers:!1,showFinance:ee||F?!1:l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;),showSettings:ne||U||ee||F?!1:l(&quot;settings.read&quot;)||l(&quot;settings.update&quot;)}),m.jsxs(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:[n===&quot;summit&quot;&amp;&amp;&quot;Inscriptions Sommet&quot;,n===&quot;seminar&quot;&amp;&amp;&quot;Inscriptions Séminaire&quot;,n===&quot;recommendations&quot;&amp;&amp;&quot;Recommandations Séminaire&quot;]}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:[n===&quot;summit&quot;&amp;&amp;&quot;Gérez et suivez toutes les inscriptions au Sommet&quot;,n===&quot;seminar&quot;&amp;&amp;&quot;Gérez et suivez toutes les inscriptions au Séminaire&quot;,n===&quot;recommendations&quot;&amp;&amp;&quot;Gérez et suivez toutes les recommandations pour le séminaire&quot;]})]}),m.jsx(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!de?se&amp;&amp;!(ie&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(me&amp;&amp;n===&quot;summit&quot;)?m.jsxs(m.Fragment,{children:[m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:jt,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(tu,{size:18}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export CSV&quot;})]}),m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:vt,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(w3,{size:18}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export XLSX&quot;})]})]}):null:n===&quot;recommendations&quot;&amp;&amp;!ie&amp;&amp;ye?m.jsxs(m.Fragment,{children:[m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:it,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(tu,{size:18}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export CSV&quot;})]}),m.jsxs(Fe,{variant:&quot;outline&quot;,onClick:kt,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(w3,{size:18}),m.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export XLSX&quot;})]})]}):null})]}),(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!de&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;,children:m.jsx(qre,{stats:ct,loading:Ge})}),m.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:m.jsx(nF,{filters:c,onFiltersChange:h,hideEventFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;})}),n===&quot;summit&quot;||n===&quot;seminar&quot;?m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[Ve&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des inscriptions: &quot;,Ve.data?.message||Ve.message||&quot;Une erreur est survenue&quot;]})}),de?m.jsx(aF,{registrations:Te?.data??[],loading:Ie}):m.jsx(sF,{registrations:Te?.data||[],loading:Ie,eventType:n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0,onViewDetails:et,onUpdateStatus:ge?Tt:void 0,onEdit:le?ut:void 0,onDelete:_e?_t:void 0,canUpdateStatus:ge,canEdit:le,canDelete:_e})]}),Te?.meta&amp;&amp;Te.meta.last_page&gt;1&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 flex items-center justify-between mb-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,Te.meta.from,&quot; à &quot;,Te.meta.to,&quot; sur&quot;,&quot; &quot;,Te.meta.total,&quot; inscriptions&quot;]}),m.jsxs(&quot;select&quot;,{value:v,onChange:Ce=&gt;Kt(Number(Ce.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[m.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),m.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),m.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Pt(f-1),disabled:f===1,children:&quot;Précédent&quot;}),m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500 px-4&quot;,children:[&quot;Page &quot;,f,&quot; sur &quot;,Te.meta.last_page]}),m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Pt(f+1),disabled:f&gt;=Te.meta.last_page,children:&quot;Suivant&quot;})]})]})]}):m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[Je&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des recommandations: &quot;,Je.message]})}),m.jsx(oF,{recommendations:Xe?.data||[],loading:rt,onViewDetails:wt,onTreat:ye&amp;&amp;!ie?zt:void 0,onDelete:je,canDelete:ie?!1:bt})]}),Xe?.meta&amp;&amp;Xe.meta.last_page&gt;1&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 flex items-center justify-between&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,Xe.meta.from,&quot; à &quot;,Xe.meta.to,&quot; sur&quot;,&quot; &quot;,Xe.meta.total,&quot; recommandations&quot;]}),m.jsxs(&quot;select&quot;,{value:x,onChange:Ce=&gt;Ue(Number(Ce.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[m.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),m.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),m.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Me(p-1),disabled:p===1,children:&quot;Précédent&quot;}),m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500 px-4&quot;,children:[&quot;Page &quot;,p,&quot; sur &quot;,Xe.meta.last_page]}),m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Me(p+1),disabled:p&gt;=Xe.meta.last_page,children:&quot;Suivant&quot;})]})]})]})]}),m.jsx(lF,{registration:E,isOpen:L,onClose:()=&gt;{V(!1),M(null)},onUpdateStatus:Se?Tt:void 0,canUpdateStatus:Se}),m.jsx(cF,{registration:E,isOpen:H,onClose:()=&gt;{K(!1),M(null)},onSuccess:Yt,canSendToCorrection:ae}),m.jsx(uF,{registration:E,isOpen:z,onClose:()=&gt;{O(!1),M(null)},onSuccess:Ut}),m.jsx(dF,{registration:E,isOpen:I,onClose:()=&gt;{C(!1),M(null)},onSuccess:nt}),m.jsx(hF,{recommendation:D,isOpen:j,onClose:()=&gt;{k(!1),W(null)},onSuccess:Dt})]})]})]})}function rne(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=Ss(),s=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[i,c]=q.useState(&quot;&quot;),[h,f]=q.useState(&quot;&quot;),[d,v]=q.useState(&quot;&quot;),[y,p]=q.useState(!1),[b,x]=q.useState(!1),[_,E]=q.useState(!1),[M,D]=q.useState(null),[W,L]=q.useState({}),V=async H=&gt;{H.preventDefault(),D(null),L({}),E(!1),x(!0);try{await E8.changePassword({current_password:i,new_password:h,new_password_confirmation:d,revoke_other_tokens:y}),E(!0),c(&quot;&quot;),f(&quot;&quot;),v(&quot;&quot;)}catch(K){const z=K;if(D(z.data?.message??&quot;Erreur lors du changement de mot de passe.&quot;),z.data?.errors){const O={};for(const[I,C]of Object.entries(z.data.errors))O[I]=Array.isArray(C)?C[0]:String(C);L(O)}}finally{x(!1)}};return t?m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e?r?m.jsx(Jn,{to:&quot;/account&quot;,replace:!0}):m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[m.jsx(Xh,{}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[m.jsx(Gh,{currentSection:&quot;account&quot;,showSommet:s||l?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:s||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:s||a||u||l?!1:n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;)}),m.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:m.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:[m.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon compte&quot;}),m.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;}),m.jsxs(ln,{className:&quot;p-6&quot;,children:[_&amp;&amp;m.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;m.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}),m.jsxs(&quot;form&quot;,{onSubmit:V,className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe actuel&quot;}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:i,onChange:H=&gt;c(H.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;}),W.current_password&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:W.current_password})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:h,onChange:H=&gt;f(H.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;}),W.new_password&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:W.new_password})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:d,onChange:H=&gt;v(H.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;revoke&quot;,checked:y,onChange:H=&gt;p(H.target.checked),className:&quot;rounded border-gray-300&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:b,children:b?&quot;Enregistrement...&quot;:&quot;Changer le mot de passe&quot;}),m.jsx(xr,{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;})]})]})]})]})})]})]}):m.jsx(Jn,{to:&quot;/login&quot;,replace:!0})}const ml=&quot;https://api.sommetfrancophone.org/api&quot;;function yf(e){const{review_note:r,reference:t,proof:n,treasury_account_id:o}=e;if(n){const a=new FormData;return r?.trim()&amp;&amp;a.append(&quot;review_note&quot;,r.trim()),t?.trim()&amp;&amp;a.append(&quot;reference&quot;,t.trim()),o!=null&amp;&amp;a.append(&quot;treasury_account_id&quot;,String(o)),a.append(&quot;proof&quot;,n),a}const s={...r?.trim()&amp;&amp;{review_note:r.trim()},...t?.trim()&amp;&amp;{reference:t.trim()}};return o!=null&amp;&amp;(s.treasury_account_id=Number(o)),s}const qi={async getEvents(){const e=await Qe.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),Qe.get(&quot;/finance/dashboard&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0})},getDebtors(e){const r={event_id:e.event_id};return e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),Qe.get(&quot;/finance/debtors&quot;,{params:r,requireAuth:!0})},confirmPayment(e,r){const t=yf(r??{});return t instanceof FormData?Qe.postForm(`/finance/payments/${e}/confirm`,t,{requireAuth:!0}):Qe.post(`/finance/payments/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectPayment(e,r){const t=yf(r??{});return t instanceof FormData?Qe.postForm(`/finance/payments/${e}/reject`,t,{requireAuth:!0}):Qe.post(`/finance/payments/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},confirmDonation(e,r){const t=yf(r??{});return t instanceof FormData?Qe.postForm(`/finance/donations/${e}/confirm`,t,{requireAuth:!0}):Qe.post(`/finance/donations/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectDonation(e,r){const t=yf(r??{});return t instanceof FormData?Qe.postForm(`/finance/donations/${e}/reject`,t,{requireAuth:!0}):Qe.post(`/finance/donations/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},initPayment(e,r){const{amount:t,method:n,paid_at:o,treasury_account_id:s,reference:a,notes:u,proof:l}=r,i=new FormData;return i.append(&quot;amount&quot;,String(t)),i.append(&quot;method&quot;,n),i.append(&quot;paid_at&quot;,o),i.append(&quot;treasury_account_id&quot;,String(s)),a?.trim()&amp;&amp;i.append(&quot;reference&quot;,a.trim()),u?.trim()&amp;&amp;i.append(&quot;notes&quot;,u.trim()),l&amp;&amp;i.append(&quot;proof&quot;,l),Qe.postForm(`/finance/registrations/${e}/payments`,i,{requireAuth:!0})},issuePaymentReceipt(e){return Qe.post(`/finance/payments/${e}/receipt`,{},{requireAuth:!0})},sendPaymentReceiptEmail(e){return Qe.post(`/finance/payments/${e}/receipt/send-email`,{},{requireAuth:!0})},issueDonationReceipt(e){return Qe.post(`/finance/donations/${e}/receipt`,{},{requireAuth:!0})},downloadReceiptUrl(e){return`${ml.endsWith(&quot;/&quot;)?ml.slice(0,-1):ml}/receipts/${e}/download`},async downloadReceipt(e,r){const n=`${ml.endsWith(&quot;/&quot;)?ml.slice(0,-1):ml}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,s=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!s.ok){const l=await s.json().catch(()=&gt;({message:s.statusText}));throw{status:s.status,data:l}}const a=await s.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}};function nne(){const{can:e,roles:r,loading:t}=Ss(),{events:n}=Kh(),[o,s]=q.useState([]),[a,u]=q.useState(!0),[l,i]=q.useState(null),c=e(&quot;finance.dashboard&quot;)||e(&quot;payments.read&quot;);q.useEffect(()=&gt;{c&amp;&amp;(u(!0),i(null),qi.getEvents().then(s).catch(ue=&gt;{const Ke=ue?.data?.message,Ot=ue?.status;i(Ot===404||Ke===&quot;Not Found&quot;?&quot;Module finance indisponible. Vérifiez que l’API est à jour (cache des routes) ou contactez l’administrateur.&quot;:Ke??&quot;Impossible de charger les événements.&quot;)}).finally(()=&gt;u(!1)))},[c]);const h=(o?.length?o:n)??[],f=q.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 ue=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;),Ke=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;);return ue&amp;&amp;Ke?[&quot;summit&quot;,&quot;seminar&quot;]:ue?[&quot;summit&quot;]:Ke?[&quot;seminar&quot;]:[]},[r]),d=r.includes(&quot;COMMISSARIAT_GENERAL&quot;),v=q.useMemo(()=&gt;(h??[]).filter(ue=&gt;f.includes(ue.event_type)),[h,f]),y=q.useMemo(()=&gt;v.length&gt;0?v:r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(h?.length??0)&gt;0?h??[]:v,[r,h,v]),[p,b]=q.useState(&quot;&quot;);q.useEffect(()=&gt;{p&amp;&amp;!y.some(ue=&gt;ue.id===p)&amp;&amp;b(&quot;&quot;)},[p,y]),q.useEffect(()=&gt;{p===&quot;&quot;&amp;&amp;y.length&gt;0&amp;&amp;b(y[0].id)},[p,y]);const[x,_]=q.useState(null),[E,M]=q.useState(!0),[D,W]=q.useState(null),[L,V]=q.useState(null),[H,K]=q.useState(null),[z,O]=q.useState(&quot;&quot;),[I,C]=q.useState(&quot;&quot;),[j,k]=q.useState(null),[S,N]=q.useState(null),[T,R]=q.useState(&quot;&quot;),[B,Y]=q.useState([]),[Z,ne]=q.useState(0),[U,ee]=q.useState(null),[F,P]=q.useState(&quot;&quot;),[X,re]=q.useState(&quot;mobile_money&quot;),[Q,te]=q.useState(()=&gt;new Date().toISOString().slice(0,16)),[ae,ce]=q.useState(&quot;&quot;),[he,se]=q.useState(&quot;&quot;),[de,ie]=q.useState(null),[me,ve]=q.useState(null),[ge,le]=q.useState(!1),[_e,Se]=q.useState(&quot;&quot;),[Oe,Te]=q.useState([]),[Ie,Ve]=q.useState(null),[Ye,Ze]=q.useState(null),[ct,Ge]=q.useState([]),[Be,Xe]=q.useState(!1),[rt,Je]=q.useState(1),[Mt,Wt]=q.useState(20),[et,Tt]=q.useState(null),[ut,_t]=q.useState(&quot;validation&quot;),[Yt,Ut]=q.useState([]),[nt,Pt]=q.useState([]),[Kt,wt]=q.useState(!1),[zt,Dt]=q.useState(null),[bt,ye]=q.useState(&quot;&quot;),[je,Me]=q.useState(&quot;&quot;),[Ue,mt]=q.useState(0),[qe,jt]=q.useState(!1),[vt,it]=q.useState(null),[kt,Ce]=q.useState(null),[dt,Lt]=q.useState(null),[It,nr]=q.useState(&quot;&quot;),[cr,qr]=q.useState(0),[fe,we]=q.useState(0),[Pe,Re]=q.useState(0),[tt,$e]=q.useState(!1),[He,Ft]=q.useState(null),[At,St]=q.useState(null),[ft,Et]=q.useState(null),[Vt,Zt]=q.useState([]),[or,ur]=q.useState(!1),[Sr,kr]=q.useState(null),[Un,ns]=q.useState([]),[is,ui]=q.useState([]),[Xt,qt]=q.useState(()=&gt;new Date().toISOString().slice(0,10)),[fn,di]=q.useState(0),[fi,Bt]=q.useState(&quot;&quot;),[hn,ti]=q.useState(&quot;&quot;),[hi,ss]=q.useState(&quot;&quot;),[mi,Vn]=q.useState(!1),[ks,wn]=q.useState(null),Jr=y.find(ue=&gt;ue.id===p)??h?.find(ue=&gt;ue.id===p),en=Jr?.event_type??null,Tn=q.useCallback(()=&gt;{c&amp;&amp;(M(!0),W(null),qi.getDashboard(p?{event_id:p}:void 0).then(_).catch(ue=&gt;W(ue?.data?.message||&quot;Erreur chargement dashboard finance.&quot;)).finally(()=&gt;M(!1)))},[c,p]);q.useEffect(()=&gt;{c&amp;&amp;Tn()},[c,p,Z]),q.useEffect(()=&gt;{p&amp;&amp;typeof p==&quot;number&quot;&amp;&amp;Je(1)},[p]),q.useEffect(()=&gt;{const ue=p===&quot;&quot;?null:Number(p);if(!c||ut!==&quot;validation&quot;||ue==null||Number.isNaN(ue)){Ge([]),Tt(null);return}Xe(!0),qi.getDebtors({event_id:ue,page:rt,per_page:Mt}).then(Ke=&gt;{Ge(Array.isArray(Ke.data)?Ke.data:[]),Tt(Ke.meta??null)}).catch(()=&gt;{Ge([]),Tt(null)}).finally(()=&gt;Xe(!1))},[c,ut,p,rt,Mt,Z]);const Ri=q.useCallback(()=&gt;{if(!en){Ut([]);return}iu.list({event_type:en}).then(ue=&gt;Ut(Array.isArray(ue)?ue:[]))},[en]),_n=q.useCallback(()=&gt;{if(!p||typeof p!=&quot;number&quot;){Pt([]);return}wt(!0),Dt(null),ao.list(p).then(Pt).catch(ue=&gt;Dt(ue?.data?.message??&quot;Erreur chargement des lignes.&quot;)).finally(()=&gt;wt(!1))},[p]);q.useEffect(()=&gt;{ut===&quot;budget&quot;&amp;&amp;Ri()},[ut,en,Ri]),q.useEffect(()=&gt;{ut!==&quot;budget&quot;||!p||_n()},[ut,p,_n]);const jn=q.useCallback(()=&gt;{!p||typeof p!=&quot;number&quot;||(ur(!0),kr(null),F0.list(p).then(Zt).catch(ue=&gt;kr(ue?.data?.message??&quot;Erreur chargement des dépenses.&quot;)).finally(()=&gt;ur(!1)))},[p]);q.useEffect(()=&gt;{ut!==&quot;expenses&quot;||!p||(jn(),ao.list(p).then(ue=&gt;{ns(ue.filter(Ke=&gt;Ke.category_type===&quot;expense&quot;))}),Aa.list({event_id:p}).then(ue=&gt;{const Ke=Array.isArray(ue)?ue:ue?.data??[];ui(Ke.filter(Ot=&gt;Ot.is_active))}))},[ut,p,jn]);const Vm=()=&gt;{if(!p||typeof p!=&quot;number&quot;){wn(&quot;Sélectionnez un événement.&quot;);return}if(hn===&quot;&quot;||typeof hn!=&quot;number&quot;){wn(&quot;Choisissez un compte de trésorerie.&quot;);return}const ue=hi.trim();if(!ue){wn(&quot;Le libellé est obligatoire.&quot;);return}const Ke=Number(fn);if(isNaN(Ke)||Ke&lt;1){wn(&quot;Montant invalide.&quot;);return}wn(null),Vn(!0),F0.create({event_id:p,treasury_account_id:hn,event_budget_line_id:fi===&quot;&quot;?null:fi,amount:Ke,paid_at:Xt,label:ue}).then(Ot=&gt;{Zt(Di=&gt;[Ot,...Di]),di(0),ss(&quot;&quot;)}).catch(Ot=&gt;wn(Ot?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;Vn(!1))},Wu=ue=&gt;{confirm(&quot;Supprimer cette dépense ? La réalisation budgétaire sera mise à jour.&quot;)&amp;&amp;F0.delete(ue.id).then(()=&gt;Zt(Ke=&gt;Ke.filter(Ot=&gt;Ot.id!==ue.id))).catch(Ke=&gt;kr(Ke?.data?.message??&quot;Erreur suppression.&quot;))},Ua=(ue,Ke)=&gt;{N(null),V({type:&quot;confirm-payment&quot;,id:ue}),qi.confirmPayment(ue,Ke).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;V(null))},qm=(ue,Ke)=&gt;{N(null),V({type:&quot;reject-payment&quot;,id:ue}),qi.rejectPayment(ue,Ke).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;V(null))},Hu=(ue,Ke)=&gt;{N(null),V({type:&quot;confirm-donation&quot;,id:ue}),qi.confirmDonation(ue,Ke).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;V(null))},Do=(ue,Ke)=&gt;{N(null),V({type:&quot;reject-donation&quot;,id:ue}),qi.rejectDonation(ue,Ke).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;V(null))},Va=(ue,Ke)=&gt;{K({action:ue,target:Ke}),O(&quot;&quot;),C(&quot;&quot;),k(null),N(null),R(&quot;&quot;),Y([])};q.useEffect(()=&gt;{if(!H||H.action!==&quot;confirm&quot;||H.target.type!==&quot;payment&quot;)return;const ue=H.target.event_id??&quot;&quot;;Aa.list({event_id:ue}).then(Ke=&gt;Y(Array.isArray(Ke)?Ke:Ke?.data??[])).catch(()=&gt;Y([]))},[H]);const Wm=()=&gt;{if(!H)return;if(H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;(T===&quot;&quot;||T===void 0)){N(&quot;Veuillez sélectionner le compte de trésorerie impacté par l&#039;encaissement.&quot;);return}const ue={review_note:z.trim()||void 0,reference:I.trim()||void 0,proof:j||void 0,...H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;T!==&quot;&quot;&amp;&amp;{treasury_account_id:Number(T)}};H.target.type===&quot;payment&quot;?H.action===&quot;confirm&quot;?Ua(H.target.id,ue):qm(H.target.id,ue):H.action===&quot;confirm&quot;?Hu(H.target.id,ue):Do(H.target.id,ue)};q.useEffect(()=&gt;{if(!U?.event?.id){Te([]);return}Aa.list({event_id:U.event.id}).then(ue=&gt;Te(Array.isArray(ue)?ue:ue?.data??[])).catch(()=&gt;Te([]))},[U]);const qa=ue=&gt;{ee(ue),P(String(ue.balance)),re(&quot;mobile_money&quot;),te(new Date().toISOString().slice(0,16)),ce(&quot;&quot;),se(&quot;&quot;),ie(null),Se(&quot;&quot;),ve(null)},Wa=()=&gt;{if(!U)return;if(_e===&quot;&quot;||typeof _e!=&quot;number&quot;){ve(&quot;Veuillez sélectionner le compte de trésorerie à utiliser.&quot;);return}const ue=parseInt(F,10);if(isNaN(ue)||ue&lt;=0){ve(&quot;Montant invalide.&quot;);return}if(ue&gt;U.balance){ve(`Le montant ne peut pas dépasser le solde (${U.balance}).`);return}if(!ae.trim()&amp;&amp;!de){ve(&quot;Veuillez renseigner la référence transaction et/ou joindre une preuve (image ou scan).&quot;);return}ve(null),le(!0),qi.initPayment(U.id,{amount:ue,method:X,paid_at:new Date(Q).toISOString(),treasury_account_id:Number(_e),reference:ae.trim()||void 0,notes:he.trim()||void 0,proof:de||void 0}).then(()=&gt;{ee(null),ne(Ke=&gt;Ke+1)}).catch(Ke=&gt;{const Ot=Ke?.data?.message||Ke?.message||&quot;Erreur lors de l&#039;enregistrement.&quot;,Di=Ke?.data?.errors;ve(Di?Object.values(Di).flat().join(&quot; &quot;):Ot)}).finally(()=&gt;le(!1))},sa=ue=&gt;{Ze(null),Ve({key:`payment-${ue}`,action:&quot;issue&quot;}),qi.issuePaymentReceipt(ue).then(()=&gt;ne(Ke=&gt;Ke+1)).catch(Ke=&gt;Ze(Ke?.data?.message||Ke?.message||&quot;Erreur.&quot;)).finally(()=&gt;Ve(null))},Lo=(ue,Ke)=&gt;{Ze(null),Ve({key:`receipt-${ue}`,action:&quot;download&quot;}),qi.downloadReceipt(ue,`${Ke}.pdf`).catch(Ot=&gt;Ze(Ot?.data?.message||Ot?.message||&quot;Erreur téléchargement.&quot;)).finally(()=&gt;Ve(null))},Hm=ue=&gt;{Ze(null),Ve({key:`payment-${ue}`,action:&quot;email&quot;}),qi.sendPaymentReceiptEmail(ue).then(()=&gt;ne(Ke=&gt;Ke+1)).catch(Ke=&gt;Ze(Ke?.data?.message||Ke?.message||&quot;Erreur envoi email.&quot;)).finally(()=&gt;Ve(null))},Yl=(ue,Ke)=&gt;Ie?.key===ue&amp;&amp;Ie?.action===Ke,Zl=()=&gt;{if(!p||typeof p!=&quot;number&quot;||bt===&quot;&quot;||typeof bt!=&quot;number&quot;){it(&quot;Veuillez choisir un événement et une catégorie.&quot;);return}const ue=Number(Ue);if(isNaN(ue)||ue&lt;0){it(&quot;Montant prévu invalide.&quot;);return}it(null),jt(!0),ao.create(p,{budget_category_id:bt,label:je.trim()||void 0,amount_planned:ue}).then(Ke=&gt;{Pt(Ot=&gt;[...Ot,Ke]),ye(&quot;&quot;),Me(&quot;&quot;),mt(0)}).catch(Ke=&gt;it(Ke?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;jt(!1))},Fo=ue=&gt;{St(ue.id),Dt(null),ao.moveUp(ue.id).then(()=&gt;_n()).catch(Ke=&gt;Dt(Ke?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;St(null))},Ql=ue=&gt;{St(ue.id),Dt(null),ao.moveDown(ue.id).then(()=&gt;_n()).catch(Ke=&gt;Dt(Ke?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;St(null))},Ku=ue=&gt;{confirm(&quot;Supprimer cette ligne de budget ?&quot;)&amp;&amp;ao.delete(ue.id).then(()=&gt;Pt(Ke=&gt;Ke.filter(Ot=&gt;Ot.id!==ue.id))).catch(Ke=&gt;Dt(Ke?.data?.message??&quot;Erreur suppression.&quot;))},as=ue=&gt;{Lt(ue),nr(ue.label??&quot;&quot;),qr(ue.amount_planned??0),we(ue.amount_realized??0),Re(ue.sort_order??0),Ft(null)},Jl=()=&gt;{if(!dt)return;const ue=Number(cr),Ke=Number(fe);if(isNaN(ue)||ue&lt;0){Ft(&quot;Montant prévu invalide.&quot;);return}if(isNaN(Ke)||Ke&lt;0){Ft(&quot;Montant réalisé invalide.&quot;);return}Ft(null),$e(!0),ao.update(dt.id,{label:It.trim()||null,amount_planned:ue,amount_realized:Ke,sort_order:Pe}).then(Ot=&gt;{Pt(Di=&gt;Di.map(pi=&gt;pi.id===dt.id?Ot:pi)),Lt(null)}).catch(Ot=&gt;Ft(Ot?.data?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)).finally(()=&gt;$e(!1))},Bo=()=&gt;{_n(),Ce(&quot;Budget enregistré.&quot;),setTimeout(()=&gt;Ce(null),3e3)},Xu=()=&gt;{if(!(!p||nt.length===0)){Et(&quot;budget-csv&quot;);try{const ue=jS(nt),Ke=Jr?.slug??p;Bh(ue,`budget_${Ke}_${new Date().toISOString().slice(0,10)}`)}catch(ue){Dt(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},zo=async()=&gt;{if(!(!p||nt.length===0)){Et(&quot;budget-xlsx&quot;);try{const ue=jS(nt),Ke=Jr?.slug??p;await zh(ue,`budget_${Ke}_${new Date().toISOString().slice(0,10)}`,&quot;Lignes budget&quot;)}catch(ue){Dt(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},$o=()=&gt;{if(!(!p||Vt.length===0)){Et(&quot;expenses-csv&quot;);try{const ue=SS(Vt),Ke=Jr?.slug??p;Bh(ue,`depenses_${Ke}_${new Date().toISOString().slice(0,10)}`)}catch(ue){kr(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},Gu=async()=&gt;{if(!(!p||Vt.length===0)){Et(&quot;expenses-xlsx&quot;);try{const ue=SS(Vt),Ke=Jr?.slug??p;await zh(ue,`depenses_${Ke}_${new Date().toISOString().slice(0,10)}`,&quot;Dépenses&quot;)}catch(ue){kr(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},dr=q.useMemo(()=&gt;{let ue=0,Ke=0,Ot=0,Di=0;nt.forEach(qo=&gt;{const Zu=qo.amount_planned??0,Qu=qo.amount_realized??0;qo.category_type===&quot;revenue&quot;?(ue+=Zu,Ot+=Qu):qo.category_type===&quot;expense&quot;&amp;&amp;(Ke+=Zu,Di+=Qu)});const pi=ue-Ke;return{totalRevenuePlanned:ue,totalExpensePlanned:Ke,totalRevenueRealized:Ot,totalExpenseRealized:Di,balancePlanned:pi,shortfall:pi&lt;0?Math.abs(pi):0,surplus:pi&gt;0?pi:0}},[nt]);if(t)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!c)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Vous n&#039;avez pas accès au module Finance.&quot;})});const os=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;),Uo=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;),Ns=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;),Yu=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;),ec=os||Yu?!1:e(&quot;registrations.read&quot;),tc=Uo||Ns?!1:e(&quot;registrations.read&quot;),Ha=os||Ns?!1:e(&quot;recommendations.read&quot;),Vo=os||Uo||Ns||Yu?!1:e(&quot;settings.read&quot;)||e(&quot;settings.update&quot;);return m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[m.jsx(Xh,{}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[m.jsx(Gh,{currentSection:&quot;finance&quot;,registrationView:&quot;summit&quot;,showSommet:ec,showSeminar:tc,showRecommendations:Ha,showUsers:!1,showFinance:c,showSettings:Vo}),m.jsx(&quot;main&quot;,{className:&quot;flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Dashboard Finance&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:&quot;Pilotage des encaissements — paiements et dons&quot;}),d&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mb-6 p-4 bg-amber-50 border border-amber-200 rounded-lg text-amber-800 text-sm&quot;,children:[m.jsx(&quot;strong&quot;,{children:&quot;Mode lecture seule.&quot;}),&quot; Vous pouvez consulter les données mais ne pouvez pas valider, modifier ni exporter.&quot;]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center gap-4&quot;,children:[m.jsx(&quot;label&quot;,{className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement&quot;}),m.jsxs(&quot;select&quot;,{value:p,onChange:ue=&gt;b(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:a,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:a?&quot;Chargement...&quot;:ut===&quot;budget&quot;?&quot;- Choisir un événement -&quot;:&quot;Tous&quot;}),y.map(ue=&gt;m.jsx(&quot;option&quot;,{value:ue.id,children:ue.name},ue.id))]}),l&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;text-sm text-red-600&quot;,children:l}),!a&amp;&amp;y.length===0&amp;&amp;!l&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun événement actif pour le moment.&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;_t(&quot;validation&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${ut===&quot;validation&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(eL,{size:18}),&quot;Validation recettes et dons&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;_t(&quot;budget&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${ut===&quot;budget&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(N8,{size:18}),&quot;Budget&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;_t(&quot;expenses&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${ut===&quot;expenses&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(ED,{size:18}),&quot;Dépenses&quot;]})]}),ut===&quot;budget&quot;&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Budget de l&#039;événement – Lignes d&#039;affectation (dépenses / recettes)&quot;}),p?m.jsxs(m.Fragment,{children:[zt&amp;&amp;m.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:zt}),kt&amp;&amp;m.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:kt}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),m.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;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Prévu (XOF)&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Réalisé (XOF)&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 w-20&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:Kt?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):nt.length===0?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune ligne. Ajoutez une ligne ci-dessous.&quot;})}):nt.map(ue=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ue.category_name}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:ue.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.label??&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.amount_planned.toLocaleString(&quot;fr-FR&quot;)}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.amount_realized.toLocaleString(&quot;fr-FR&quot;)}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:!d&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-1&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Fo(ue),disabled:!!At||nt[0]?.id===ue.id,className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded disabled:opacity-50&quot;,title:&quot;Monter&quot;,children:m.jsx(yD,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Ql(ue),disabled:!!At||nt[nt.length-1]?.id===ue.id,className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded disabled:opacity-50&quot;,title:&quot;Descendre&quot;,children:m.jsx(fD,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;as(ue),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier&quot;,children:m.jsx($f,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Ku(ue),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:m.jsx(Rr,{size:16})})]})})]},ue.id))})]})}),nt.length&gt;0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 divide-y divide-gray-200&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;bg-amber-50/50 px-4 py-4&quot;,children:[m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (prévu) :&quot;}),&quot; &quot;,m.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[dr.totalRevenuePlanned.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (prévu) :&quot;}),&quot; &quot;,m.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[dr.totalExpensePlanned.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]})]})]}),m.jsx(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-amber-200&quot;,children:dr.shortfall&gt;0?m.jsxs(&quot;p&quot;,{className:&quot;text-amber-800 font-medium&quot;,children:[&quot;Fonds à rechercher : &quot;,dr.shortfall.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]}):dr.surplus&gt;0?m.jsxs(&quot;p&quot;,{className:&quot;text-green-800 font-medium&quot;,children:[&quot;Montant restant après dépenses : &quot;,dr.surplus.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]}):m.jsx(&quot;p&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Budget prévu équilibré.&quot;})})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-green-50/50 px-4 py-4&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Réalisation&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (réalisé) :&quot;}),&quot; &quot;,m.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[dr.totalRevenueRealized.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (réalisé) :&quot;}),&quot; &quot;,m.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[dr.totalExpenseRealized.toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-green-200&quot;,children:[m.jsx(&quot;span&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Solde : &quot;}),m.jsxs(&quot;span&quot;,{className:`font-semibold ${dr.totalRevenueRealized-dr.totalExpenseRealized&gt;=0?&quot;text-green-800&quot;:&quot;text-amber-800&quot;}`,children:[(dr.totalRevenueRealized-dr.totalExpenseRealized).toLocaleString(&quot;fr-FR&quot;),&quot; XOF&quot;]})]})]})]})]}),!d&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-end gap-4 p-4 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Catégorie&quot;}),m.jsxs(&quot;select&quot;,{value:bt,onChange:ue=&gt;ye(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg min-w-[200px]&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),Yt.map(ue=&gt;m.jsx(&quot;option&quot;,{value:ue.id,children:ue.name},ue.id))]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:je,onChange:ue=&gt;Me(ue.target.value),placeholder:&quot;Ex. Location cars, Catering&quot;,className:&quot;px-3 py-2 border border-gray-300 rounded-lg min-w-[220px]&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Ue||&quot;&quot;,onChange:ue=&gt;mt(parseInt(ue.target.value,10)||0),className:&quot;px-3 py-2 border border-gray-300 rounded-lg w-32&quot;})]}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Zl,disabled:qe,children:qe?&quot;Ajout...&quot;:&quot;Ajouter une ligne&quot;})]}),vt&amp;&amp;m.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:vt}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-end gap-2&quot;,children:[m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Xu,disabled:!!ft||nt.length===0,className:&quot;inline-flex items-center gap-1.5 px-2.5 py-1.5 text-sm border border-gray-300 rounded bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[m.jsx(fo,{size:14}),ft===&quot;budget-csv&quot;?&quot;…&quot;:&quot;CSV&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:zo,disabled:!!ft||nt.length===0,className:&quot;inline-flex items-center gap-1.5 px-2.5 py-1.5 text-sm border border-gray-300 rounded bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[m.jsx(fo,{size:14}),ft===&quot;budget-xlsx&quot;?&quot;…&quot;:&quot;XLSX&quot;]}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Bo,children:&quot;Enregistrer le budget&quot;})]})]})]}):m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 py-6&quot;,children:&quot;Veuillez sélectionner un événement pour gérer le budget.&quot;})]}),ut===&quot;expenses&quot;&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Dépenses de l&#039;événement&quot;}),p?m.jsxs(m.Fragment,{children:[Sr&amp;&amp;m.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:Sr}),!d&amp;&amp;Vt.length&gt;0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:$o,disabled:!!ft,className:&quot;inline-flex items-center gap-1.5 px-2.5 py-1.5 text-sm border border-gray-300 rounded bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[m.jsx(fo,{size:14}),ft===&quot;expenses-csv&quot;?&quot;…&quot;:&quot;CSV&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Gu,disabled:!!ft,className:&quot;inline-flex items-center gap-1.5 px-2.5 py-1.5 text-sm border border-gray-300 rounded bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[m.jsx(fo,{size:14}),ft===&quot;expenses-xlsx&quot;?&quot;…&quot;:&quot;XLSX&quot;]})]}),m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Date&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Compte&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Montant (XOF)&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 w-20&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:or?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):Vt.length===0?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune dépense. Ajoutez une dépense ci-dessous.&quot;})}):Vt.map(ue=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.paid_at?new Date(ue.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600&quot;,children:ue.budget_line_label??&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ue.label??&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue.treasury_account_name}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ue.amount.toLocaleString(&quot;fr-FR&quot;)}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:!d&amp;&amp;m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Wu(ue),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:m.jsx(Rr,{size:16})})})]},ue.id))})]})})}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-end gap-4 p-4 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Date&quot;}),m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:Xt,onChange:ue=&gt;qt(ue.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Catégorie budget (optionnel)&quot;}),m.jsxs(&quot;select&quot;,{value:fi,onChange:ue=&gt;Bt(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg min-w-[180px]&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),Un.map(ue=&gt;m.jsx(&quot;option&quot;,{value:ue.id,children:ue.category_name??ue.label??`Ligne #${ue.id}`},ue.id))]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Compte de trésorerie *&quot;}),m.jsxs(&quot;select&quot;,{value:hn,onChange:ue=&gt;ti(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg min-w-[200px]&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),is.map(ue=&gt;m.jsxs(&quot;option&quot;,{value:ue.id,children:[ue.name,&quot; — &quot;,ue.context_display]},ue.id))]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF) *&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:fn||&quot;&quot;,onChange:ue=&gt;di(parseInt(ue.target.value,10)||0),className:&quot;px-3 py-2 border border-gray-300 rounded-lg w-32&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé *&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:hi,onChange:ue=&gt;ss(ue.target.value),placeholder:&quot;Ex. Billets orateurs&quot;,className:&quot;px-3 py-2 border border-gray-300 rounded-lg min-w-[200px]&quot;,required:!0})]}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Vm,disabled:mi,children:mi?&quot;Ajout...&quot;:&quot;Ajouter une dépense&quot;})]}),ks&amp;&amp;m.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:ks})]}):m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 py-6&quot;,children:&quot;Sélectionnez un événement pour gérer les dépenses.&quot;})]}),ut===&quot;validation&quot;&amp;&amp;D&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-6 bg-red-50 border border-red-200 rounded-xl p-4&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:D})}),ut===&quot;validation&quot;&amp;&amp;E&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),ut===&quot;validation&quot;&amp;&amp;!E&amp;&amp;x&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4 mb-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:[m.jsx(Jv,{size:18}),&quot;Total dû (inscriptions)&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900&quot;,children:x.kpi.total_due_registrations.toLocaleString(&quot;fr-FR&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:[m.jsx(lL,{size:18}),&quot;Encaissé confirmé&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700&quot;,children:x.kpi.total_confirmed_payments.toLocaleString(&quot;fr-FR&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:&quot;Reste à encaisser&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-amber-700&quot;,children:x.kpi.remaining_to_collect.toLocaleString(&quot;fr-FR&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:&quot;Dons confirmés&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700&quot;,children:x.kpi.donations_confirmed_total.toLocaleString(&quot;fr-FR&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:[m.jsx(Qv,{size:18}),&quot;À valider&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900&quot;,children:x.kpi.pending_review_count})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 border border-gray-100&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-sm mb-1&quot;,children:[m.jsx(Vf,{size:18}),&quot;Non soldés / partiels&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900&quot;,children:x.kpi.unpaid_or_partial_count})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;px-6 py-3 bg-brand-50 font-semibold text-ink-900&quot;,children:&quot;Paiements en attente&quot;}),m.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:x.pending_payments.length===0?m.jsx(&quot;p&quot;,{className:&quot;px-6 py-4 text-ink-500 text-sm&quot;,children:&quot;Aucun&quot;}):x.pending_payments.map(ue=&gt;m.jsxs(&quot;div&quot;,{className:&quot;px-6 py-3 flex items-center justify-between gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[ue.registration?.first_name,&quot; &quot;,ue.registration?.last_name]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[ue.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,ue.currency]})]}),!d&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex gap-1.5&quot;,children:[m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;Va(&quot;confirm&quot;,{type:&quot;payment&quot;,id:ue.id,label:`${ue.registration?.first_name} ${ue.registration?.last_name}`,event_id:ue.registration?.event?.id??null}),disabled:!!L,title:&quot;Confirmer&quot;,className:&quot;p-1.5&quot;,children:m.jsx(b3,{size:16})}),m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Va(&quot;reject&quot;,{type:&quot;payment&quot;,id:ue.id,label:`${ue.registration?.first_name} ${ue.registration?.last_name}`}),disabled:!!L,title:&quot;Rejeter&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:m.jsx(Rr,{size:16})})]})]},ue.id))})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;px-4 py-2 bg-brand-50 font-semibold text-ink-900 text-sm&quot;,children:&quot;Dons en attente&quot;}),m.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:x.pending_donations.length===0?m.jsx(&quot;p&quot;,{className:&quot;px-4 py-2 text-ink-500 text-sm&quot;,children:&quot;Aucun&quot;}):x.pending_donations.map(ue=&gt;m.jsxs(&quot;div&quot;,{className:&quot;px-4 py-1.5 flex items-center justify-between gap-3 text-sm&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[m.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900 truncate&quot;,children:ue.donor_name||&quot;Anonyme&quot;}),m.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[ue.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,ue.currency]})]}),!d&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex gap-1.5&quot;,children:[m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;Va(&quot;confirm&quot;,{type:&quot;donation&quot;,id:ue.id,label:ue.donor_name||&quot;Don&quot;}),disabled:!!L,title:&quot;Confirmer&quot;,className:&quot;p-1.5&quot;,children:m.jsx(b3,{size:16})}),m.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Va(&quot;reject&quot;,{type:&quot;donation&quot;,id:ue.id,label:ue.donor_name||&quot;Don&quot;}),disabled:!!L,title:&quot;Rejeter&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:m.jsx(Rr,{size:16})})]})]},ue.id))})]})]}),(x.confirmed_payments?.length??0)&gt;0&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden mb-8&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;px-4 py-2 bg-brand-50 font-semibold text-ink-900 text-sm&quot;,children:&quot;Paiements confirmés — Reçus&quot;}),Ye&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mx-4 mt-2 bg-red-50 border border-red-200 rounded-lg p-2&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:Ye})}),m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Participant&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Montant&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Date&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Reçu&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-right text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Actions&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:(x.confirmed_payments??[]).map(ue=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;align-baseline&quot;,children:[m.jsxs(&quot;td&quot;,{className:&quot;px-3 py-1 text-ink-900&quot;,children:[m.jsxs(&quot;span&quot;,{className:&quot;font-medium&quot;,children:[ue.registration?.first_name,&quot; &quot;,ue.registration?.last_name]}),ue.registration?.email&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500 truncate max-w-[180px]&quot;,title:ue.registration.email,children:ue.registration.email})]}),m.jsxs(&quot;td&quot;,{className:&quot;px-3 py-1 whitespace-nowrap&quot;,children:[ue.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,ue.currency]}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-ink-600 whitespace-nowrap&quot;,children:ue.paid_at?new Date(ue.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1&quot;,children:ue.receipt?m.jsx(&quot;span&quot;,{className:&quot;text-xs font-mono text-ink-700&quot;,children:ue.receipt.receipt_number}):m.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;Non émis&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-right&quot;,children:d?m.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;}):m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-1 flex-wrap&quot;,children:[ue.receipt?m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Lo(ue.receipt.id,ue.receipt.receipt_number),disabled:!!Ie,title:Yl(`receipt-${ue.receipt.id}`,&quot;download&quot;)?&quot;Téléchargement...&quot;:&quot;Télécharger le PDF&quot;,className:&quot;p-1.5 rounded text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:m.jsx(fo,{size:16})}):m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;sa(ue.id),disabled:!!Ie,title:Yl(`payment-${ue.id}`,&quot;issue&quot;)?&quot;Génération...&quot;:&quot;Générer le reçu PDF&quot;,className:&quot;p-1.5 rounded text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:m.jsx(tu,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Hm(ue.id),disabled:!!Ie,title:Yl(`payment-${ue.id}`,&quot;email&quot;)?&quot;Envoi...&quot;:&quot;Envoyer le reçu par email au participant&quot;,className:&quot;p-1.5 rounded text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:m.jsx(ms,{size:16})})]})})]},ue.id))})]})})]}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;px-4 py-2 bg-brand-50 font-semibold text-ink-900 text-sm flex items-center gap-2&quot;,children:[m.jsx(Vf,{size:16}),&quot;Débiteurs (solde &gt; 0)&quot;]}),m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Email&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-right text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Solde&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-left text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Statut&quot;}),m.jsx(&quot;th&quot;,{className:&quot;px-3 py-1 text-right text-xs font-medium text-ink-500 uppercase&quot;,children:&quot;Action&quot;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Be?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:5,className:&quot;px-3 py-4 text-ink-500 text-sm text-center&quot;,children:&quot;Chargement...&quot;})}):(ct??[]).length===0?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:5,className:&quot;px-3 py-2 text-ink-500 text-sm&quot;,children:&quot;Aucun débiteur&quot;})}):(ct??[]).map(ue=&gt;{const Ke=x?.registrations_for_payment?.find(Ot=&gt;Ot.id===ue.registration_id);return m.jsxs(&quot;tr&quot;,{className:&quot;align-baseline&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-ink-900&quot;,children:ue.name}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-ink-600 truncate max-w-[160px]&quot;,title:ue.email,children:ue.email}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-right font-medium whitespace-nowrap&quot;,children:ue.balance.toLocaleString(&quot;fr-FR&quot;)}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1&quot;,children:m.jsx(&quot;span&quot;,{className:&quot;px-1.5 py-0.5 rounded text-xs bg-amber-100 text-amber-800&quot;,children:ue.status===&quot;draft&quot;?&quot;Brouillon&quot;:ue.status===&quot;unpaid&quot;?&quot;Non payé&quot;:ue.status===&quot;partial&quot;?&quot;Partiel&quot;:ue.status})}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1 text-right&quot;,children:Ke&amp;&amp;!d&amp;&amp;m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;qa(Ke),disabled:!!U,title:&quot;Initier un paiement&quot;,className:&quot;p-1.5 rounded text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:m.jsx(jD,{size:16})})})]},ue.registration_id)})})]})}),et&amp;&amp;et.total&gt;0&amp;&amp;m.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:[m.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:et.last_page&gt;1&amp;&amp;et.from!=null&amp;&amp;et.to!=null?`Débiteurs ${et.from} à ${et.to} sur ${et.total}`:`Total : ${et.total} débiteur${et.total!==1?&quot;s&quot;:&quot;&quot;}`}),et.last_page&gt;1&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,m.jsx(&quot;select&quot;,{value:Mt,onChange:ue=&gt;{Wt(Number(ue.target.value)),Je(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(ue=&gt;m.jsx(&quot;option&quot;,{value:ue,children:ue},ue))})]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:rt&lt;=1,onClick:()=&gt;Je(ue=&gt;Math.max(1,ue-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;}),m.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,rt,&quot; / &quot;,et.last_page]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:rt&gt;=et.last_page,onClick:()=&gt;Je(ue=&gt;ue+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;})]})]})]})]})]})})]}),dt&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!tt&amp;&amp;Lt(null),&quot;aria-hidden&quot;:!0}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Modifier la ligne de budget&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!tt&amp;&amp;Lt(null),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Catégorie : &quot;,dt.category_name]}),He&amp;&amp;m.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:He}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:It,onChange:ue=&gt;nr(ue.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:!!tt})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF) *&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:cr||&quot;&quot;,onChange:ue=&gt;qr(parseInt(ue.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:!!tt})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant réalisé (XOF)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:fe||&quot;&quot;,onChange:ue=&gt;we(parseInt(ue.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:!!tt}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Pe,onChange:ue=&gt;Re(parseInt(ue.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:!!tt}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;Lt(null),disabled:!!tt,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Jl,disabled:!!tt,children:tt?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})}),H&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!L&amp;&amp;K(null),&quot;aria-hidden&quot;:!0}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[H.action===&quot;confirm&quot;?H.target.type===&quot;payment&quot;?&quot;Confirmer le paiement&quot;:&quot;Confirmer le don&quot;:H.target.type===&quot;payment&quot;?&quot;Rejeter le paiement&quot;:&quot;Rejeter le don&quot;,&quot; — &quot;,m.jsx(&quot;span&quot;,{className:&quot;font-normal text-ink-600&quot;,children:H.target.label})]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!L&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:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[S&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:S})}),H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:[&quot;Compte de trésorerie impacté &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:T,onChange:ue=&gt;R(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.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:!!L,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),B.filter(ue=&gt;ue.is_active).map(ue=&gt;m.jsxs(&quot;option&quot;,{value:ue.id,children:[ue.name,&quot; &quot;,ue.identifier?`(${ue.identifier})`:&quot;&quot;,&quot; — &quot;,ue.context_display]},ue.id))]}),B.length===0&amp;&amp;!L&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;textarea&quot;,{value:z,onChange:ue=&gt;O(ue.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:!!L})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:I,onChange:ue=&gt;C(ue.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:!!L})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:ue=&gt;k(ue.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:!!L}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;K(null),disabled:!!L,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Wm,disabled:!!L,children:L?&quot;En cours...&quot;:H.action===&quot;confirm&quot;?&quot;Valider&quot;:&quot;Rejeter&quot;})]})]})]})})]})}),U&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.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:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!ge&amp;&amp;ee(null),&quot;aria-hidden&quot;:!0}),m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Initier un paiement — &quot;,U.first_name,&quot; &quot;,U.last_name]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!ge&amp;&amp;ee(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:m.jsx(Rr,{size:24})})]}),m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Solde restant : &quot;,m.jsx(&quot;strong&quot;,{children:U.balance.toLocaleString(&quot;fr-FR&quot;)})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[me&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:me})}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Compte de trésorerie &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:_e===&quot;&quot;?&quot;&quot;:_e,onChange:ue=&gt;Se(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.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:!!ge,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),Oe.filter(ue=&gt;ue.is_active).map(ue=&gt;m.jsxs(&quot;option&quot;,{value:ue.id,children:[ue.name,&quot; &quot;,ue.identifier?`(${ue.identifier})`:&quot;&quot;,&quot; — &quot;,ue.context_display]},ue.id))]}),Oe.length===0&amp;&amp;!ge&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,max:U.balance,value:F,onChange:ue=&gt;P(ue.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:!!ge})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Méthode &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsxs(&quot;select&quot;,{value:X,onChange:ue=&gt;re(ue.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:!!ge,children:[m.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),m.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte Visa&quot;}),m.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),m.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau national&quot;}),m.jsx(&quot;option&quot;,{value:&quot;installment&quot;,children:&quot;Échelonné&quot;})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,m.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),m.jsx(&quot;input&quot;,{type:&quot;datetime-local&quot;,value:Q,onChange:ue=&gt;te(ue.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:!!ge})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:ae,onChange:ue=&gt;ce(ue.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:!!ge}),m.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Référence et/ou preuve requises&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou scan)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:ue=&gt;ie(ue.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:!!ge}),m.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),m.jsx(&quot;textarea&quot;,{value:he,onChange:ue=&gt;se(ue.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:!!ge})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;ee(null),disabled:!!ge,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Wa,disabled:!!ge||_e===&quot;&quot;,children:ge?&quot;Enregistrement...&quot;:&quot;Enregistrer et confirmer le paiement&quot;})]})]})]})})]})})]})}function kS({events:e,accountTypes:r,currencies:t,account:n=null,eventFilter:o=&quot;&quot;,onClose:s,onSuccess:a}){const u=!!n,[l,i]=q.useState(!1),[c,h]=q.useState(null),[f,d]=q.useState(&quot;&quot;),[v,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState(&quot;XOF&quot;),[E,M]=q.useState(&quot;&quot;),[D,W]=q.useState(!0);q.useEffect(()=&gt;{n?(d(n.name),y(n.type),b(n.identifier),_(n.currency),M(n.event_id??&quot;&quot;),W(n.is_active)):(d(&quot;&quot;),y(r[0]??&quot;&quot;),b(&quot;&quot;),_(&quot;XOF&quot;),M(&quot;&quot;),W(!0))},[n,r]);const L=async V=&gt;{V.preventDefault(),V.stopPropagation(),h(null),i(!0);try{if(u)await Aa.update(n.id,{name:f,type:v,identifier:p,currency:x,event_id:E===&quot;&quot;?null:E,is_active:D}),a();else{const H=await Aa.create({name:f,type:v,identifier:p,currency:x,event_id:E===&quot;&quot;?null:E,is_active:D}),K=H?.data??H;if(!K||typeof K!=&quot;object&quot;||!(&quot;id&quot;in K)){h(&quot;Le serveur n&#039;a pas retourné le compte créé. Vérifiez l’onglet Réseau (POST sur treasury-accounts).&quot;),i(!1);return}try{const z=await Aa.list({event_id:o});if(!(Array.isArray(z)?z:z?.data??[]).some(C=&gt;C.id===K.id)){h(&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;),i(!1);return}}catch{h(&quot;Impossible de vérifier la liste après création.&quot;),i(!1);return}a(K)}}catch(H){const K=H,z=K?.data?.message??K?.message??(typeof H==&quot;object&quot;&amp;&amp;H!==null&amp;&amp;&quot;message&quot;in H?String(H.message):null)??(u?&quot;Erreur lors de la mise à jour.&quot;:&quot;Erreur lors de la création.&quot;),O=K?.data?.errors&amp;&amp;typeof K.data.errors==&quot;object&quot;?Object.values(K.data.errors).flat().filter(Boolean).join(&quot;, &quot;):&quot;&quot;,I=O?`${z} — ${O}`:z;h(I)}finally{i(!1)}};return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.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:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[m.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;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:s,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),m.jsxs(&quot;form&quot;,{onSubmit:V=&gt;(V.preventDefault(),V.stopPropagation(),L(V),!1),className:&quot;p-4 space-y-4&quot;,children:[c&amp;&amp;m.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:c}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:f,onChange:V=&gt;d(V.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),m.jsx(&quot;select&quot;,{value:v,onChange:V=&gt;y(V.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:r.map(V=&gt;m.jsx(&quot;option&quot;,{value:V,children:V},V))})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Identifiant&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p,onChange:V=&gt;b(V.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;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),m.jsx(&quot;select&quot;,{value:x,onChange:V=&gt;_(V.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:t.map(V=&gt;m.jsx(&quot;option&quot;,{value:V,children:V},V))})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Contexte&quot;}),m.jsxs(&quot;select&quot;,{value:E,onChange:V=&gt;M(V.target.value===&quot;&quot;?&quot;&quot;:Number(V.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Global&quot;}),e.map(V=&gt;m.jsx(&quot;option&quot;,{value:V.id,children:V.name},V.id))]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;is_active&quot;,checked:D,onChange:V=&gt;W(V.target.checked),className:&quot;rounded border-gray-300&quot;}),m.jsx(&quot;label&quot;,{htmlFor:&quot;is_active&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Compte actif&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:s,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:l,className:&quot;flex-1&quot;,onClick:V=&gt;{V.preventDefault(),V.stopPropagation(),L(V)},children:l?&quot;Enregistrement...&quot;:u?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function ine({account:e,onClose:r,onDeleted:t}){const[n,o]=q.useState(!1),[s,a]=q.useState(null),u=async()=&gt;{a(null),o(!0);try{await Aa.delete(e.id),t()}catch(l){a(l.data?.message??&quot;Erreur lors de la suppression.&quot;)}finally{o(!1)}};return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer le compte&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),m.jsxs(&quot;div&quot;,{className:&quot;p-4&quot;,children:[s&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:s}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer le compte &quot;,m.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.identifier,&quot;) ? Cette action est irréversible.&quot;]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),m.jsx(Fe,{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 sne=[{value:&quot;revenue&quot;,label:&quot;Recettes&quot;},{value:&quot;expense&quot;,label:&quot;Dépenses&quot;}],ane=[{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 NS({category:e=null,onClose:r,onSuccess:t}){const n=!!e,[o,s]=q.useState(!1),[a,u]=q.useState(null),[l,i]=q.useState(&quot;&quot;),[c,h]=q.useState(&quot;&quot;),[f,d]=q.useState(&quot;expense&quot;),[v,y]=q.useState(&quot;&quot;),[p,b]=q.useState(0);q.useEffect(()=&gt;{e?(i(e.name),h(e.code??&quot;&quot;),d(e.type??&quot;expense&quot;),y(e.event_type??&quot;&quot;),b(e.sort_order??0)):(i(&quot;&quot;),h(&quot;&quot;),d(&quot;expense&quot;),y(&quot;&quot;),b(0))},[e]);const x=async _=&gt;{_.preventDefault(),_.stopPropagation(),u(null),s(!0);try{const E={name:l.trim(),code:c.trim()||null,type:f,event_type:v===&quot;&quot;?null:v,sort_order:p};if(n)await iu.update(e.id,E),t();else{const M=await iu.create(E);t(M)}}catch(E){const M=E instanceof vr?E.data?.message:&quot;Erreur lors de l&#039;enregistrement.&quot;;u(M??&quot;Erreur&quot;)}finally{s(!1)}};return m.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:m.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:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[m.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;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:m.jsx(Rr,{size:20})})]}),m.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[a&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:a}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;bc-name&quot;,type:&quot;text&quot;,value:l,onChange:_=&gt;i(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,required:!0})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;bc-code&quot;,type:&quot;text&quot;,value:c,onChange:_=&gt;h(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,maxLength:50})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;select&quot;,{id:&quot;bc-category-type&quot;,value:f,onChange:_=&gt;d(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:sne.map(_=&gt;m.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;select&quot;,{id:&quot;bc-event-type&quot;,value:v,onChange:_=&gt;y(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:ane.map(_=&gt;m.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value||&quot;all&quot;))})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;bc-sort&quot;,type:&quot;number&quot;,min:0,value:p,onChange:_=&gt;b(parseInt(_.target.value,10)||0),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:n?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function one({category:e,onClose:r,onDeleted:t}){const[n,o]=q.useState(!1),[s,a]=q.useState(null),u=async()=&gt;{a(null),o(!0);try{await iu.delete(e.id),t()}catch(l){const i=l instanceof vr?l.data?.message:&quot;Erreur lors de la suppression.&quot;;a(i??&quot;Erreur&quot;)}finally{o(!1)}};return m.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:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-4&quot;,onClick:l=&gt;l.stopPropagation(),children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer la catégorie&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:m.jsx(Rr,{size:20})})]}),m.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;]}),s&amp;&amp;m.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:s}),m.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{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 lne({onClose:e,onSuccess:r}){const[t,n]=q.useState(!1),[o,s]=q.useState(null),[a,u]=q.useState({}),[l,i]=q.useState(&quot;&quot;),[c,h]=q.useState(&quot;&quot;),[f,d]=q.useState(ny[0]),[v,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),x=async _=&gt;{_.preventDefault(),s(null),u({}),n(!0);try{await Pa.create({name:l,email:c,role:f,...v?{password:v,password_confirmation:p}:{}}),r()}catch(E){const M=E;if(s(M.data?.message??&quot;Erreur lors de la création.&quot;),M.data?.errors){const D={};for(const[W,L]of Object.entries(M.data.errors))D[W]=Array.isArray(L)?L[0]:String(L);u(D)}}finally{n(!1)}};return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.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:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Créer un utilisateur&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:e,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),m.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[o&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:o}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,onChange:_=&gt;i(_.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.name})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:c,onChange:_=&gt;h(_.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;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.email})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),m.jsx(&quot;select&quot;,{value:f,onChange:_=&gt;d(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:ny.map(_=&gt;m.jsx(&quot;option&quot;,{value:_,children:qf(_)},_))})]}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:v,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;}),v&amp;&amp;m.jsxs(m.Fragment,{children:[m.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;}),m.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:p,onChange:_=&gt;b(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),a.password&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.password})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:e,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:t,children:t?&quot;Création...&quot;:&quot;Créer&quot;})]})]})]})})}function cne({user:e,onClose:r,onSuccess:t,onSendActivation:n,sendingActivation:o}){const[s,a]=q.useState(!1),[u,l]=q.useState(null),[i,c]=q.useState({}),[h,f]=q.useState(e.name),[d,v]=q.useState(e.email),y=e.role??e.roles?.[0]??&quot;&quot;,[p,b]=q.useState(N3(y)||jf[0]);q.useEffect(()=&gt;{f(e.name),v(e.email);const M=e.role??e.roles?.[0]??&quot;&quot;;b(N3(M)||jf[0])},[e]);const x=async M=&gt;{M.preventDefault(),l(null),c({}),a(!0);try{await Pa.update(e.id,{name:h,email:d,role:p}),t()}catch(D){const W=D;if(l(W.data?.message??&quot;Erreur lors de la mise à jour.&quot;),W.data?.errors){const L={};for(const[V,H]of Object.entries(W.data.errors))L[V]=Array.isArray(H)?H[0]:String(H);c(L)}}finally{a(!1)}},_=!e.is_only_super_admin,E=[...jf];return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.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:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Modifier l&#039;utilisateur&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),m.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[u&amp;&amp;m.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}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:M=&gt;f(M.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),i.name&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:i.name})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d,onChange:M=&gt;v(M.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),i.email&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:i.email})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),m.jsx(&quot;select&quot;,{value:p,onChange:M=&gt;b(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:E.map(M=&gt;m.jsx(&quot;option&quot;,{value:M,children:qf(M)},M))}),e.is_only_super_admin&amp;&amp;m.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;}),i.role&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:i.role})]}),m.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4&quot;,children:[m.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;}),m.jsxs(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:n,disabled:o,className:&quot;flex items-center gap-2&quot;,children:[m.jsx(ms,{size:16}),o?&quot;Envoi...&quot;:&quot;Envoyer lien d&#039;activation&quot;]})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:s,children:s?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})}function une({user:e,onClose:r,onSuccess:t,isCurrentUser:n}){const[o,s]=q.useState(!1),[a,u]=q.useState(!1),[l,i]=q.useState(null),c=e.has_financial_activity===!0,h=async()=&gt;{if(!n){i(null),s(!0);try{await Pa.delete(e.id),t()}catch(d){const v=d;i(v.data?.message??v.data?.errors?.user?.[0]??&quot;Erreur lors de la suppression.&quot;)}finally{s(!1)}}},f=async()=&gt;{if(!n){i(null),u(!0);try{await Pa.setDeactivated(e.id,!0),t()}catch(d){const v=d;i(v.data?.message??v.data?.errors?.user?.[0]??&quot;Erreur lors de la désactivation.&quot;)}finally{u(!1)}}};return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:c?&quot;Désactiver le compte&quot;:&quot;Supprimer l&#039;utilisateur&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),n?m.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Vous ne pouvez pas supprimer votre propre compte.&quot;}):c?m.jsxs(m.Fragment,{children:[m.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;,m.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;]}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-500 text-sm mb-4&quot;,children:[&quot;Utilisateur : &quot;,m.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;)&quot;]}),l&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:f,disabled:a,className:&quot;bg-amber-600 hover:bg-amber-700&quot;,children:a?&quot;Désactivation...&quot;:&quot;Désactiver le compte&quot;})]})]}):m.jsxs(m.Fragment,{children:[m.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;,m.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;) ? Cette action est irréversible.&quot;]}),l&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:h,disabled:o,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}function dne({user:e,onClose:r,onSuccess:t}){const[n,o]=q.useState(&quot;&quot;),[s,a]=q.useState(&quot;&quot;),[u,l]=q.useState(!1),[i,c]=q.useState(null),[h,f]=q.useState({}),d=async v=&gt;{if(v.preventDefault(),c(null),f({}),n.length&lt;8){f({password:&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;});return}if(n!==s){f({password_confirmation:&quot;Les deux mots de passe ne correspondent pas.&quot;});return}l(!0);try{await Pa.resetPassword(e.id,{password:n,password_confirmation:s}),t()}catch(y){const p=y;if(c(p.data?.message??&quot;Erreur lors de la réinitialisation.&quot;),p.data?.errors){const b={};for(const[x,_]of Object.entries(p.data.errors))b[x]=Array.isArray(_)?_[0]:String(_);f(b)}}finally{l(!1)}};return m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Réinitialiser le mot de passe&quot;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:m.jsx(Rr,{size:20})})]}),m.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;,m.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;). L&#039;utilisateur devra le changer à sa première connexion.&quot;]}),m.jsxs(&quot;form&quot;,{onSubmit:d,children:[i&amp;&amp;m.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}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;reset-password&quot;,type:&quot;password&quot;,value:n,onChange:v=&gt;o(v.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;}),h.password&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:h.password})]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;reset-password-confirm&quot;,type:&quot;password&quot;,value:s,onChange:v=&gt;a(v.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;}),h.password_confirmation&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:h.password_confirmation})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;En cours...&quot;:&quot;Réinitialiser&quot;})]})]})]})})}function fne(){const{can:e,user:r}=Ss(),[t,n]=q.useState(1),[o]=q.useState(20),[s,a]=q.useState(&quot;&quot;),[u,l]=q.useState(&quot;&quot;),[i,c]=q.useState(!1),[h,f]=q.useState(null),[d,v]=q.useState(null),[y,p]=q.useState(null),[b,x]=q.useState(null),[_,E]=q.useState(null),[M,D]=q.useState(null),W=async I=&gt;{D(I.id);try{await Pa.setDeactivated(I.id,!1),K()}finally{D(null)}},{data:L,loading:V,error:H,refetch:K}=DL({page:t,per_page:o,role:s||void 0,q:u||void 0},!0),z=async I=&gt;{x(I.id),E(null);try{await Pa.sendActivation(I.id),K()}catch(C){const j=C;E(j.data?.errors?.user?.[0]??j.data?.message??&quot;Erreur lors de l&#039;envoi.&quot;)}finally{x(null)}},O=I=&gt;r&amp;&amp;I.id===(typeof r.id==&quot;number&quot;?r.id:Number(r.id));return m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex flex-wrap items-center justify-between gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[m.jsx(Uf,{size:22,className:&quot;text-brand-700&quot;}),&quot;Gestion des utilisateurs&quot;]}),m.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;m.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;c(!0),className:&quot;flex items-center gap-2&quot;,children:[m.jsx(ty,{size:18}),&quot;Créer un utilisateur&quot;]})]}),_&amp;&amp;m.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.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap gap-4&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;search&quot;,placeholder:&quot;Rechercher (nom, email)...&quot;,value:u,onChange:I=&gt;l(I.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm w-64&quot;}),m.jsxs(&quot;select&quot;,{value:s,onChange:I=&gt;a(I.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les rôles&quot;}),NL.map(I=&gt;m.jsx(&quot;option&quot;,{value:I,children:qf(I)},I))]})]}),H&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg&quot;,children:m.jsx(&quot;p&quot;,{className:&quot;text-red-700&quot;,children:H.data?.message??&quot;Erreur lors du chargement.&quot;})}),V&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),!V&amp;&amp;L&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-soft&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.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;}),m.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;}),m.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;}),m.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;}),m.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;}),m.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;}),m.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;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:L.data.length===0?m.jsx(&quot;tr&quot;,{children:m.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;})}):L.data.map(I=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-900 whitespace-nowrap truncate&quot;,title:I.name,children:I.name}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,title:I.email,children:I.email}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,children:qf(I.role??I.roles?.[0]??&quot;&quot;)||&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:I.email_verified_at?m.jsx(&quot;span&quot;,{className:&quot;text-green-600&quot;,children:&quot;Oui&quot;}):m.jsx(&quot;span&quot;,{className:&quot;text-amber-600&quot;,children:&quot;Non&quot;})}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-500 whitespace-nowrap&quot;,children:I.created_at?new Date(I.created_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:I.is_active===!1?m.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}),m.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 whitespace-nowrap&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-1&quot;,children:[e(&quot;users.update&quot;)&amp;&amp;I.is_active!==!1&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;f(I),title:&quot;Modifier&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors&quot;,children:m.jsx($f,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;p(I),title:&quot;Réinitialiser le mot de passe&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors&quot;,children:m.jsx(zD,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;z(I),disabled:b===I.id,title:b===I.id?&quot;Envoi en cours...&quot;:&quot;Envoyer lien d&#039;activation&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:m.jsx(ms,{size:16})})]}),e(&quot;users.update&quot;)&amp;&amp;!O(I)&amp;&amp;I.is_active===!1&amp;&amp;m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(I),disabled:M===I.id,title:&quot;Réactiver le compte&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-green-600 hover:bg-green-50 transition-colors disabled:opacity-50&quot;,children:m.jsx(fL,{size:16})}),e(&quot;users.delete&quot;)&amp;&amp;!O(I)&amp;&amp;m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;v(I),title:I.has_financial_activity?&quot;Désactiver le compte (suppression impossible)&quot;:&quot;Supprimer&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-red-600 hover:bg-red-50 transition-colors&quot;,children:m.jsx(ru,{size:16})})]})})]},I.id))})]})})}),L.meta.last_page&gt;1&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex items-center justify-between&quot;,children:[m.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Page &quot;,L.meta.current_page,&quot; sur &quot;,L.meta.last_page,&quot; (&quot;,L.meta.total,&quot; utilisateurs)&quot;]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[m.jsx(Fe,{variant:&quot;outline&quot;,disabled:L.meta.current_page&lt;=1,onClick:()=&gt;n(I=&gt;I-1),className:&quot;text-sm py-2&quot;,children:&quot;Précédent&quot;}),m.jsx(Fe,{variant:&quot;outline&quot;,disabled:L.meta.current_page&gt;=L.meta.last_page,onClick:()=&gt;n(I=&gt;I+1),className:&quot;text-sm py-2&quot;,children:&quot;Suivant&quot;})]})]})]}),i&amp;&amp;e(&quot;users.create&quot;)&amp;&amp;m.jsx(lne,{onClose:()=&gt;c(!1),onSuccess:()=&gt;{c(!1),K()}}),h&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;m.jsx(cne,{user:h,onClose:()=&gt;f(null),onSuccess:()=&gt;{f(null),K()},onSendActivation:()=&gt;z(h),sendingActivation:b===h.id}),d&amp;&amp;e(&quot;users.delete&quot;)&amp;&amp;m.jsx(une,{user:d,onClose:()=&gt;v(null),onSuccess:()=&gt;{v(null),K()},isCurrentUser:!!(d&amp;&amp;O(d))}),y&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;m.jsx(dne,{user:y,onClose:()=&gt;p(null),onSuccess:()=&gt;{p(null),K()}})]})}function hne(){const[e,r]=q.useState(1),t=25,[n,o]=q.useState(&quot;&quot;),[s,a]=q.useState(&quot;&quot;),[u,l]=q.useState(&quot;&quot;),[i,c]=q.useState(&quot;&quot;),[h,f]=q.useState(!1),[d,v]=q.useState(null),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState(!1),[_,E]=q.useState(null),[M,D]=q.useState(null),[W,L]=q.useState(!1),[V,H]=q.useState(&quot;&quot;),K=&quot;PURGER&quot;,z=q.useMemo(()=&gt;({page:e,per_page:t,...n&amp;&amp;{date_from:n},...s&amp;&amp;{date_to:s},...u.trim()&amp;&amp;{action:u.trim()},...i.trim()&amp;&amp;{subject_type:i.trim()}}),[e,n,s,u,i]),{data:O,loading:I,error:C,refetch:j}=LL(z,!0),k=O?.data??[],S=O?.meta,N=S?.last_page??1,T=U=&gt;{try{return new Date(U).toLocaleString(&quot;fr-FR&quot;,{dateStyle:&quot;short&quot;,timeStyle:&quot;medium&quot;})}catch{return U}},R=U=&gt;({&quot;user.created&quot;:&quot;Utilisateur créé&quot;,&quot;user.updated&quot;:&quot;Utilisateur mis à jour&quot;,&quot;user.deleted&quot;:&quot;Utilisateur supprimé&quot;,&quot;user.send_activation&quot;:&quot;Lien d&#039;activation envoyé&quot;,&quot;user.reset_password&quot;:&quot;Mot de passe réinitialisé&quot;,&quot;registration.status_updated&quot;:&quot;Statut inscription modifié&quot;,&quot;registration.updated&quot;:&quot;Inscription mise à jour&quot;,&quot;registration.deleted&quot;:&quot;Inscription supprimée&quot;,&quot;recommendation.status_updated&quot;:&quot;Statut recommandation modifié&quot;,&quot;recommendation.send_email&quot;:&quot;Email recommandation envoyé&quot;,&quot;recommendation.deleted&quot;:&quot;Recommandation supprimée&quot;,&quot;budget_category.created&quot;:&quot;Catégorie budget créée&quot;,&quot;budget_category.updated&quot;:&quot;Catégorie budget mise à jour&quot;,&quot;budget_category.deleted&quot;:&quot;Catégorie budget supprimée&quot;,&quot;treasury_account.created&quot;:&quot;Compte trésorerie créé&quot;,&quot;treasury_account.updated&quot;:&quot;Compte trésorerie mis à jour&quot;,&quot;treasury_account.deleted&quot;:&quot;Compte trésorerie supprimé&quot;,&quot;payment.created&quot;:&quot;Paiement initié&quot;,&quot;payment.confirmed&quot;:&quot;Paiement confirmé&quot;,&quot;payment.rejected&quot;:&quot;Paiement rejeté&quot;,&quot;payment.receipt_issued&quot;:&quot;Reçu paiement émis&quot;,&quot;payment.receipt_email_sent&quot;:&quot;Reçu paiement envoyé par email&quot;,&quot;donation.confirmed&quot;:&quot;Don confirmé&quot;,&quot;donation.rejected&quot;:&quot;Don rejeté&quot;,&quot;donation.receipt_issued&quot;:&quot;Reçu don émis&quot;,&quot;contribution.confirmed&quot;:&quot;Contribution confirmée&quot;,&quot;batch.marked_paid&quot;:&quot;Batch marqué payé&quot;,&quot;event_budget_line.created&quot;:&quot;Ligne budget créée&quot;,&quot;event_budget_line.updated&quot;:&quot;Ligne budget mise à jour&quot;,&quot;event_budget_line.deleted&quot;:&quot;Ligne budget supprimée&quot;,&quot;event_budget_line.moved&quot;:&quot;Ligne budget déplacée&quot;,&quot;expense.created&quot;:&quot;Dépense créée&quot;,&quot;expense.updated&quot;:&quot;Dépense mise à jour&quot;,&quot;expense.deleted&quot;:&quot;Dépense supprimée&quot;})[U]??U,B=async()=&gt;{v(null),f(!0);try{await sy.exportCsv({date_from:n||void 0,date_to:s||void 0,action:u.trim()||void 0,subject_type:i.trim()||void 0})}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;v(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de l&#039;export CSV.&quot;)}finally{f(!1)}},Y=()=&gt;{y&amp;&amp;(H(&quot;&quot;),D(null),E(null),L(!0))},Z=()=&gt;{L(!1),H(&quot;&quot;)},ne=async()=&gt;{if(!(V!==K||!y)){D(null),E(null),x(!0);try{const U=await sy.purge(y);E(U.message),Z(),j()}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;D(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de la purge.&quot;)}finally{x(!1)}}};return m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[m.jsx(tu,{size:22,className:&quot;text-brand-700&quot;}),&quot;Journal d&#039;audit&quot;]}),m.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;})]}),d&amp;&amp;m.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:d}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Du :&quot;,m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:n,onChange:U=&gt;{o(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Au :&quot;,m.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:s,onChange:U=&gt;{a(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Action :&quot;,m.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. user.created&quot;,value:u,onChange:U=&gt;{l(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[160px]&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Type ressource :&quot;,m.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. App\\Models\\User&quot;,value:i,onChange:U=&gt;{c(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;})]})]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:B,disabled:h,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:[m.jsx(OD,{size:18,&quot;aria-hidden&quot;:!0}),h?&quot;Export en cours…&quot;:&quot;Exporter en CSV&quot;]}),m.jsxs(&quot;div&quot;,{className:&quot;inline-flex items-center gap-2&quot;,children:[m.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;}),m.jsx(&quot;input&quot;,{id:&quot;audit-purge-before&quot;,type:&quot;date&quot;,value:y,onChange:U=&gt;p(U.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Y,disabled:b||!y,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:[m.jsx(ru,{size:18,&quot;aria-hidden&quot;:!0}),&quot;Purger&quot;]})]})]}),_&amp;&amp;m.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;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:M}),C&amp;&amp;m.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:C}),W&amp;&amp;m.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:b?void 0:Z,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-6&quot;,onClick:U=&gt;U.stopPropagation(),children:[m.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;}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Vous allez supprimer &quot;,m.jsx(&quot;strong&quot;,{children:&quot;définitivement&quot;}),&quot; toutes les entrées du journal d&#039;audit dont la date est &quot;,m.jsxs(&quot;strong&quot;,{children:[&quot;avant le &quot;,y]}),&quot;. Cette action est irréversible.&quot;]}),m.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-2&quot;,children:[&quot;Pour confirmer, saisissez &quot;,m.jsx(&quot;strong&quot;,{children:K}),&quot; ci-dessous :&quot;]}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:V,onChange:U=&gt;H(U.target.value),placeholder:K,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm mb-4 font-mono uppercase&quot;,autoComplete:&quot;off&quot;,&quot;aria-label&quot;:&quot;Saisir PURGER pour confirmer&quot;}),m.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:Z,disabled:b,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;}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ne,disabled:b||V!==K,className:&quot;px-4 py-2 rounded-lg border border-red-200 bg-red-600 text-white text-sm font-medium hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:b?&quot;Purge en cours…&quot;:&quot;Confirmer la purge&quot;})]})]})}),m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:[I?m.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement du journal...&quot;}):m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left text-sm&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.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;}),m.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;}),m.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;}),m.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;}),m.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;}),m.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;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:k.length===0?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune entrée dans le journal pour les critères choisis.&quot;})}):k.map(U=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700 whitespace-nowrap&quot;,children:T(U.created_at)}),m.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[m.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-900&quot;,children:U.user_name??&quot;—&quot;}),U.user_email&amp;&amp;m.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.user_email})]}),m.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[m.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-800&quot;,children:R(U.action)}),m.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.action})]}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:U.subject_type?`${U.subject_type.replace(/^App\\Models\\/,&quot;&quot;)}${U.subject_id!=null?` #${U.subject_id}`:&quot;&quot;}`:&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 max-w-xs truncate&quot;,title:U.description??void 0,children:U.description??&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-500 text-xs&quot;,children:U.ip??&quot;—&quot;})]},U.id))})]})}),S&amp;&amp;S.total&gt;0&amp;&amp;m.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:[m.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;]}),m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.max(1,U-1)),disabled:e&lt;=1,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Précédent&quot;}),m.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-600&quot;,children:[&quot;Page &quot;,S.current_page,&quot; / &quot;,N]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.min(N,U+1)),disabled:e&gt;=N,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})}const CS=[&quot;Mobile Money&quot;,&quot;Banque&quot;,&quot;Caisse&quot;,&quot;Autre&quot;],ES=[&quot;XOF&quot;,&quot;EUR&quot;],AS=[{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 mne(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=Ss(),s=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[i,c]=Uh(),h=o.includes(&quot;SUPER_ADMIN&quot;),f=i.get(&quot;tab&quot;),d=f===&quot;users&quot;&amp;&amp;h?&quot;users&quot;:f===&quot;audit&quot;&amp;&amp;h?&quot;audit&quot;:f===&quot;budget-categories&quot;?&quot;budget-categories&quot;:f===&quot;treasury&quot;?&quot;treasury&quot;:h?&quot;users&quot;:&quot;treasury&quot;,{events:v}=Kh();q.useEffect(()=&gt;{(f===&quot;users&quot;||f===&quot;audit&quot;)&amp;&amp;!h?c({},{replace:!0}):!f&amp;&amp;h&amp;&amp;c({tab:&quot;users&quot;},{replace:!0})},[f,h,c]);const y=ie=&gt;{ie===&quot;users&quot;?c({tab:&quot;users&quot;},{replace:!0}):ie===&quot;audit&quot;?c({tab:&quot;audit&quot;},{replace:!0}):ie===&quot;budget-categories&quot;?c({tab:&quot;budget-categories&quot;},{replace:!0}):ie===&quot;treasury&quot;?c({tab:&quot;treasury&quot;},{replace:!0}):c({},{replace:!0})},[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState([]),[E,M]=q.useState(!0),[D,W]=q.useState(null),[L,V]=q.useState(null),[H,K]=q.useState(!1),[z,O]=q.useState(null),[I,C]=q.useState(&quot;&quot;),[j,k]=q.useState([]),[S,N]=q.useState(!1),[T,R]=q.useState(null),[B,Y]=q.useState(null),[Z,ne]=q.useState(!1),[U,ee]=q.useState(null),F=n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;),P=q.useCallback(()=&gt;{F&amp;&amp;(M(!0),W(null),Aa.list({event_id:p}).then(ie=&gt;_(Array.isArray(ie)?ie:Array.isArray(ie?.data)?ie.data:[])).catch(ie=&gt;W(ie?.data?.message??&quot;Erreur lors du chargement des comptes.&quot;)).finally(()=&gt;M(!1)))},[F,p]),X=q.useCallback(()=&gt;{if(!F)return;N(!0),R(null);const ie=I?{event_type:I}:{};iu.list(ie).then(me=&gt;k(Array.isArray(me)?me:[])).catch(me=&gt;R(me?.data?.message??&quot;Erreur lors du chargement des catégories.&quot;)).finally(()=&gt;N(!1))},[F,I]);if(q.useEffect(()=&gt;{F&amp;&amp;P()},[F,p,P]),q.useEffect(()=&gt;{!F||d!==&quot;budget-categories&quot;||X()},[F,d,I,X]),t)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!e)return m.jsx(Jn,{to:&quot;/login&quot;,replace:!0});if(r)return m.jsx(Jn,{to:&quot;/account&quot;,replace:!0});if(!F)return m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Seul le Super Admin peut accéder au paramétrage.&quot;})]})});const re=ie=&gt;{K(!1),ie?_(me=&gt;[...me??[],ie]):P()},Q=()=&gt;{V(null),P()},te=()=&gt;{O(null),P()},ae=ie=&gt;{ne(!1),ie?k(me=&gt;[...me,ie]):X()},ce=()=&gt;{Y(null),X()},he=()=&gt;{ee(null),X()},se=ie=&gt;AS.find(me=&gt;me.value===ie)?.label??ie??&quot;—&quot;,de=ie=&gt;ie===&quot;revenue&quot;?&quot;Recettes&quot;:ie===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;;return m.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[m.jsx(Xh,{}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[m.jsx(Gh,{currentSection:&quot;settings&quot;,showSommet:s||l?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:s||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:F}),m.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[m.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2 flex items-center gap-2&quot;,children:[m.jsx(ry,{size:32,className:&quot;text-brand-700&quot;}),&quot;Paramétrage&quot;]}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Comptes de trésorerie et autres réglages.&quot;})]}),m.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[h&amp;&amp;m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;users&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;users&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(Uf,{size:18}),&quot;Utilisateurs&quot;]}),h&amp;&amp;m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;audit&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;audit&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(tu,{size:18}),&quot;Journal d&#039;audit&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;treasury&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;treasury&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(N8,{size:18}),&quot;Comptes de trésorerie&quot;]}),m.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;budget-categories&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;budget-categories&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[m.jsx(sL,{size:18}),&quot;Catégories budget&quot;]})]}),d===&quot;treasury&quot;&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;label&quot;,{htmlFor:&quot;event-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement :&quot;}),m.jsxs(&quot;select&quot;,{id:&quot;event-filter&quot;,value:p,onChange:ie=&gt;b(ie.target.value===&quot;&quot;?&quot;&quot;:Number(ie.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous (global + par événement)&quot;}),(v??[]).map(ie=&gt;m.jsx(&quot;option&quot;,{value:ie.id,children:ie.name},ie.id))]})]}),n(&quot;settings.update&quot;)&amp;&amp;m.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;K(!0),className:&quot;flex items-center gap-2&quot;,children:[m.jsx(ty,{size:18}),&quot;Nouveau compte&quot;]})]}),D&amp;&amp;m.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:D}),m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:E?m.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des comptes...&quot;}):m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.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;}),m.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;}),m.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;}),m.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;}),m.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;}),m.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;m.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;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(x??[]).length===0?m.jsx(&quot;tr&quot;,{children:m.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?7:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun compte de trésorerie. Cliquez sur « Nouveau compte » pour en ajouter.&quot;})}):(x??[]).map(ie=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ie.name}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.type}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.identifier}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.currency}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.context_display}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:m.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${ie.is_active?&quot;bg-green-100 text-green-800&quot;:&quot;bg-gray-100 text-gray-600&quot;}`,children:ie.is_active?&quot;Oui&quot;:&quot;Non&quot;})}),n(&quot;settings.update&quot;)&amp;&amp;m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;V(ie),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier&quot;,children:m.jsx($f,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;O(ie),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:m.jsx(ru,{size:16})})]})})]},ie.id))})]})})})]}),d===&quot;budget-categories&quot;&amp;&amp;m.jsxs(m.Fragment,{children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.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;}),m.jsx(&quot;select&quot;,{id:&quot;category-type-filter&quot;,value:I,onChange:ie=&gt;C(ie.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;,children:AS.map(ie=&gt;m.jsx(&quot;option&quot;,{value:ie.value,children:ie.label},ie.value||&quot;all&quot;))})]}),n(&quot;settings.update&quot;)&amp;&amp;m.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;ne(!0),className:&quot;flex items-center gap-2&quot;,children:[m.jsx(ty,{size:18}),&quot;Nouvelle catégorie&quot;]})]}),T&amp;&amp;m.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}),m.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:S?m.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des catégories...&quot;}):m.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:m.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[m.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:m.jsxs(&quot;tr&quot;,{children:[m.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;}),m.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;}),m.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;}),m.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;}),m.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;m.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;})]})}),m.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(j??[]).length===0?m.jsx(&quot;tr&quot;,{children:m.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(ie=&gt;m.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ie.name}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.code??&quot;—&quot;}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:de(ie.type)}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:se(ie.event_type)}),m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.sort_order}),n(&quot;settings.update&quot;)&amp;&amp;m.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Y(ie),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier&quot;,children:m.jsx($f,{size:16})}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;ee(ie),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:m.jsx(ru,{size:16})})]})})]},ie.id))})]})})})]}),d===&quot;users&quot;&amp;&amp;m.jsx(fne,{}),d===&quot;audit&quot;&amp;&amp;m.jsx(hne,{})]})})]}),H&amp;&amp;m.jsx(kS,{events:v??[],accountTypes:CS,currencies:ES,eventFilter:p,onClose:()=&gt;K(!1),onSuccess:re}),L&amp;&amp;m.jsx(kS,{events:v??[],accountTypes:CS,currencies:ES,account:L,onClose:()=&gt;V(null),onSuccess:Q}),z&amp;&amp;m.jsx(ine,{account:z,onClose:()=&gt;O(null),onDeleted:te}),Z&amp;&amp;m.jsx(NS,{onClose:()=&gt;ne(!1),onSuccess:ae}),B&amp;&amp;m.jsx(NS,{category:B,onClose:()=&gt;Y(null),onSuccess:ce}),U&amp;&amp;m.jsx(one,{category:U,onClose:()=&gt;ee(null),onDeleted:he})]})}function pne(){const{token:e}=HM(),r=js(),[t,n]=q.useState(&quot;loading&quot;),[o,s]=q.useState(&quot;&quot;),[a,u]=q.useState(&quot;&quot;);return q.useEffect(()=&gt;{if(!e){n(&quot;error&quot;),s(&quot;Token de vérification manquant.&quot;);return}(async()=&gt;{try{const c=(await Kb.verify(e)).event||&quot;l&#039;événement&quot;;n(&quot;success&quot;),s(`Votre inscription pour &quot;${c}&quot; a été vérifiée avec succès !`),setTimeout(()=&gt;{r(&quot;/&quot;)},5e3)}catch(i){if(n(&quot;error&quot;),i instanceof vr)if(i.status===422){const c=i.data.errors||{};c.token?s(c.token[0]||&quot;Le token de vérification est invalide ou a expiré.&quot;):c.status?s(c.status[0]||&quot;Cette inscription a déjà été vérifiée.&quot;):s(i.data.message||&quot;Erreur lors de la vérification.&quot;),u(Object.values(c).flat().join(&quot; &quot;))}else s(i.data.message||&quot;Une erreur est survenue lors de la vérification.&quot;);else s(&quot;Une erreur inattendue est survenue.&quot;)}})()},[e,r]),m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-gray-50 flex items-center justify-center px-4&quot;,children:m.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;m.jsxs(m.Fragment,{children:[m.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:m.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;})}),m.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;}),m.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;m.jsxs(m.Fragment,{children:[m.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100&quot;,children:m.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:m.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})})}),m.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;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:o}),m.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;}),m.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;m.jsxs(m.Fragment,{children:[m.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100&quot;,children:m.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:m.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M6 18L18 6M6 6l12 12&quot;})})})}),m.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;}),m.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:o}),a&amp;&amp;m.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600 mb-6&quot;,children:a}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[m.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;}),m.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 gne=[{value:&quot;mobile_money&quot;,label:&quot;Mobile Money&quot;},{value:&quot;card_visa&quot;,label:&quot;Visa&quot;}];function vne({isOpen:e,onClose:r,onSuccess:t}){const n=js(),[o,s]=q.useState([]),[a,u]=q.useState(!1),[l,i]=q.useState(&quot;&quot;),[c,h]=q.useState(&quot;&quot;),[f,d]=q.useState(&quot;&quot;),[v,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState(!1),[E,M]=q.useState(&quot;&quot;),[D,W]=q.useState(&quot;mobile_money&quot;),[L,V]=q.useState(!1),[H,K]=q.useState(null);q.useEffect(()=&gt;{e&amp;&amp;(u(!0),K(null),Hb.list().then(O=&gt;{const I=(O??[]).filter(j=&gt;j.is_active);s(I);const C=I.find(j=&gt;j.event_type===&quot;summit&quot;);i(C?.id??I[0]?.id??&quot;&quot;)}).catch(()=&gt;s([])).finally(()=&gt;u(!1)))},[e]);const z=async O=&gt;{O.preventDefault(),K(null);const I=parseInt(E.replace(/\s/g,&quot;&quot;),10);if(!l||isNaN(I)||I&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(!x&amp;&amp;(!v.trim()||!c.trim()||!f.trim())){K(&quot;Veuillez remplir le nom, le prénom et l&#039;email (ou cocher « Rester anonyme »).&quot;);return}if(!x&amp;&amp;v.trim()&amp;&amp;!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}V(!0);try{const C=x?null:`${c.trim()} ${f.trim()}`.trim(),j=x?null:v.trim()||null,k=p.trim()?`Téléphone : ${p.trim()}`:void 0;await TL.storePublic({event_id:Number(l),donor_name:C||null,donor_email:j||null,amount:I,currency:&quot;XOF&quot;,method:D,paid_at:new Date().toISOString(),notes:k||null}),h(&quot;&quot;),d(&quot;&quot;),y(&quot;&quot;),b(&quot;&quot;),M(&quot;&quot;),_(!1),r(),t?.(),n(&quot;/soutenir/merci&quot;,{state:{emailSent:!!j}})}catch(C){C instanceof vr?C.status===401?K(&quot;Veuillez vous connecter pour enregistrer un don.&quot;):K(C.data?.message??C.message??&quot;Une erreur est survenue.&quot;):K(&quot;Une erreur est survenue.&quot;)}finally{V(!1)}};return e?m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,onClick:r}),m.jsxs(&quot;div&quot;,{className:&quot;relative bg-white rounded-xl shadow-xl max-w-lg w-full p-6&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[m.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900 flex items-center gap-2&quot;,children:[m.jsx(Wb,{className:&quot;w-5 h-5 text-brand-700&quot;}),&quot;Déclarer un don&quot;]}),m.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;text-ink-400 hover:text-ink-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:m.jsx(Rr,{size:22})})]}),m.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:[m.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Paiement en ligne à venir&quot;}),m.jsx(&quot;p&quot;,{children:&quot;Le paiement automatique par Mobile Money ou Carte Visa n&#039;est pas encore disponible. Vous pouvez déclarer votre intention de don ci-dessous : vous serez contacté dès que les moyens de paiement seront disponibles.&quot;})]}),m.jsxs(&quot;form&quot;,{onSubmit:z,className:&quot;space-y-4&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement soutenu&quot;}),m.jsxs(&quot;select&quot;,{value:l,onChange:O=&gt;i(O.target.value===&quot;&quot;?&quot;&quot;:Number(O.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,required:!0,disabled:a,children:[a&amp;&amp;m.jsx(&quot;option&quot;,{children:&quot;Chargement...&quot;}),!a&amp;&amp;o.length===0&amp;&amp;m.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Aucun événement&quot;}),!a&amp;&amp;o.map(O=&gt;m.jsx(&quot;option&quot;,{value:O.id,children:O.name},O.id))]})]}),m.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Prénom&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c,onChange:O=&gt;h(O.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:x})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:f,onChange:O=&gt;d(O.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:x})]})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),m.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:v,onChange:O=&gt;y(O.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:x})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Téléphone&quot;}),m.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p,onChange:O=&gt;b(O.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;+33 6 12 34 56 78&quot;})]}),m.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[m.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:x,onChange:O=&gt;_(O.target.checked),className:&quot;rounded border-gray-300 text-brand-600 focus:ring-brand-600&quot;}),m.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Rester anonyme (mon nom ne sera pas cité)&quot;})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF)&quot;}),m.jsx(&quot;input&quot;,{type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:E,onChange:O=&gt;M(O.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})]}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Moyen de paiement souhaité (quand disponible)&quot;}),m.jsx(&quot;select&quot;,{value:D,onChange:O=&gt;W(O.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:gne.map(O=&gt;m.jsx(&quot;option&quot;,{value:O.value,children:O.label},O.value))})]}),H&amp;&amp;m.jsxs(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:[m.jsx(&quot;p&quot;,{children:H}),H.includes(&quot;connecter&quot;)&amp;&amp;m.jsx(xr,{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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 pt-2&quot;,children:[m.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),m.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:L,className:&quot;flex-1&quot;,children:L?&quot;Envoi...&quot;:&quot;Déclarer mon intention de don&quot;})]})]})]})]})}):null}function yne(){const[e,r]=q.useState(!1);return m.jsxs(ho,{children:[m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:m.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[m.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[m.jsx(xr,{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;}),m.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Soutenir&quot;}),m.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;})]}),m.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[m.jsx(ln,{children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[m.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:m.jsx(Wb,{className:&quot;w-6 h-6 text-brand-700&quot;})}),m.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[m.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Faire un don&quot;}),m.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;}),m.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;r(!0),className:&quot;mt-2&quot;,children:&quot;Déclarer un don&quot;})]})]})}),m.jsx(ln,{children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[m.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:m.jsx(DD,{className:&quot;w-6 h-6 text-brand-700&quot;})}),m.jsxs(&quot;div&quot;,{children:[m.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;}),m.jsxs(&quot;ul&quot;,{className:&quot;text-ink-600 space-y-2 list-disc list-inside&quot;,children:[m.jsx(&quot;li&quot;,{children:&quot;Partager l&#039;événement autour de vous&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Prier pour les participants et l&#039;équipe&quot;}),m.jsx(&quot;li&quot;,{children:&quot;Proposer votre aide bénévole (contact ci-dessous)&quot;})]})]})]})}),m.jsx(ln,{children:m.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[m.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:m.jsx(ms,{className:&quot;w-6 h-6 text-brand-700&quot;})}),m.jsxs(&quot;div&quot;,{children:[m.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Nous contacter&quot;}),m.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;}),m.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 text-ink-600&quot;,children:[m.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:[m.jsx(ms,{className:&quot;w-4 h-4&quot;}),&quot;communication@sommetfrancophone.org&quot;]}),m.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:[m.jsx(zc,{className:&quot;w-4 h-4&quot;}),&quot;+225 05 5427 5725 (WhatsApp)&quot;]})]})]})]})})]})]})}),m.jsx(vne,{isOpen:e,onClose:()=&gt;r(!1),onSuccess:()=&gt;r(!1)})]})}function bne(){const r=_s().state?.emailSent===!0;return m.jsx(ho,{children:m.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:m.jsx(&quot;div&quot;,{className:&quot;max-w-xl w-full&quot;,children:m.jsxs(ln,{className:&quot;text-center py-10 px-6&quot;,children:[m.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;w-16 h-16 rounded-full bg-green-100 flex items-center justify-center&quot;,children:m.jsx(Wb,{className:&quot;w-8 h-8 text-green-600&quot;})})}),m.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-3&quot;,children:&quot;Déclaration prise en compte&quot;}),m.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;m.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;m.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;}),m.jsxs(xr,{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:[m.jsx(ey,{size:18}),&quot;Retour à l&#039;accueil&quot;]})]})})})})}function xne(){const{pathname:e}=_s();return q.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[e]),null}function Lc({children:e}){const r=_s(),{isAuthenticated:t,isParticipant:n,loading:o,user:s}=Ss();return o?m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?s?.must_change_password?m.jsx(Jn,{to:&quot;/account&quot;,state:{from:&quot;admin&quot;},replace:!0}):n?m.jsx(Jn,{to:&quot;/account&quot;,replace:!0}):m.jsx(m.Fragment,{children:e}):m.jsx(Jn,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function wne({children:e}){const r=_s(),{isAuthenticated:t,loading:n}=Ss();return n?m.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:m.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?m.jsx(m.Fragment,{children:e}):m.jsx(Jn,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function _ne(){return m.jsxs(gO,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[m.jsx(xne,{}),m.jsxs(lO,{children:[m.jsx(Yn,{path:&quot;/&quot;,element:m.jsx(wL,{})}),m.jsx(Yn,{path:&quot;/inscription&quot;,element:m.jsx(VL,{})}),m.jsx(Yn,{path:&quot;/login&quot;,element:m.jsx(qL,{})}),m.jsx(Yn,{path:&quot;/activate&quot;,element:m.jsx(WL,{})}),m.jsx(Yn,{path:&quot;/account&quot;,element:m.jsx(wne,{children:m.jsx(ZL,{})})}),m.jsx(Yn,{path:&quot;/verify/:token&quot;,element:m.jsx(pne,{})}),m.jsx(Yn,{path:&quot;/soutenir&quot;,element:m.jsx(yne,{})}),m.jsx(Yn,{path:&quot;/soutenir/merci&quot;,element:m.jsx(bne,{})}),m.jsx(Yn,{path:&quot;/admin/registrations&quot;,element:m.jsx(Lc,{children:m.jsx(tne,{})})}),m.jsx(Yn,{path:&quot;/admin/users&quot;,element:m.jsx(Lc,{children:m.jsx(Jn,{to:&quot;/admin/settings?tab=users&quot;,replace:!0})})}),m.jsx(Yn,{path:&quot;/admin/account&quot;,element:m.jsx(Lc,{children:m.jsx(rne,{})})}),m.jsx(Yn,{path:&quot;/admin/finance&quot;,element:m.jsx(Lc,{children:m.jsx(nne,{})})}),m.jsx(Yn,{path:&quot;/admin/settings&quot;,element:m.jsx(Lc,{children:m.jsx(mne,{})})})]})]})}document.documentElement.setAttribute(&quot;data-theme&quot;,&quot;haggai&quot;);pM.createRoot(document.getElementById(&quot;root&quot;)).render(m.jsx(MS.StrictMode,{children:m.jsx(_ne,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/frsummit/assets/index-CU3nIfL5.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:6a1d37de1a6f6*/
/*# 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>
